/* CSS Reset & Variables */
:root {
    --bg-light: #ffffff;
    --bg-dark: #0a0a0a;
    --text-dark: #111111;
    --text-light: #f5f5f5;
    --accent: #2e2e2e;
    --primary-color: #000000;
    --primary-text: #ffffff;
    --nav-glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.38));
    --nav-glass-border: rgba(255, 255, 255, 0.62);
    --nav-glass-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
    
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.dark-bg {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.section-desc {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--primary-text);
}

.btn-primary:hover {
    background-color: #333;
}

.btn-secondary {
    background-color: #f0f0f0;
    color: var(--text-dark);
}

.btn-secondary:hover {
    background-color: #e0e0e0;
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--primary-text);
}

.dark-bg .btn-outline {
    border-color: var(--text-light);
    color: var(--text-light);
}

.dark-bg .btn-outline:hover {
    background-color: var(--text-light);
    color: var(--text-dark);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Navbar */
.mon-compte-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.88);
    color: #0f172a;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 10px rgba(0,0,0, 0.1);
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
}

.mon-compte-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0, 0.15);
    background: #fafafa;
}

.mon-compte-btn i,
.mon-compte-btn .nav-avatar {
    flex: 0 0 auto;
}

.mon-compte-btn .nav-avatar {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    object-fit: cover;
    object-position: center;
    display: block;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: transparent;
    backdrop-filter: none;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    transition:
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        backdrop-filter 0.35s ease,
        -webkit-backdrop-filter 0.35s ease,
        padding 0.35s ease;
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.32), transparent 38%),
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 30%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.navbar.is-scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #3b82f6;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar.is-scrolled::before {
    opacity: 1;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .nav-links {
    flex: 1;
    justify-content: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.2rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    font-weight: 500;
}

.nav-links a {
    position: relative;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.nav-links a:not(.btn):hover {
    opacity: 0.6;
}

.mobile-menu-btn {
    display: none;
}

/* Hero Section */
.hero {
    padding-top: 150px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background:
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0) 34%),
        linear-gradient(180deg, #f7fbff 0%, #ffffff 52%, #f8fafc 100%);
}

.hero-floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.floating-icon {
    position: absolute;
    width: 54px;
    height: 54px;
    background: #ffffff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #0f172a;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    opacity: 0.85;
    animation: floatIcon 6s ease-in-out infinite;
}

.floating-icon--figma {
    z-index: 1;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0) var(--base-rotation);
    }
    50% {
        transform: translateY(-16px) var(--base-rotation);
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    background-color: rgba(34, 197, 94, 0.15);
    color: #166534;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    position: relative;
}

.badge-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: inherit;
    animation: badge-pulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes badge-pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.highlight {
    background: linear-gradient(90deg, rgba(196, 215, 255, 0.96), rgba(239, 202, 219, 0.92));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-swap {
    position: relative;
    display: inline-block;
    height: 1.04em;
    min-width: 8ch; /* Ajusté pour Webnify */
    overflow: hidden;
    vertical-align: -0.08em;
    cursor: default;
}

.highlight-swap__text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    white-space: nowrap;
    background: linear-gradient(90deg, rgba(196, 215, 255, 0.96), rgba(239, 202, 219, 0.92));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
}

/* État Actif */
.highlight-swap[data-index="0"] span:nth-child(1),
.highlight-swap[data-index="1"] span:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
}

/* État Sortant (vers le haut) */
.highlight-swap[data-index="1"] span:nth-child(1),
.highlight-swap[data-index="0"] span:nth-child(2) {
    opacity: 0;
    transform: translateY(-100%);
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin: 0 auto 30px auto;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 16px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.pricing-showcase {
    position: relative;
    overflow: hidden;
    color: #f8f4ff;
    background:
        radial-gradient(circle at top left, rgba(92, 59, 255, 0.24), transparent 28%),
        radial-gradient(circle at bottom center, rgba(255, 66, 156, 0.18), transparent 26%),
        linear-gradient(180deg, #16111d 0%, #120f18 100%);
}

.pricing-showcase::before,
.pricing-showcase::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(90px);
    opacity: 0.45;
    pointer-events: none;
}

.pricing-showcase::before {
    top: 12%;
    left: -80px;
    width: 220px;
    height: 220px;
    background: rgba(91, 76, 255, 0.42);
}

.pricing-showcase::after {
    right: -40px;
    bottom: 8%;
    width: 260px;
    height: 260px;
    background: rgba(255, 63, 146, 0.28);
}

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

.pricing-showcase__intro {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.pricing-showcase__eyebrow {
    margin-bottom: 14px;
    color: rgba(143, 162, 255, 0.92);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.pricing-showcase__title {
    margin-bottom: 18px;
    color: #ffffff;
    font-size: clamp(2.5rem, 5vw, 4.4rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.pricing-showcase__desc {
    max-width: 640px;
    margin: 0 auto;
    color: rgba(231, 224, 241, 0.76);
    font-size: 1.06rem;
}

.pricing-showcase__grid {
    display: grid;
    gap: 24px;
}

.pricing-tier {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 30px 28px 26px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(36, 30, 48, 0.96), rgba(29, 24, 40, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 24px 50px rgba(4, 5, 16, 0.28);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pricing-tier:hover {
    transform: translateY(-6px);
    border-color: rgba(182, 164, 255, 0.18);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 28px 56px rgba(4, 5, 16, 0.34);
}

.pricing-tier--free {
    background:
        linear-gradient(180deg, rgba(44, 35, 60, 0.95), rgba(28, 22, 37, 0.98));
}

.pricing-tier--featured {
    border-color: rgba(137, 115, 255, 0.3);
    background:
        linear-gradient(180deg, rgba(24, 19, 33, 0.98), rgba(18, 15, 25, 1));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 0 1px rgba(111, 94, 255, 0.16),
        0 24px 60px rgba(6, 5, 18, 0.42),
        0 0 60px rgba(117, 78, 255, 0.16);
}

.pricing-tier__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.pricing-tier__icon {
    position: relative;
    width: 82px;
    height: 82px;
    border-radius: 24px;
    background: rgba(85, 74, 112, 0.34);
    overflow: hidden;
    flex: 0 0 auto;
}

.pricing-tier__icon span {
    position: absolute;
    border-radius: 999px;
}

.pricing-tier__icon--free span:first-child {
    top: 18px;
    left: 16px;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #5b5eff, #8f6fff);
}

.pricing-tier__icon--free span:last-child {
    right: 14px;
    bottom: 14px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ff5ea6, #ff8a6b);
}

.pricing-tier__icon--start span:first-child {
    top: 16px;
    left: 14px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #4d63ff, #6e52ff);
}

.pricing-tier__icon--start span:last-child {
    right: 14px;
    bottom: 16px;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #ff4a9b, #8568ff);
}

.pricing-tier__icon--basic span:first-child {
    inset: 14px;
    border: 11px solid #7f73ff;
    background: transparent;
}

.pricing-tier__icon--basic span:last-child {
    top: 14px;
    right: 12px;
    width: 32px;
    height: 54px;
    border-radius: 28px;
    background: linear-gradient(180deg, #ff6c95, #ff8d6f);
}

.pricing-tier__icon--business span:first-child {
    top: 18px;
    left: 16px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6d7eff, #b057ff);
}

.pricing-tier__icon--business span:last-child {
    right: 13px;
    bottom: 13px;
    width: 34px;
    height: 34px;
    border: 10px solid rgba(214, 192, 255, 0.8);
    background: transparent;
}

.pricing-tier__badge {
    display: inline-flex;
    align-items: center;
    min-height: 54px;
    padding: 0 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 700;
    background:
        linear-gradient(180deg, rgba(30, 24, 43, 0.94), rgba(24, 19, 34, 0.98));
    box-shadow:
        inset 0 0 0 1px rgba(111, 94, 255, 0.28),
        0 0 24px rgba(255, 82, 154, 0.18);
}

.pricing-tier__content {
    margin-top: 30px;
}

.pricing-tier__content h3 {
    margin-bottom: 16px;
    color: #ffffff;
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.pricing-tier__description {
    margin-bottom: 28px;
    color: rgba(233, 227, 243, 0.72);
    font-size: 1.02rem;
    line-height: 1.55;
}

.pricing-tier__features {
    display: grid;
    gap: 14px;
    list-style: none;
}

.pricing-tier__features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.45;
}

.pricing-tier__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    flex: 0 0 auto;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(255, 91, 156, 0.96), rgba(98, 96, 255, 0.96));
    box-shadow: 0 12px 18px rgba(91, 79, 255, 0.18);
}

.pricing-tier:not(.pricing-tier--featured) .pricing-tier__check {
    background: rgba(130, 123, 156, 0.78);
    box-shadow: none;
}

.pricing-tier__footer {
    display: grid;
    gap: 14px;
    margin-top: auto;
    padding-top: 34px;
}

.pricing-tier__price {
    display: grid;
    gap: 6px;
}

.pricing-tier__price strong {
    color: #ffffff;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.pricing-tier__price span,
.pricing-tier__meta,
.pricing-tier__note {
    color: rgba(229, 222, 240, 0.7);
}

.pricing-tier__meta {
    margin-top: -2px;
    font-size: 0.92rem;
}

.pricing-tier__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 60px;
    margin-top: 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.03);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pricing-tier__cta:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
}

.pricing-tier--featured .pricing-tier__cta {
    border-color: rgba(117, 94, 255, 0.42);
    background:
        linear-gradient(180deg, rgba(22, 18, 32, 0.96), rgba(26, 20, 39, 0.98));
    box-shadow:
        inset 0 0 0 1px rgba(255, 87, 158, 0.38),
        0 0 26px rgba(103, 88, 255, 0.16);
}

.pricing-tier__note {
    font-size: 0.92rem;
    text-align: center;
}

.pricing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: fit-content;
    margin: 0 auto 40px; /* Augmenté pour éviter le chevauchement */
    padding: 14px 18px;
    border-radius: 999px;
}

.pricing-tier__more {
    margin: 20px 0;
    padding-top: 15px;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    text-align: center;
}

.pricing-tier__more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3b82f6;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s ease;
}

.pricing-tier__more-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3b82f6;
    transition: width 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

.pricing-tier__more-link:hover::after {
    width: 100%;
}

.pricing-tier__more-link i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.pricing-tier__more-link:hover i {
    transform: translateX(4px);
}


.amount.price-animate {
    animation: priceFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes priceFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
}

.discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.pricing-toggle-note {
    max-width: 680px;
    margin: 0 auto 34px;
    text-align: center;
    font-size: 0.96rem;
    line-height: 1.5;
}

.pricing-showcase--light {
    color: #0f172a;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.14), transparent 30%),
        radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.12), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

.pricing-showcase--light::before {
    background: rgba(59, 130, 246, 0.18);
}

.pricing-showcase--light::after {
    background: rgba(14, 165, 233, 0.14);
}

.pricing-showcase--light .pricing-showcase__eyebrow {
    color: #2563eb;
}

.pricing-showcase--light .pricing-showcase__title {
    color: #0f172a;
}

.pricing-showcase--light .pricing-showcase__desc,
.pricing-showcase--light .pricing-toggle-note {
    color: rgba(15, 23, 42, 0.72);
}

.pricing-showcase--light .pricing-toggle-container {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.pricing-showcase--light .toggle-label {
    color: #475569;
}

.pricing-showcase--light .discount-badge {
    color: #1d4ed8;
    background: rgba(37, 99, 235, 0.1);
}

.switch {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 30px;
    flex: 0 0 auto;
}

.switch input {
    width: 0;
    height: 0;
    opacity: 0;
}

.slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    border-radius: 999px;
    background: #dbe7ff;
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.12);
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.slider::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.18);
    transition: transform 0.25s ease;
}

.switch input:checked + .slider {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    box-shadow: inset 0 0 0 1px rgba(29, 78, 216, 0.18), 0 10px 20px rgba(37, 99, 235, 0.18);
}

.switch input:checked + .slider::before {
    transform: translateX(24px);
}

.pricing-showcase--light .pricing-tier {
    border-color: rgba(148, 163, 184, 0.22);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 24px 50px rgba(15, 23, 42, 0.08);
}

.pricing-showcase--light .pricing-tier:hover {
    border-color: rgba(59, 130, 246, 0.26);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 28px 56px rgba(37, 99, 235, 0.12);
}

.pricing-showcase--light .pricing-tier--free {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.98));
}

.pricing-showcase--light .pricing-tier--featured {
    border-color: rgba(37, 99, 235, 0.26);
    background: linear-gradient(180deg, rgba(247, 251, 255, 0.98), rgba(237, 245, 255, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 0 0 1px rgba(37, 99, 235, 0.08),
        0 30px 60px rgba(37, 99, 235, 0.16);
}

.pricing-showcase--light .pricing-tier__icon {
    background: rgba(219, 234, 254, 0.72);
}

.pricing-showcase--light .pricing-tier__badge {
    color: #0f172a;
    border-color: rgba(37, 99, 235, 0.18);
    background: rgba(255, 255, 255, 0.92);
    box-shadow:
        inset 0 0 0 1px rgba(37, 99, 235, 0.08),
        0 12px 24px rgba(37, 99, 235, 0.12);
}

.pricing-showcase--light .pricing-tier__content h3,
.pricing-showcase--light .pricing-tier__features li,
.pricing-showcase--light .pricing-tier__price strong {
    color: #0f172a;
}

.pricing-showcase--light .pricing-tier__description {
    color: rgba(15, 23, 42, 0.72);
}

.pricing-showcase--light .pricing-tier__check {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    box-shadow: 0 12px 18px rgba(37, 99, 235, 0.18);
}

.pricing-showcase--light .pricing-tier:not(.pricing-tier--featured) .pricing-tier__check {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.12);
    box-shadow: none;
}

.pricing-showcase--light .pricing-tier__price span,
.pricing-showcase--light .pricing-tier__meta,
.pricing-showcase--light .pricing-tier__note {
    color: rgba(71, 85, 105, 0.9);
}

.pricing-showcase--light .pricing-tier__cta {
    border-color: rgba(148, 163, 184, 0.3);
    color: #0f172a;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.pricing-showcase--light .pricing-tier__cta:hover {
    background: #ffffff;
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.12);
}

.pricing-showcase--light .pricing-tier--featured .pricing-tier__cta {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(135deg, #1e40af, #2563eb);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.12),
        0 18px 34px rgba(37, 99, 235, 0.22);
}

.pricing-tier__annual-total {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2563eb;
    margin-top: -4px;
}

.pricing-showcase--light .pricing-tier--featured .pricing-tier__cta:hover {
    background: linear-gradient(135deg, #1d4ed8, #0284c7);
}

.quote-offer {
    position: relative;
    overflow: hidden;
    padding-top: 40px;
    padding-bottom: 90px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.14), transparent 28%),
        radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.12), transparent 30%),
        linear-gradient(180deg, #eef4ff 0%, #ffffff 100%);
}

.quote-offer__panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.72fr);
    gap: 26px;
    align-items: stretch;
    padding: 34px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 30px 60px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(12px);
}

.quote-offer__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), transparent 45%, rgba(14, 165, 233, 0.08));
}

.quote-offer__content,
.quote-offer__badge {
    position: relative;
    z-index: 1;
}

.quote-offer__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    margin-bottom: 14px;
    padding: 0 14px;
    border-radius: 999px;
    color: #1d4ed8;
    background: rgba(37, 99, 235, 0.1);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quote-offer__content h2 {
    max-width: 14ch;
    margin: 0 0 16px;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.quote-offer__content > p {
    max-width: 60ch;
    margin: 0 0 22px;
    color: rgba(15, 23, 42, 0.76);
    font-size: 1.02rem;
    line-height: 1.65;
}

.quote-offer__list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.quote-offer__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.45;
}

.quote-offer__list i {
    margin-top: 2px;
    color: #2563eb;
    flex: 0 0 auto;
}

.quote-offer__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.quote-offer__hint {
    color: rgba(71, 85, 105, 0.9);
    font-size: 0.94rem;
    font-weight: 600;
}

.quote-offer__badge {
    display: grid;
    align-content: center;
    gap: 12px;
    padding: 24px;
    border-radius: 28px;
    color: #ffffff;
    background:
        radial-gradient(circle at top right, rgba(125, 211, 252, 0.22), transparent 34%),
        linear-gradient(155deg, #0f172a 0%, #1d4ed8 100%);
    box-shadow: 0 22px 44px rgba(37, 99, 235, 0.22);
}

.quote-offer__badge-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quote-offer__badge strong {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.quote-offer__badge p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.96rem;
    line-height: 1.55;
}

@media (max-width: 767px) {
    .pricing-toggle-container {
        width: min(100%, 420px);
        flex-wrap: wrap;
        border-radius: 28px;
    }

    .pricing-toggle-note {
        margin-bottom: 28px;
        padding: 0 8px;
    }
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Contact */
.contact-container {
    max-width: 800px;
    text-align: center;
}

.contact-card {
    background: linear-gradient(135deg, #1f1f1f, #111111);
    padding: 60px;
    border-radius: 24px;
}

.contact-card h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-guarantee {
    display: inline-block;
    margin-top: 15px;
    padding: 5px 15px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 20px;
    font-size: 0.9rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.mt-4 {
    margin-top: 30px;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-left {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-right {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }
.delay-5 { transition-delay: 1s; }
.delay-6 { transition-delay: 1.2s; }

@media (min-width: 760px) {
    .pricing-showcase__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .pricing-showcase__grid {
        grid-template-columns: minmax(0, 0.86fr) minmax(0, 0.96fr) minmax(0, 1.12fr) minmax(0, 0.96fr);
        align-items: end;
    }

    .pricing-tier--featured {
        transform: translateY(-12px); /* Réduit pour ne pas manger le bouton toggle */
    }

    .pricing-tier--featured:hover {
        transform: translateY(-18px);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .nav-links {
        display: none;
    }

    .navbar {
        padding: 14px 0;
    }

    .navbar .container {
        gap: 12px;
    }

    .navbar.is-scrolled .container {
        padding: 12px 16px;
    }
    
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
    }
    
    .mobile-menu-btn span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--text-dark);
    }
    
    .contact-links {
        flex-direction: column;
    }
    
    .achievement-badges {
        right: 0;
        bottom: -50px;
    }

    .pricing-showcase__title {
        font-size: clamp(2.3rem, 6vw, 3.6rem);
    }

    .pricing-tier {
        padding: 28px 24px 24px;
        border-radius: 30px;
    }

    .pricing-tier--featured {
        transform: none;
    }

    .quote-offer__panel {
        grid-template-columns: 1fr;
    }

    .quote-offer__content h2 {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .logo-text {
        display: none;
    }

    .mon-compte-btn {
        min-height: 42px;
        padding: 0 14px;
        font-size: 0.84rem;
    }

    .nav-auth {
        margin-left: auto;
    }

    .hero {
        min-height: 100svh;
        padding-top: 136px;
        padding-bottom: 96px;
    }

    .hero-floating-icons {
        opacity: 0.74;
    }

    .floating-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 1.15rem;
    }

    .floating-icon--figma {
        top: auto !important;
        right: -6px !important;
        bottom: 20% !important;
    }

    .nav-links a[href="#a-propos"],
    .site-footer__nav a[href="#a-propos"],
    #a-propos {
        display: none;
    }

    .pricing-showcase.section {
        padding: 76px 0;
    }

    .quote-offer {
        padding-top: 22px;
        padding-bottom: 72px;
    }

    .quote-offer__panel {
        gap: 18px;
        padding: 22px 18px;
        border-radius: 26px;
    }

    .quote-offer__eyebrow {
        min-height: 32px;
        margin-bottom: 12px;
        font-size: 0.74rem;
    }

    .quote-offer__content h2 {
        margin-bottom: 12px;
        font-size: clamp(1.8rem, 9vw, 2.3rem);
        line-height: 0.98;
    }

    .quote-offer__content > p {
        margin-bottom: 18px;
        font-size: 0.94rem;
        line-height: 1.55;
    }

    .quote-offer__list {
        gap: 10px;
    }

    .quote-offer__list li {
        gap: 10px;
        font-size: 0.92rem;
        line-height: 1.4;
    }

    .quote-offer__actions {
        gap: 12px;
        margin-top: 20px;
    }

    .quote-offer__hint {
        font-size: 0.86rem;
        line-height: 1.45;
    }

    .quote-offer__badge {
        gap: 10px;
        padding: 18px 16px;
        border-radius: 22px;
    }

    .quote-offer__badge strong {
        font-size: 2rem;
    }

    .quote-offer__badge p {
        font-size: 0.88rem;
    }

    .pricing-showcase__intro {
        margin-bottom: 24px;
    }

    .pricing-showcase__desc {
        font-size: 0.94rem;
    }

    .pricing-showcase__grid {
        gap: 16px;
    }

    .pricing-toggle-container {
        gap: 12px;
        padding: 12px 14px;
        border-radius: 22px;
    }

    .toggle-label {
        justify-content: center;
        text-align: center;
        font-size: 0.88rem;
    }

    .pricing-tier {
        padding: 18px 16px;
        border-radius: 24px;
    }

    .pricing-tier__top {
        gap: 12px;
    }

    .pricing-tier__icon {
        width: 64px;
        height: 64px;
        border-radius: 20px;
    }

    .pricing-tier__badge {
        min-height: 38px;
        padding: 0 14px;
        font-size: 0.82rem;
    }

    .pricing-tier__content {
        margin-top: 18px;
    }

    .pricing-tier__content h3 {
        margin-bottom: 12px;
        font-size: clamp(1.72rem, 8vw, 2.1rem);
    }

    .pricing-tier__description {
        margin-bottom: 18px;
        font-size: 0.92rem;
        line-height: 1.45;
    }

    .pricing-tier__features {
        gap: 10px;
    }

    .pricing-tier__features li {
        gap: 10px;
        font-size: 0.92rem;
        line-height: 1.38;
    }

    .pricing-tier__check {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        font-size: 0.84rem;
    }

    .pricing-tier__footer {
        gap: 10px;
        padding-top: 20px;
    }

    .pricing-tier__price strong {
        font-size: clamp(1.9rem, 8vw, 2.3rem);
    }

    .pricing-tier__price span,
    .pricing-tier__meta,
    .pricing-tier__note {
        font-size: 0.86rem;
    }

    .pricing-tier__cta {
        min-height: 52px;
        margin-top: 4px;
        font-size: 0.94rem;
    }

    .site-footer {
        padding: 42px 0 16px;
    }

    .site-footer__inner {
        padding: 0 16px;
    }

    .site-footer__top {
        grid-template-columns: 1fr;
        gap: 22px;
        padding-bottom: 24px;
    }

    .site-footer__brand p {
        margin: 12px 0 18px;
        font-size: 0.92rem;
    }

    .site-footer__menus {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .site-footer__nav h3 {
        margin-bottom: 12px;
        font-size: 1rem;
    }

    .site-footer__nav li {
        margin-bottom: 9px;
    }

    .site-footer__nav a {
        font-size: 0.92rem;
    }

    .newsletter-form input[type="email"],
    .newsletter-form button {
        padding: 11px 14px;
        font-size: 0.94rem;
    }

    .site-footer__bottom {
        padding-top: 16px;
        gap: 10px;
        font-size: 0.82rem;
    }

    .contact-modal__dialog {
        width: calc(100% - 24px);
        padding: 22px 18px 20px;
        border-radius: 18px;
    }

    .site-toast {
        top: 76px;
        right: 12px;
        left: 12px;
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .highlight-swap__text {
        transition: none;
    }
}

/* Auth Modal Styles */
body.auth-modal-open,
body.contact-modal-open,
body.payment-status-modal-open {
    overflow: hidden;
}

.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.auth-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.auth-modal__dialog {
    background: #ffffff;
    padding: 24px 32px 32px;
    border-radius: 20px;
    width: 90%;
    max-width: 420px;
    position: relative;
    transform: translateY(20px) scale(0.98);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.2, 1);
    max-height: 95vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Hide scrollbar but keep functionality for auth modal */
.auth-modal__dialog::-webkit-scrollbar {
    width: 0;
    background: transparent;
}
.auth-modal__dialog {
    scrollbar-width: none;
}

.auth-modal.is-open .auth-modal__dialog {
    transform: translateY(0) scale(1);
}

.auth-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s ease;
    z-index: 2;
}

.auth-modal__close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.auth-modal__backdrop {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.contact-modal__dialog {
    max-width: 520px;
}

.payment-status-modal__dialog {
    max-width: 520px;
}

.payment-status-card {
    text-align: center;
}

.payment-status-card__icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    font-size: 2rem;
    color: #ffffff;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    box-shadow: 0 18px 36px rgba(34, 197, 94, 0.24);
}

.payment-status-card[data-payment-status-state="cancel"] .payment-status-card__icon {
    background: linear-gradient(135deg, #dc2626, #f97316);
    box-shadow: 0 18px 36px rgba(220, 38, 38, 0.22);
}

.payment-status-card[data-payment-status-state="pending"] .payment-status-card__icon {
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.22);
}

.payment-status-card__actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.payment-status-card__secondary {
    min-width: 120px;
}

.payment-status-card [data-payment-modal-message] {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

.callback-shell {
    position: relative;
}

.callback-modal__header {
    margin-bottom: 24px;
}

.callback-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Forms internal layout for the auth modal */
.auth-header {
    text-align: center;
    margin-bottom: 20px;
}
.chapter-head__kicker {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #3b82f6;
    margin-bottom: 4px;
}
.auth-header h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}
.auth-header p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    background: #f8fafc;
    padding: 4px;
    border-radius: 10px;
}
.auth-tab {
    flex: 1;
    background: transparent;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 8px;
    transition: all 0.2s;
}
.auth-tab.active {
    background: #fff;
    color: #0f172a;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}
.auth-form {
    display: none;
    flex-direction: column;
    gap: 12px;
}
.auth-form.active {
    display: flex;
    animation: authFadeIn 0.3s ease;
}

@keyframes authFadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    background: #f8fafc;
    color: #0f172a;
    transition: border-color 0.2s, background 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.form-group select {
    appearance: none;
    -webkit-appearance: none;
}
.form-group textarea {
    min-height: 120px;
    resize: vertical;
}
.input-wrapper {
    position: relative;
    display: flex;
}
.input-wrapper input {
    width: 100%;
    padding-right: 36px;
}
.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #94a3b8;
    transition: color 0.2s;
}
.toggle-password:hover {
    color: #475569;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    margin-top: -4px;
}
.remember-me {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    cursor: pointer;
}
.forgot-pass {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}
.forgot-pass:hover {
    text-decoration: underline;
}

.btn-auth, .btn-google {
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-auth {
    background: #0f172a;
    color: #fff;
    border: none;
    margin-top: 4px;
}
.btn-auth:hover {
    background: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.btn-google {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #334155;
}
.btn-google:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}
.btn-google img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.divider {
    text-align: center;
    margin: 4px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e2e8f0;
    z-index: 1;
}
.divider span {
    background: #fff;
    padding: 0 10px;
    position: relative;
    z-index: 2;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.auth-legal-note {
    font-size: 0.75rem;
    text-align: center;
    color: #64748b;
    margin: 8px 0 0 0;
    line-height: 1.4;
}
.auth-legal-note a {
    color: #3b82f6;
    text-decoration: none;
}
.auth-legal-note a:hover {
    text-decoration: underline;
}

/* Modal overlays (forgot password) */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.modal-overlay .modal-content {
    background: #ffffff;
    padding: 24px 32px 32px;
    border-radius: 20px;
    width: 90%;
    max-width: 420px;
    position: relative;
    transform: translateY(20px) scale(0.98);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.modal-header i {
    font-size: 2rem;
    color: #3b82f6;
    margin-bottom: 10px;
}

.modal-header h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.modal-header p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.public-antibot-group {
    padding: 14px;
    border: 1px dashed rgba(148, 163, 184, 0.45);
    border-radius: 16px;
    background: #f8fafc;
}

.public-antibot-widget {
    min-height: 72px;
}

.public-antibot-help {
    margin: 10px 0 0;
    font-size: 0.84rem;
    color: #64748b;
}

.public-antibot-help.is-error {
    color: #b91c1c;
}

.public-antibot-help.is-success {
    color: #15803d;
}

.callback-form__submit {
    margin-top: 6px;
}

.callback-form__caption {
    margin: 2px 0 0;
    font-size: 0.84rem;
    line-height: 1.5;
    text-align: center;
    color: #64748b;
}

.site-toast {
    position: fixed;
    top: 92px;
    right: 16px;
    min-width: 220px;
    max-width: min(420px, calc(100% - 32px));
    padding: 14px 16px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, #0f172a, #111827);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.24);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 10010;
}

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

.site-toast--error {
    background: linear-gradient(135deg, #7f1d1d, #450a0a);
}

@media (max-width: 767px) {
    .payment-status-card__actions {
        flex-direction: column;
    }

    .payment-status-card__actions .btn-auth,
    .payment-status-card__actions .payment-status-card__secondary {
        width: 100%;
    }
}

/* Site Footer */
.site-footer {
    background: #111;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 0;
    font-family: inherit;
}
.site-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.site-footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-brand--footer {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
}
.site-brand--footer img {
    filter: invert(1);
}
.site-footer__brand p {
    color: #aaa;
    margin: 15px 0 25px;
    max-width: 350px;
    line-height: 1.5;
}
.site-footer__menus {
    display: contents;
}
.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 400px;
}
.newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 15px;
    border-radius: 6px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1rem;
}
.newsletter-form input[type="email"]::placeholder {
    color: #aaa;
}
.newsletter-form button {
    padding: 12px 20px;
    background: #fff;
    color: #111;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}
.newsletter-form button:hover {
    opacity: 0.9;
}
.site-footer__nav h3 {
    margin: 0 0 20px 0;
    font-size: 1.1rem;
    color: #fff;
}
.site-footer__nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer__nav li {
    margin-bottom: 12px;
}
.site-footer__nav a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s;
}
.site-footer__nav a:hover {
    color: #fff;
}
.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    color: #777;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 20px;
}

/* Comparison Table (Free.fr style) */
.comparison-container {
    margin-top: 40px;
    overflow-x: auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    min-width: 800px;
}

.comparison-table th, .comparison-table td {
    padding: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.feature-col {
    text-align: left;
    width: 30%;
    background: #fcfcfc;
}

.plan-col {
    width: 23%;
}

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

.plan-name {
    font-weight: 800;
    font-size: 1.2rem;
    color: #0f172a;
}

.plan-price {
    font-size: 2rem;
    font-weight: 800;
    color: #3b82f6;
}

.plan-price span {
    font-size: 0.9rem;
    color: #64748b;
}

.plan-badge {
    background: #3b82f6;
    color: #fff;
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 99px;
    text-transform: uppercase;
    font-weight: 900;
}

.plan-col.featured {
    background: rgba(59, 130, 246, 0.02);
    border-left: 2px solid rgba(59, 130, 246, 0.1);
    border-right: 2px solid rgba(59, 130, 246, 0.1);
}

.category-row td {
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 800;
    text-align: left;
    padding: 12px 20px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.feature-name {
    text-align: left;
    font-weight: 600;
    color: #475569;
}

.comparison-table i.fa-check {
    color: #22c55e;
}

.comparison-table i.fa-minus {
    color: #cbd5e1;
}

.category-row td i {
    margin-right: 10px;
    width: 20px;
}

/* Table Responsiveness (Miniature Desktop Style) */
@media (max-width: 768px) {
    .comparison-container {
        margin: 15px 0;
        width: 100%;
        border-radius: 12px;
        overflow-x: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }

    .comparison-table {
        display: table;
        min-width: unset;
        width: 100%;
        table-layout: fixed;
    }

    .comparison-table thead, 
    .comparison-table tbody, 
    .comparison-table tr {
        display: table-row-group;
    }

    .comparison-table tr {
        display: table-row;
    }

    .comparison-table th, 
    .comparison-table td {
        display: table-cell;
        padding: 8px 2px !important;
        font-size: 0.6rem;
        word-break: break-word;
    }

    .feature-col, 
    .feature-name {
        width: 30%;
        text-align: left;
        padding-left: 6px !important;
        font-size: 0.65rem;
        font-weight: 800;
    }

    .plan-col {
        width: 17.5%;
    }

    .plan-header {
        gap: 2px;
    }

    .plan-name { font-size: 0.55rem; }
    .plan-price strong { font-size: 0.8rem; }
    .plan-price span { font-size: 0.45rem; }
    
    .plan-header .btn-sm { 
        display: inline-block;
        padding: 4px 6px;
        font-size: 0.5rem;
        min-height: unset;
        border-radius: 4px;
    }

    .plan-badge { display: none; }

    .category-row td {
        display: table-cell;
        text-align: left;
        background: #f1f5f9 !important;
        color: #1e293b;
        padding: 6px 8px !important;
        font-size: 0.6rem;
        border-top: 2px solid #3b82f6;
    }

    .comparison-table i.fa-check {
        font-size: 0.8rem;
    }

    .comparison-table i.fa-minus {
        font-size: 0.7rem;
    }

    /* Réactivation de la colonne "Gratuite" sur mobile */
    .comparison-table th:nth-child(2),
    .comparison-table td:nth-child(2) {
        display: table-cell;
    }
}
.client-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 20px 0 40px;
    position: relative;
}
.client-carousel-wrapper::before,
.client-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}
.client-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}
.client-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}
.client-carousel {
    display: flex;
    width: max-content;
    animation: scroll 60s linear infinite;
    will-change: transform;
}
.client-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 20px 25px;
    border-radius: 12px;
    text-decoration: none;
    color: #0f172a;
    min-width: 350px;
    margin-right: 20px; /* On utilise la marge pour garantir le loop parfait */
    flex-shrink: 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

.client-review {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
}

.client-stars {
    color: #fbbf24;
    font-size: 0.8rem;
    margin-bottom: 6px;
    letter-spacing: 2px;
}

.client-feedback {
    font-style: italic;
    font-size: 0.88rem !important;
    color: #475569 !important;
    line-height: 1.5 !important;
}

.client-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.client-link i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.client-card:hover .client-link i {
    transform: translateX(5px);
}

.client-stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    color: #166534;
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 15px;
    border: 1px solid #dcfce7;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: #f8fafc;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.client-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.client-info {
    display: flex;
    flex-direction: column;
}
.client-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #0f172a;
}
.client-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
}

.client-location {
    font-size: 0.72rem;
    font-weight: 600;
    color: #1d4ed8;
    background: rgba(37, 99, 235, 0.1);
    padding: 2px 10px;
    border-radius: 99px;
    margin-left: 12px;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.badge-new {
    font-size: 0.65rem;
    font-weight: 800;
    color: #ffffff;
    background: #1d4ed8;
    padding: 2px 8px;
    border-radius: 6px;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    vertical-align: middle;
}

/* Statistiques sous les clients */
.client-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 50px;
    text-align: center;
}

.metric-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid #e2e8f0;
    padding: 25px 20px;
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(5px);
}

.metric-card:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
    background: #ffffff;
}

.metric-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.metric-icon {
    font-size: 1.1rem;
    opacity: 0.5;
    -webkit-text-fill-color: #3b82f6; /* Pour contrer le dégradé du parent sur l'icône */
}

.metric-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1.3;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Décorations spécifiques --- */

/* Logo géant dans le coin des cartes du carrousel */
.client-card {
    position: relative;
    overflow: hidden;
}

.client-card-bg-icon {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 220px;
    height: 220px;
    opacity: 0.22;
    transform: rotate(20deg);
    pointer-events: none;
    z-index: 0;
    filter: grayscale(0.3); /* 70% coloré */
    -webkit-mask-image: radial-gradient(circle, black 10%, transparent 75%);
    mask-image: radial-gradient(circle, black 10%, transparent 75%);
}

.client-card > *:not(.client-card-bg-icon) {
    position: relative;
    z-index: 1;
}
