/* ========================================
   Services Page — Light & Modern Theme
   ======================================== */

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

:root {
    --bg-main: #ffffff;
    --bg-card: #ffffff;
    --bg-soft: #ffffff;
    --bg-dark: #0f0f10;
    --text-primary: #0f0f10;
    --text-secondary: #5b5b60;
    --text-dim: #8a8a8f;
    --border: #e5e5e2;
    --border-strong: #d0d0cc;
    --accent: #bc389f;
    --accent-soft: #fae6f4;
    --accent-dark: #9a2c82;
    --green: #16a34a;
    --green-soft: #dcfce7;
    --amber: #f59e0b;
    --red: #dc2626;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    --shadow-sm: 0 1px 2px rgba(15, 15, 16, 0.04);
    --shadow-md: 0 4px 16px rgba(15, 15, 16, 0.06);
    --shadow-lg: 0 24px 48px -12px rgba(15, 15, 16, 0.12);
    --shadow-accent: 0 18px 40px -12px rgba(188, 56, 159, 0.35);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: sticky;
    top: 16px;
    z-index: 1000;
    margin: 16px auto;
    max-width: calc(100% - 32px);
    padding: 12px 24px;
    background: rgba(250, 250, 249, 0.55);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-pill);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 8px 32px -16px rgba(15, 15, 16, 0.18);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.4em;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.navbar-buttons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9em;
    transition: all 0.2s ease;
    border: 1.5px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: var(--bg-soft);
}

.btn-primary {
    background: var(--text-primary);
    color: #fff;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px -8px rgba(15, 15, 16, 0.4);
}

.btn-outline {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border-strong);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 0.95em;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    position: relative;
    padding: 100px 24px 120px;
    overflow: hidden;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
    pointer-events: none;
    opacity: 0.5;
    z-index: 1;
}

/* Animated single blob in hero (left side, ~1/3 width, orange/pink/magenta) */
.hero-orbs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.hero-orb-main {
    position: absolute;
    top: 50%;
    left: -8%;
    width: 36vw;
    height: 36vw;
    min-width: 380px;
    min-height: 380px;
    max-width: 720px;
    max-height: 720px;
    transform: translateY(-50%);
    background:
        radial-gradient(circle at 35% 35%, rgba(251, 146, 60, 0.85) 0%, transparent 55%),
        radial-gradient(circle at 70% 50%, rgba(236, 72, 153, 0.8) 0%, transparent 55%),
        radial-gradient(circle at 55% 75%, rgba(217, 70, 239, 0.75) 0%, transparent 60%);
    filter: blur(80px);
    border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
    animation: blob-morph 18s ease-in-out infinite;
    will-change: transform, border-radius;
}

@keyframes blob-morph {
    0%, 100% {
        border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
        transform: translateY(-50%) translate(0, 0) rotate(0deg);
    }
    25% {
        border-radius: 45% 55% 50% 50% / 60% 45% 55% 40%;
        transform: translateY(-50%) translate(20px, -15px) rotate(8deg);
    }
    50% {
        border-radius: 55% 45% 60% 40% / 45% 55% 50% 55%;
        transform: translateY(-50%) translate(-10px, 25px) rotate(-6deg);
    }
    75% {
        border-radius: 50% 60% 45% 55% / 55% 50% 60% 45%;
        transform: translateY(-50%) translate(15px, 10px) rotate(4deg);
    }
}

.hero-content {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    z-index: 2;
}

h1 {
    font-size: clamp(2.4em, 6vw, 4em);
    line-height: 1.05;
    letter-spacing: -0.035em;
    font-weight: 800;
    margin-bottom: 28px;
}

.text-strike {
    position: relative;
    color: var(--text-dim);
    display: inline-block;
}

.text-strike::after {
    content: '';
    position: absolute;
    left: -4px;
    right: -4px;
    top: 52%;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    transform: rotate(-2deg);
}

.text-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #e44dbf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.15em;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 40px;
    line-height: 1.65;
}

.hero-sub strong {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding: 18px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.stat {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.stat strong {
    font-size: 1.4em;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.stat span {
    font-size: 0.78em;
    color: var(--text-dim);
}

.stat-divider {
    width: 1px;
    height: 28px;
    background: var(--border);
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
    padding: 0 24px;
}

.section-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    border-radius: var(--radius-pill);
    font-size: 0.78em;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 18px;
    text-transform: uppercase;
}

h2 {
    font-size: clamp(1.9em, 4vw, 2.8em);
    line-height: 1.1;
    letter-spacing: -0.025em;
    font-weight: 800;
    margin-bottom: 18px;
}

h2 em {
    font-style: italic;
    color: var(--accent);
    font-weight: 800;
}

.section-sub {
    color: var(--text-secondary);
    font-size: 1.05em;
}

.section-sub strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ========================================
   INTRO
   ======================================== */
.intro {
    padding: 60px 24px;
    max-width: 960px;
    margin: 0 auto;
}

.intro-content {
    text-align: center;
}

.intro-content h2 {
    margin-bottom: 24px;
}

.intro-content p {
    font-size: 1.15em;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto;
}

.intro-content p strong {
    color: var(--text-primary);
}

/* ========================================
   PILLARS — VERTICAL TIMELINE
   ======================================== */
.pillars {
    padding: 80px 24px 100px;
    max-width: 1200px;
    margin: 0 auto;
}

.tl-track {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
    perspective: 2200px;
    perspective-origin: center center;
}

.tl-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, var(--border-strong) 8%, var(--border-strong) 92%, transparent 100%);
}

.tl-item {
    position: relative;
    width: 50%;
    padding: 0 56px 60px 0;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.tl-item.tl-right {
    margin-left: auto;
    padding: 0 0 60px 56px;
    transform: translateY(40px) translateX(20px);
}

.tl-item.tl-left {
    transform: translateY(40px) translateX(-20px);
}

.tl-item.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.tl-dot {
    position: absolute;
    top: 36px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 2px solid var(--accent);
    box-shadow: 0 0 0 6px var(--accent-soft);
    z-index: 2;
}

.tl-item.tl-right .tl-dot { left: -8px; }
.tl-item.tl-left .tl-dot { right: -8px; }

.tl-card {
    position: relative;
    padding: 16px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.3s ease;
    overflow: hidden;
    isolation: isolate;
    min-height: 300px;
    box-shadow: 0 1px 2px rgba(15, 15, 16, 0.04);
    transform-origin: center center;
    will-change: transform;
}

/* 3D tilt — alternating inward / outward for variance */
.tl-item:nth-of-type(1) .tl-card { transform: rotateY(-5deg) rotateX(1.5deg); }
.tl-item:nth-of-type(2) .tl-card { transform: rotateY(7deg) rotateX(1deg); }
.tl-item:nth-of-type(3) .tl-card { transform: rotateY(6deg) rotateX(2deg); }
.tl-item:nth-of-type(4) .tl-card { transform: rotateY(-6deg) rotateX(1deg); }
.tl-item:nth-of-type(5) .tl-card { transform: rotateY(-7deg) rotateX(1.5deg); }
.tl-item:nth-of-type(6) .tl-card { transform: rotateY(5deg) rotateX(1deg); }

.tl-card:hover {
    transform: rotateY(0deg) rotateX(0deg) translateY(-6px) !important;
    border-color: var(--border-strong);
    box-shadow: 0 24px 48px -16px rgba(15, 15, 16, 0.18);
}

.tl-card > *:not(.pillar-bg):not(.pillar-visual) {
    position: relative;
    z-index: 1;
}

/* Frosted glass panel — same recipe as navbar */
.tl-glass {
    position: relative;
    padding: 28px 28px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        0 4px 16px -8px rgba(15, 15, 16, 0.06);
}

/* Dark variant for the heatmap card */
.tl-card-dark {
    background: linear-gradient(135deg, #1a1a1c 0%, #0f0f10 100%);
    border-color: rgba(255, 255, 255, 0.08);
}

.tl-glass-dark {
    background: rgba(20, 20, 22, 0.55);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 8px 32px -16px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.tl-glass-dark h3,
.tl-glass-dark .pillar-num {
    color: #fff;
}

.tl-glass-dark p,
.tl-glass-dark .pillar-points li {
    color: rgba(255, 255, 255, 0.78);
}

.tl-glass-dark p strong {
    color: #fff;
}

.tl-glass-dark .pillar-points li::before {
    background: var(--accent);
}

.tl-glass-dark .pillar-icon {
    background: rgba(188, 56, 159, 0.18);
    color: #ff6dd6;
}



.pillar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.pillar-card h3 {
    font-size: 1.3em;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 12px;
}

.pillar-card p {
    color: var(--text-secondary);
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 16px;
}

.pillar-card p strong {
    color: var(--text-primary);
    font-weight: 600;
}

.pillar-points {
    list-style: none;
    margin-top: 18px;
}

.pillar-points li {
    position: relative;
    padding-left: 22px;
    font-size: 0.9em;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.pillar-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 12px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* Heatmap visual (kept for the accent pillar) */
.pillar-visual {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 160px;
    height: 120px;
    pointer-events: none;
    opacity: 0.85;
    z-index: 0;
}

.heatmap-mock {
    position: relative;
    width: 100%;
    height: 100%;
}

.hm-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(18px);
    animation: pulse 4s ease-in-out infinite;
}

.hm-blob-1 {
    width: 90px;
    height: 90px;
    background: rgba(220, 38, 38, 0.6);
    top: 20px;
    left: 30px;
}

.hm-blob-2 {
    width: 70px;
    height: 70px;
    background: rgba(245, 158, 11, 0.55);
    top: 10px;
    right: 20px;
    animation-delay: 1s;
}

.hm-blob-3 {
    width: 60px;
    height: 60px;
    background: rgba(188, 56, 159, 0.7);
    bottom: 5px;
    left: 60px;
    animation-delay: 2s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* ========================================
   PILLAR BACKGROUNDS — Apple-style premium illustrations
   ======================================== */
.pillar-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* ---------- 01 SEO — 3D layered workflow sheets ---------- */
.pv-seo {
    perspective: 1200px;
}

.seo-stack {
    position: absolute;
    bottom: -40px;
    right: -60px;
    width: 340px;
    height: 240px;
    transform-style: preserve-3d;
    transform: rotateX(28deg) rotateY(-22deg) rotateZ(-6deg);
    animation: seo-tilt 14s ease-in-out infinite;
}

@keyframes seo-tilt {
    0%, 100% { transform: rotateX(28deg) rotateY(-22deg) rotateZ(-6deg); }
    50% { transform: rotateX(24deg) rotateY(-26deg) rotateZ(-4deg); }
}

.seo-sheet {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.55) 100%);
    border: 1px solid rgba(15, 15, 16, 0.08);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 30px 60px -20px rgba(188, 56, 159, 0.2),
        0 12px 24px -8px rgba(15, 15, 16, 0.08);
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.seo-sheet-1 {
    transform: translateZ(40px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(254, 240, 250, 0.85) 100%);
}
.seo-sheet-2 {
    transform: translateZ(20px) translate(20px, 18px);
    opacity: 0.75;
}
.seo-sheet-3 {
    transform: translateZ(0) translate(40px, 36px);
    opacity: 0.4;
}

.seo-bar {
    height: 5px;
    width: 38%;
    background: linear-gradient(90deg, var(--accent) 0%, #f472b6 100%);
    border-radius: 999px;
    margin-bottom: 4px;
    box-shadow: 0 4px 12px -4px rgba(188, 56, 159, 0.5);
}

.seo-line {
    height: 6px;
    background: rgba(15, 15, 16, 0.12);
    border-radius: 999px;
    width: 90%;
}
.seo-line-md { width: 65%; }
.seo-line-sm { width: 45%; }

.seo-glow {
    position: absolute;
    top: -40px;
    left: 40%;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(188, 56, 159, 0.35) 0%, transparent 65%);
    filter: blur(40px);
    transform: translateZ(-20px);
    pointer-events: none;
}

/* ---------- 03 RGPD — layered glass shields ---------- */
.pv-rgpd {
    perspective: 1100px;
}

.rgpd-stack {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 240px;
    height: 240px;
    transform-style: preserve-3d;
    transform: rotateX(14deg) rotateY(-18deg);
    animation: rgpd-tilt 16s ease-in-out infinite;
}

@keyframes rgpd-tilt {
    0%, 100% { transform: rotateX(14deg) rotateY(-18deg); }
    50% { transform: rotateX(18deg) rotateY(-14deg); }
}

.rgpd-disc {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(220, 252, 231, 0.5) 100%);
    border: 1px solid rgba(15, 15, 16, 0.06);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 20px 50px -16px rgba(22, 163, 74, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rgpd-disc-1 {
    transform: translateZ(50px) scale(0.6);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 253, 244, 0.8) 100%);
}
.rgpd-disc-1 svg { width: 60%; height: 60%; }
.rgpd-disc-2 {
    transform: translateZ(25px) scale(0.82);
    opacity: 0.7;
}
.rgpd-disc-3 {
    transform: translateZ(0) scale(1);
    opacity: 0.4;
}

.rgpd-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at center, rgba(74, 222, 128, 0.3) 0%, transparent 60%);
    filter: blur(35px);
    pointer-events: none;
    transform: translateZ(-30px);
}

/* ---------- 04 Optimisation — premium equalizer bars ---------- */
.pv-perf {
    perspective: 1000px;
}

.perf-grid {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 320px;
    height: 200px;
    transform-style: preserve-3d;
    transform: rotateX(22deg) rotateY(-18deg);
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 0 30px;
    animation: perf-tilt 14s ease-in-out infinite;
}

@keyframes perf-tilt {
    0%, 100% { transform: rotateX(22deg) rotateY(-18deg); }
    50% { transform: rotateX(18deg) rotateY(-22deg); }
}

.perf-bar {
    flex: 1;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, var(--accent) 0%, rgba(188, 56, 159, 0.3) 80%, transparent 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4) inset,
        0 0 24px rgba(188, 56, 159, 0.35);
    transform-origin: bottom;
    animation: perf-pulse 3s ease-in-out infinite;
}

.perf-bar-1 { height: 35%; animation-delay: 0s; }
.perf-bar-2 { height: 55%; animation-delay: 0.2s; }
.perf-bar-3 { height: 75%; animation-delay: 0.4s; }
.perf-bar-4 { height: 92%; animation-delay: 0.6s; background: linear-gradient(180deg, #f472b6 0%, var(--accent) 60%, transparent 100%); }
.perf-bar-5 { height: 70%; animation-delay: 0.8s; }
.perf-bar-6 { height: 50%; animation-delay: 1s; }
.perf-bar-7 { height: 30%; animation-delay: 1.2s; }

@keyframes perf-pulse {
    0%, 100% { transform: scaleY(0.85); opacity: 0.85; }
    50% { transform: scaleY(1); opacity: 1; }
}

.perf-line {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(15, 15, 16, 0.18) 50%, transparent 100%);
    transform: translateZ(-10px);
}

/* ---------- 05 Sécurité — concentric arcs (fingerprint feel) ---------- */
.pv-security {
    perspective: 1100px;
}

.sec-arcs {
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 280px;
    height: 280px;
    transform-style: preserve-3d;
    transform: rotateX(20deg) rotateY(-20deg);
    animation: sec-tilt 18s ease-in-out infinite;
}

@keyframes sec-tilt {
    0%, 100% { transform: rotateX(20deg) rotateY(-20deg); }
    50% { transform: rotateX(16deg) rotateY(-24deg); }
}

.sec-arc {
    position: absolute;
    inset: 0;
    margin: auto;
    border-radius: 50%;
    border: 1.5px solid transparent;
    border-top-color: rgba(188, 56, 159, 0.5);
    border-right-color: rgba(188, 56, 159, 0.25);
}

.sec-arc-1 {
    width: 60px; height: 60px;
    border-top-color: rgba(188, 56, 159, 0.7);
    animation: sec-rotate 8s linear infinite;
}
.sec-arc-2 {
    width: 110px; height: 110px;
    border-top-color: rgba(188, 56, 159, 0.5);
    animation: sec-rotate 14s linear infinite reverse;
}
.sec-arc-3 {
    width: 170px; height: 170px;
    border-top-color: rgba(188, 56, 159, 0.32);
    animation: sec-rotate 22s linear infinite;
}
.sec-arc-4 {
    width: 240px; height: 240px;
    border-top-color: rgba(188, 56, 159, 0.18);
    animation: sec-rotate 30s linear infinite reverse;
}

@keyframes sec-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.sec-core {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(188, 56, 159, 0.9) 0%, rgba(188, 56, 159, 0) 70%);
    filter: blur(2px);
    animation: sec-pulse 3s ease-in-out infinite;
}

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

/* ---------- 06 Style — Apple gradient mesh ---------- */
.pv-style {
    perspective: 1200px;
}

.style-mesh {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 280px;
    height: 220px;
    border-radius: 24px;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: rotateX(20deg) rotateY(-22deg) rotateZ(-4deg);
    box-shadow: 0 30px 60px -20px rgba(15, 15, 16, 0.2);
    animation: style-tilt 16s ease-in-out infinite;
}

@keyframes style-tilt {
    0%, 100% { transform: rotateX(20deg) rotateY(-22deg) rotateZ(-4deg); }
    50% { transform: rotateX(16deg) rotateY(-26deg) rotateZ(-2deg); }
}

.style-mesh::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, transparent 60%);
    z-index: 2;
    pointer-events: none;
}

.style-grad {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: style-float 9s ease-in-out infinite;
}

.style-grad-1 {
    width: 220px; height: 220px;
    background: rgba(236, 72, 153, 0.95);
    top: -40px; left: -40px;
}
.style-grad-2 {
    width: 200px; height: 200px;
    background: rgba(99, 102, 241, 0.85);
    bottom: -30px; right: -20px;
    animation-delay: 1.5s;
}
.style-grad-3 {
    width: 180px; height: 180px;
    background: rgba(251, 146, 60, 0.85);
    bottom: 30px; left: 60px;
    animation-delay: 3s;
}
.style-grad-4 {
    width: 140px; height: 140px;
    background: rgba(34, 211, 238, 0.7);
    top: 30px; right: 40px;
    animation-delay: 4.5s;
}

@keyframes style-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(15px, -10px) scale(1.1); }
}

/* ========================================
   COMPARISON TABLE
   ======================================== */
.comparison {
    padding: 80px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.compare-table {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.compare-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: center;
    padding: 18px 28px;
    border-bottom: 1px solid var(--border);
    font-size: 0.95em;
}

.compare-row:last-child {
    border-bottom: none;
}

.compare-head {
    background: #ffffff;
    border-bottom: 1px solid var(--border-strong);
    font-weight: 700;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-dim);
}

.compare-feature {
    font-weight: 600;
    color: var(--text-primary);
}

.compare-classic {
    color: var(--text-dim);
}

.compare-us {
    color: var(--text-primary);
    font-weight: 500;
}

.x-mark {
    display: inline-block;
    width: 18px;
    height: 18px;
    line-height: 16px;
    text-align: center;
    background: #fee2e2;
    color: var(--red);
    border-radius: 50%;
    font-weight: 700;
    margin-right: 8px;
    font-size: 0.85em;
}

.check-mark {
    display: inline-block;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    background: var(--green-soft);
    color: var(--green);
    border-radius: 50%;
    font-weight: 700;
    margin-right: 8px;
    font-size: 0.85em;
}

/* ========================================
   PROCESS
   ======================================== */
.process {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.process-step {
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.process-step:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-number {
    display: inline-block;
    font-size: 0.78em;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    margin-bottom: 18px;
    letter-spacing: 0.05em;
}

.process-step h3 {
    font-size: 1.15em;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.process-step p {
    color: var(--text-secondary);
    font-size: 0.92em;
    line-height: 1.6;
}

/* ========================================
   PRICING / CONFIGURATOR
   ======================================== */
.pricing-section {
    padding: 100px 24px;
    background: #ffffff;
    position: relative;
}

.config-wrap {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.config-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.config-block {
    position: relative;
    padding: 28px 28px 28px 72px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.config-step {
    position: absolute;
    top: 28px;
    left: 24px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85em;
}

.config-block h3 {
    font-size: 1.08em;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 18px;
}

/* Type cards (radio styled as cards) */
.type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.type-card {
    cursor: pointer;
    position: relative;
}

.type-card input {
    position: absolute;
    opacity: 0;
    inset: 0;
    cursor: pointer;
}

.type-card-inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 14px;
    background: var(--bg-soft);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.type-card-inner strong {
    font-size: 0.98em;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.type-card-inner small {
    font-size: 0.78em;
    color: var(--text-secondary);
    line-height: 1.4;
}

.type-from {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.78em;
    color: var(--text-dim);
    font-weight: 600;
}

.type-card input:checked + .type-card-inner {
    background: var(--bg-card);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

.type-card input:checked + .type-card-inner .type-from {
    color: var(--accent-dark);
}

.type-card:hover .type-card-inner {
    border-color: var(--border-strong);
}

/* Range sliders */
.slider-wrap {
    padding: 4px 0;
}

.range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: var(--border);
    border-radius: var(--radius-pill);
    outline: none;
    cursor: pointer;
    background-image: linear-gradient(90deg, var(--accent) 0%, var(--accent) var(--fill, 0%), transparent var(--fill, 0%));
    background-repeat: no-repeat;
}

.range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    background: #fff;
    border: 3px solid var(--accent);
    border-radius: 50%;
    cursor: grab;
    transition: transform 0.15s ease;
    box-shadow: var(--shadow-md);
}

.range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.range::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.05); }

.range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: #fff;
    border: 3px solid var(--accent);
    border-radius: 50%;
    cursor: grab;
    box-shadow: var(--shadow-md);
}

.range::-moz-range-track {
    height: 6px;
    background: var(--border);
    border-radius: var(--radius-pill);
}

.range::-moz-range-progress {
    height: 6px;
    background: var(--accent);
    border-radius: var(--radius-pill);
}

.slider-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    font-size: 0.85em;
    color: var(--text-dim);
}

.slider-value {
    background: var(--accent-soft);
    color: var(--accent-dark);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.92em;
}

.slider-hint {
    margin-top: 10px;
    font-size: 0.82em;
    color: var(--text-dim);
}

/* Add-on checkboxes */
.addon-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.addon {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--bg-soft);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.addon:hover {
    border-color: var(--border-strong);
}

.addon input {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid var(--border-strong);
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    transition: all 0.15s ease;
    background: #fff;
}

.addon input:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.addon input:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.addon:has(input:checked) {
    background: var(--accent-soft);
    border-color: var(--accent);
}

.addon-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.addon-text strong {
    font-size: 0.95em;
    font-weight: 600;
    color: var(--text-primary);
}

.addon-text small {
    font-size: 0.8em;
    color: var(--text-secondary);
    line-height: 1.4;
}

.addon-price {
    font-weight: 700;
    color: var(--accent);
    font-size: 0.92em;
    white-space: nowrap;
}

/* Summary card */
.config-summary {
    position: sticky;
    top: 100px;
}

.summary-sticky {
    background: linear-gradient(135deg, #161618 0%, #0f0f10 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.summary-sticky::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(188, 56, 159, 0.45) 0%, transparent 65%);
    pointer-events: none;
}

.summary-tag {
    position: relative;
    display: inline-block;
    padding: 4px 12px;
    background: rgba(188, 56, 159, 0.2);
    color: #ff8fdb;
    border-radius: var(--radius-pill);
    font-size: 0.74em;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.summary-total {
    position: relative;
    display: flex;
    align-items: baseline;
    margin-bottom: 6px;
    font-size: 3.4em;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    transition: transform 0.25s ease;
}

.summary-total.bump {
    transform: scale(1.04);
}

.summary-currency {
    font-size: 0.5em;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 4px;
}

.summary-note-top {
    position: relative;
    display: block;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82em;
    margin-bottom: 22px;
}

.summary-breakdown {
    position: relative;
    list-style: none;
    margin: 0 0 22px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 240px;
    overflow-y: auto;
}

.summary-breakdown li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 4px 0;
    font-size: 0.88em;
    color: rgba(255, 255, 255, 0.85);
}

.summary-breakdown li span:first-child {
    color: rgba(255, 255, 255, 0.7);
    flex: 1;
}

.summary-breakdown li span:last-child {
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

.summary-cta {
    position: relative;
    display: block;
    text-align: center;
    padding: 14px 20px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    margin-bottom: 14px;
    transition: all 0.2s ease;
}

.summary-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px -8px rgba(188, 56, 159, 0.6);
}

.summary-note {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.78em;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.summary-note svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* ========================================
   REVIEWS
   ======================================== */
.reviews-section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.review-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.review-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.review-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}

.review-stars {
    display: flex;
    gap: 2px;
    color: var(--amber);
    margin-bottom: 16px;
}

.review-text {
    color: var(--text-primary);
    font-size: 1em;
    line-height: 1.65;
    margin-bottom: 22px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, #e44dbf 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.05em;
}

.review-author strong {
    display: block;
    font-size: 0.92em;
    font-weight: 600;
}

.review-author span {
    font-size: 0.82em;
    color: var(--text-dim);
}

/* ========================================
   FAQ
   ======================================== */
.faq {
    padding: 100px 24px;
    max-width: 820px;
    margin: 0 auto;
}

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

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    overflow: hidden;
}

.faq-item:hover {
    border-color: var(--border-strong);
}

.faq-item[open] {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    cursor: pointer;
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1em;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.4em;
    color: var(--accent);
    font-weight: 400;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 24px 22px;
    color: var(--text-secondary);
    line-height: 1.65;
    font-size: 0.95em;
}

.faq-item p em {
    color: var(--accent);
    font-style: italic;
    font-weight: 500;
}

/* ========================================
   CTA
   ======================================== */
.cta-section {
    padding: 100px 24px;
    background: linear-gradient(135deg, #0f0f10 0%, #1a1a1c 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(188, 56, 159, 0.25) 0%, transparent 60%);
    transform: translateX(-50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.cta-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-content h2 {
    color: #fff;
    margin-bottom: 18px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.1em;
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: var(--accent);
    color: #fff;
}

.cta-section .btn-primary:hover {
    background: var(--accent-dark);
    box-shadow: var(--shadow-accent);
}

.cta-section .btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

.cta-section .btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    padding: 32px 24px;
    background: #ffffff;
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo {
    font-weight: 800;
    font-size: 1.1em;
    letter-spacing: -0.02em;
}

.footer-copy {
    font-size: 0.85em;
    color: var(--text-dim);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 980px) {
    .tl-line { left: 24px; }
    .tl-item,
    .tl-item.tl-right,
    .tl-item.tl-left {
        width: 100%;
        margin-left: 0;
        padding: 0 0 40px 56px;
        transform: translateY(40px);
    }
    .tl-item.visible { transform: translateY(0); }
    .tl-item:nth-of-type(n) .tl-card {
        transform: none;
    }
    .tl-item.tl-right .tl-dot,
    .tl-item.tl-left .tl-dot {
        left: 16px;
        right: auto;
    }
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .config-wrap {
        grid-template-columns: 1fr;
    }
    .config-summary {
        position: relative;
        top: auto;
        order: -1;
    }
    .type-grid {
        grid-template-columns: 1fr;
    }
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .compare-row {
        grid-template-columns: 1.2fr 1fr 1fr;
        padding: 14px 18px;
        font-size: 0.88em;
    }
}

@media (max-width: 720px) {
    .navbar-buttons {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        padding: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        box-shadow: var(--shadow-lg);
    }
    .navbar-buttons.open {
        display: flex;
    }
    .mobile-menu-btn {
        display: block;
    }
    .navbar {
        position: relative;
    }
    .hero {
        padding: 50px 20px 70px;
    }
    .hero-stats {
        gap: 16px;
        padding: 14px 18px;
    }
    .stat strong {
        font-size: 1.2em;
    }
    .pillars-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }
    .pillar-card {
        padding: 28px 24px;
    }
    .pillar-visual {
        opacity: 0.5;
    }
    .compare-row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 16px 20px;
    }
    .compare-head {
        display: none;
    }
    .compare-classic::before {
        content: 'Classique : ';
        color: var(--text-dim);
        font-weight: 600;
    }
    .compare-us::before {
        content: 'AOLytics : ';
        color: var(--accent);
        font-weight: 600;
    }
    .footer-content {
        justify-content: center;
        text-align: center;
    }
}
