/* Plakode - interface e-commerce premium */

:root {
    --ink: #07111f;
    --ink-2: #132235;
    --muted: #647083;
    --line: #dfe7f1;
    --line-strong: #c6d2e1;
    --surface: #ffffff;
    --surface-soft: #f6f9fc;
    --surface-tint: #edf6f7;
    --blue: #1769ff;
    --blue-dark: #0b49c8;
    --cyan: #00c2a8;
    --amber: #ffb454;
    --rose: #ff5f7d;
    --success: #11a67a;
    --danger: #dc2626;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 14px;
    --radius-xl: 22px;
    --shadow-sm: 0 8px 24px rgba(12, 28, 48, 0.08);
    --shadow-md: 0 18px 48px rgba(12, 28, 48, 0.12);
    --shadow-lg: 0 28px 80px rgba(12, 28, 48, 0.18);
    --gradient-primary: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
    --gradient-dark: linear-gradient(135deg, #07111f 0%, #102846 58%, #0a5f6b 100%);
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Compatibilite avec les vues conservees */
    --primary-blue: var(--blue);
    --primary-dark: var(--blue-dark);
    --trust-green: var(--success);
    --gray-50: var(--surface-soft);
    --gray-100: #eef3f8;
    --gray-200: var(--line);
    --gray-300: var(--line-strong);
    --gray-400: #94a3b8;
    --gray-500: var(--muted);
    --gray-600: var(--muted);
    --gray-700: #344256;
    --gray-800: var(--ink-2);
    --gray-900: var(--ink);
    --white: #ffffff;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4.5rem;
    --radius-full: 999px;
    --radius-2xl: var(--radius-xl);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    font-family: var(--font-sans);
    color: var(--ink);
    background: #fbfdff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

h1,
h2,
h3,
h4 {
    color: var(--ink);
    line-height: 1.08;
    letter-spacing: 0;
}

p {
    color: var(--muted);
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.container-narrow {
    width: min(880px, calc(100% - 32px));
    margin: 0 auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(198, 210, 225, 0.72);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
}

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    font-size: 1.42rem;
    font-weight: 900;
    color: var(--ink);
}

.logo::before {
    content: "";
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background:
        linear-gradient(135deg, var(--blue), var(--cyan)),
        var(--blue);
    box-shadow: 0 10px 24px rgba(23, 105, 255, 0.24);
}

.logo.logo-image::before {
    display: none;
}

.site-logo-image {
    width: auto;
    height: 38px;
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.25rem;
}

.nav-link {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.78rem;
    border-radius: 999px;
    color: #26384d;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.94rem;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    background: #eef6ff;
    color: var(--blue-dark);
    transform: translateY(-1px);
}

.nav-link-auth {
    border: 1px solid var(--line);
    background: #fff;
}

.nav-link-auth-signup,
.nav-cta,
.mobile-menu-link.nav-cta {
    background: var(--ink);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 30px rgba(7, 17, 31, 0.14);
}

.nav-link-auth-signup:hover,
.nav-cta:hover {
    color: #fff;
    background: #132235;
}

.nav-icon-button {
    position: relative;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 999px;
    background: #f1f7fb;
    border: 1px solid var(--line);
}

.cart-icon {
    width: 22px;
    height: 22px;
    display: block;
    fill: none;
    stroke: var(--ink);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-link-account-icon {
    color: transparent;
    font-size: 0;
}

.nav-link-account-icon::before {
    content: "";
    width: 18px;
    height: 18px;
    display: block;
    border: 2px solid var(--ink);
    border-radius: 999px;
}

.cart-counter {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--rose);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 900;
    border: 2px solid #fff;
}

.mobile-menu-toggle,
.mobile-menu-overlay,
.mobile-menu-panel {
    display: none;
}

.mobile-menu-toggle {
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
    transition: transform 0.22s ease, opacity 0.18s ease;
}

.mobile-menu-toggle.is-active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

body.mobile-menu-open {
    overflow: hidden;
}

.hero {
    position: relative;
    overflow: visible;
    padding-bottom: 3rem;
    background:
        linear-gradient(180deg, rgba(245, 249, 252, 0.86), rgba(255, 255, 255, 0.96)),
        radial-gradient(circle at 50% 0%, rgba(0, 194, 168, 0.14), transparent 34%);
}

.hero-content {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 5.8rem 0 4.2rem;
    display: grid;
    grid-template-columns: 1fr 0.92fr;
    gap: 3.2rem;
    align-items: center;
}

.hero-copy {
    max-width: 680px;
}

.eyebrow,
.hero-badge,
.section-kicker,
.product-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 34px;
    padding: 0.34rem 0.78rem;
    border-radius: 999px;
    background: rgba(0, 194, 168, 0.11);
    color: #047968;
    border: 1px solid rgba(0, 194, 168, 0.24);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-title,
.page-title {
    margin-top: 1rem;
    font-size: clamp(2.55rem, 5vw, 5.2rem);
    font-weight: 900;
    max-width: 900px;
}

.hero-title span,
.text-gradient {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle,
.page-lead {
    margin-top: 1.25rem;
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    max-width: 670px;
    color: #536074;
}

.hero-cta-group,
.cta-row,
.product-actions-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.7rem;
}

.btn-primary,
.btn-secondary,
.hero-cta,
.hero-secondary-link,
.continue-shopping-btn,
.checkout-btn,
.add-to-cart,
.save-profile-btn,
.cta-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.78rem 1.15rem;
    border-radius: 999px;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary,
.hero-cta,
.add-to-cart,
.checkout-btn,
.continue-shopping-btn,
.save-profile-btn,
.cta-button {
    color: #fff;
    background: var(--gradient-primary);
    box-shadow: 0 14px 34px rgba(23, 105, 255, 0.22);
}

.btn-secondary,
.hero-secondary-link {
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover,
.btn-secondary:hover,
.hero-cta:hover,
.hero-secondary-link:hover,
.add-to-cart:hover,
.checkout-btn:hover {
    transform: translateY(-2px);
}

.help-hero {
    padding: 5rem 0 2.5rem;
    background:
        radial-gradient(circle at 16% 18%, rgba(14, 165, 233, 0.16), transparent 32%),
        linear-gradient(135deg, #f8fbff 0%, #eef7ff 44%, #ffffff 100%);
    border-bottom: 1px solid var(--line);
}

.help-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 2rem;
    align-items: end;
}

.help-hero-copy h1 {
    max-width: 780px;
    margin: 0.7rem 0 1rem;
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 4.1rem);
    line-height: 1.02;
}

.help-hero-copy p {
    max-width: 680px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.help-search-panel {
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-md);
}

.help-search-panel label {
    display: block;
    margin-bottom: 0.7rem;
    color: var(--ink);
    font-weight: 900;
}

.help-search-box {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 0.7rem;
    align-items: center;
    min-height: 56px;
    padding: 0 1rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 14px;
    background: #fff;
}

.help-search-box svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #64748b;
    stroke-width: 2;
    stroke-linecap: round;
}

.help-search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-weight: 700;
}

.help-workspace {
    padding: 2rem 0 4.5rem;
    background: #fff;
}

.help-theme-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1.5rem;
}

.help-theme-button {
    min-height: 42px;
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.help-theme-button span {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    margin-left: 0.35rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    font-size: 0.78rem;
}

.help-theme-button:hover,
.help-theme-button.active {
    transform: translateY(-1px);
    border-color: rgba(14, 165, 233, 0.45);
    background: #0f172a;
    color: #fff;
}

.help-theme-button.active span {
    background: rgba(255, 255, 255, 0.18);
}

.help-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: 1.4rem;
    align-items: start;
}

.help-question-list,
.help-answer-panel,
.help-empty {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.help-question-list {
    overflow: hidden;
}

.help-list-meta {
    display: flex;
    gap: 0.4rem;
    align-items: baseline;
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    background: #f8fafc;
    color: #64748b;
}

.help-list-meta strong {
    color: var(--ink);
    font-size: 1.3rem;
}

.help-question-buttons {
    display: grid;
    max-height: 640px;
    overflow: auto;
}

.help-question-button {
    width: 100%;
    padding: 1rem;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    text-align: left;
    font: inherit;
    font-weight: 900;
    line-height: 1.35;
    cursor: pointer;
}

.help-question-button span {
    display: block;
    margin-bottom: 0.35rem;
    color: #0ea5e9;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0;
}

.help-question-button:hover,
.help-question-button.active {
    background: #f0f9ff;
}

.help-question-button.active {
    box-shadow: inset 4px 0 0 #0ea5e9;
}

.help-no-result {
    padding: 1rem;
    margin: 0;
    color: #64748b;
}

.help-answer-panel {
    min-height: 360px;
    padding: clamp(1.4rem, 3vw, 2rem);
}

.help-answer-theme {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.82rem;
    font-weight: 900;
}

.help-answer-panel h2,
.help-empty h2,
.help-contact-strip h2 {
    margin: 0 0 0.8rem;
    color: var(--ink);
}

.help-answer-panel p,
.help-empty p,
.help-contact-strip p {
    margin: 0;
    color: #475569;
    line-height: 1.75;
}

.help-empty {
    padding: 2rem;
    text-align: center;
}

.help-empty .btn-primary {
    margin-top: 1.2rem;
}

.help-contact-strip {
    padding: 2.4rem 0;
    background: #0f172a;
    color: #fff;
}

.help-contact-strip .container {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    justify-content: space-between;
}

.help-contact-strip h2,
.help-contact-strip p {
    color: #fff;
}

.hero-trust-list,
.inline-checks {
    margin-top: 1.5rem;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.hero-trust-list li,
.inline-checks li {
    min-height: 58px;
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.74);
    color: #344256;
    font-weight: 800;
    font-size: 0.9rem;
}

.hero-visual-card,
.visual-card {
    position: relative;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.hero-visual-image,
.hero-visual-video,
.visual-card img,
.product-image-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-visual-image,
.hero-visual-video {
    aspect-ratio: 3 / 4;
}

.hero-visual-caption,
.visual-caption {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    font-weight: 900;
    box-shadow: var(--shadow-sm);
}

.metric-strip {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    transform: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--line);
    box-shadow: var(--shadow-md);
}

.metric-item {
    padding: 1.25rem;
    background: #fff;
}

.metric-item strong {
    display: block;
    font-size: 1.55rem;
    line-height: 1;
    color: var(--ink);
}

.metric-item span {
    display: block;
    margin-top: 0.35rem;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.9rem;
}

.section,
.plk-section,
.product-section,
.reviews-section {
    padding: 5.5rem 0;
}

.section-soft {
    background: var(--surface-soft);
}

.section-dark {
    color: #fff;
    background: var(--gradient-dark);
}

.section-dark h2,
.section-dark h3,
.section-dark p,
.section-dark .section-subtitle {
    color: #fff;
}

.section-dark .trust-card {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
}

.section-dark .product-card {
    background: #fff;
}

.section-dark .product-card h3,
.section-dark .product-card p {
    color: var(--ink);
}

.section-dark .section-kicker {
    background: rgba(255, 255, 255, 0.12);
    color: #d8fbff;
}

.section-after-metrics {
    padding-top: 7rem;
}

.section-header {
    max-width: 760px;
    margin: 0 auto 2.2rem;
    text-align: center;
}

.section-title,
.section-header h2 {
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 900;
}

.section-subtitle,
.section-header p {
    margin-top: 0.8rem;
    color: var(--muted);
    font-size: 1.08rem;
}

.cards-grid,
.benefit-grid,
.use-case-grid,
.product-benefits-grid,
.plk-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.plk-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

.card,
.benefit-card,
.use-card,
.product-card,
.step-card,
.faq-card,
.product-benefit-card,
.product-seo-point,
.trust-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
    padding: 1.25rem;
}

.card h3,
.benefit-card h3,
.use-card h3,
.product-card h3,
.step-card h3,
.faq-card h3,
.product-benefit-card h3,
.product-seo-point h3 {
    margin-bottom: 0.55rem;
    font-size: 1.15rem;
}

.card p,
.benefit-card p,
.use-card p,
.product-card p,
.step-card p,
.faq-card p,
.product-benefit-card p,
.product-seo-point p {
    margin: 0;
}

.benefit-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 7;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 10px;
    background: var(--surface-soft);
}

.benefit-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.icon-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 0.9rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(23, 105, 255, 0.12), rgba(0, 194, 168, 0.16));
    border: 1px solid rgba(23, 105, 255, 0.12);
    color: var(--primary);
}

.icon-tile svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.split-section {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 2rem;
    align-items: center;
}

.split-copy h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
}

.split-copy p {
    margin-top: 1rem;
    font-size: 1.08rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    counter-reset: steps;
}

.step-card {
    counter-increment: steps;
}

.step-card::before {
    content: "0" counter(steps);
    display: inline-flex;
    margin-bottom: 1rem;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-weight: 900;
}

.product-showcase {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.product-card {
    padding: 0;
    overflow: hidden;
}

.product-card-clickable {
    cursor: pointer;
}

.product-card-clickable:focus-visible {
    outline: 3px solid rgba(14, 165, 233, 0.45);
    outline-offset: 3px;
}

.product-card-image {
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--surface-soft);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.customer-reviews-section {
    background: #fff;
}

.customer-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.customer-review-card {
    display: grid;
    grid-template-columns: minmax(108px, 0.42fr) minmax(0, 0.58fr);
    gap: 1rem;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
    padding: 1rem;
}

.customer-review-photo {
    aspect-ratio: 9 / 16;
    min-height: 230px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--surface-soft);
}

.customer-review-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.customer-review-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
}

.customer-review-stars {
    color: #f4b400;
    font-size: 0.95rem;
    letter-spacing: 0;
}

.customer-review-content p {
    margin: 0;
    color: var(--muted);
}

.customer-review-content h3 {
    margin: 0;
    font-size: 1rem;
}

.trusted-companies-section {
    overflow: hidden;
    background: var(--surface-soft);
}

.trusted-logo-marquee {
    width: 100%;
    overflow: hidden;
    padding: 0.5rem 0;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.trusted-logo-track {
    display: flex;
    width: max-content;
    gap: 1rem;
    animation: trusted-logo-scroll 34s linear infinite;
}

.trusted-logo-marquee:hover .trusted-logo-track {
    animation-play-state: paused;
}

.trusted-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 170px;
    height: 88px;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-sm);
    padding: 1rem;
}

.trusted-logo-item img {
    max-width: 100%;
    max-height: 54px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.82;
    transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.trusted-logo-item:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.03);
}

@keyframes trusted-logo-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 0.5rem));
    }
}

.product-card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.2rem;
}

.product-card-title-link {
    color: inherit;
    text-decoration: none;
}

.product-card-title-link:hover {
    color: #0ea5e9;
}

.product-card-link {
    display: inline-flex;
    margin-top: 1rem;
    color: var(--blue-dark);
    font-weight: 900;
    text-decoration: none;
}

.category-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.category-card-footer strong {
    color: var(--black);
    font-size: 1rem;
}

.category-card-footer .product-card-link {
    margin-top: 0;
}

@media (max-width: 620px) {
    .category-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

.logo-cloud {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.75rem;
}

.logo-cloud span {
    min-height: 66px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.84);
    font-weight: 900;
}

.faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.faq-card {
    min-height: 160px;
}

.final-cta {
    padding: 4rem 0;
    background: var(--ink);
    color: #fff;
}

.final-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.final-cta h2,
.final-cta p {
    color: #fff;
}

.footer {
    padding: 4rem 0 1.8rem;
    background: #07111f;
    color: #d8e2ed;
}

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

.footer h3,
.footer h4 {
    color: #fff;
    margin-bottom: 0.8rem;
}

.footer p,
.footer a {
    color: #aebdcd;
}

.footer ul {
    list-style: none;
    display: grid;
    gap: 0.45rem;
}

.footer a {
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 0.55rem;
    margin-top: 1rem;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

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

/* Product page */
.product-hero {
    padding: 4.5rem 0;
    background: linear-gradient(180deg, var(--surface-soft), #fff);
}

.product-container {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2rem;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: 96px;
}

.main-image,
.product-image-frame {
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-md);
}

.main-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.thumbnail-grid {
    margin-top: 0.75rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
}

.thumbnail {
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    background: #fff;
}

.thumbnail.active,
.thumbnail:hover {
    border-color: var(--cyan);
}

.thumbnail img {
    aspect-ratio: 1 / 1;
    width: 100%;
    object-fit: cover;
}

.product-info {
    padding: 0.25rem 0 0;
}

.product-title {
    margin-top: 0.8rem;
    font-size: clamp(2rem, 4vw, 2.35rem);
    font-weight: 900;
}

.product-subtitle {
    margin-top: 1rem;
    font-size: 1.08rem;
}

.product-trust-inline {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.product-trust-inline span,
.medical-badge,
.status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    background: #ecfdf6;
    color: #047857;
    font-size: 0.78rem;
    font-weight: 900;
}

.onetime-inline-card,
.purchase-panel {
    margin-top: 1.4rem;
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.quantity-selector h3 {
    font-size: 1.12rem;
    margin-bottom: 0.9rem;
}

.quantity-options {
    display: grid;
    gap: 0.65rem;
}

.quantity-option {
    position: relative;
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(120px, auto) minmax(104px, 1fr);
    align-items: center;
    gap: 1rem;
    padding: 0.7rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    cursor: pointer;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.quantity-option:hover,
.quantity-option.selected {
    border-color: var(--blue);
    box-shadow: 0 12px 28px rgba(23, 105, 255, 0.12);
    transform: translateY(-1px);
}

.quantity-option input {
    display: none;
}

.quantity-header label {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    cursor: pointer;
}

.quantity-number {
    font-size: 1.45rem;
    font-weight: 900;
}

.quantity-text {
    color: var(--muted);
    font-weight: 800;
}

.quantity-saving {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    text-align: center;
}

.quantity-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.12rem;
}

.current-price {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--ink);
}

.original-price {
    color: #94a3b8;
    text-decoration: line-through;
    font-size: 0.82rem;
}

.savings,
.savings-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: #ecfdf6;
    color: #047857;
    font-size: 0.74rem;
    font-weight: 900;
}

.add-to-cart-section {
    margin-top: 1rem;
}

.add-to-cart {
    width: 100%;
    font-size: 1.05rem;
}

.cart-info {
    display: grid;
    gap: 0.35rem;
    margin-top: 0.8rem;
    font-size: 0.88rem;
}

.stock-info {
    color: var(--success);
    font-weight: 900;
}

.product-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.spec-item {
    padding: 0.9rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-soft);
}

.spec-item span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.spec-item strong {
    display: block;
    margin-top: 0.25rem;
    color: var(--ink);
}

/* Cart/account helpers */
.cart-content,
.account-content {
    padding: 3.5rem 0;
    background: var(--surface-soft);
}

.empty-cart,
.cart-items,
.cart-summary,
.account-sidebar,
.account-section,
.profile-info,
.orders-list,
.order-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.account-topline {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.account-topline h1 {
    margin-top: 0.45rem;
    font-size: clamp(1.85rem, 3vw, 2.45rem);
    font-weight: 900;
}

.account-topline .cta-button {
    min-height: 42px;
    padding: 0.7rem 1rem;
    font-size: 0.92rem;
    box-shadow: 0 10px 24px rgba(23, 105, 255, 0.16);
}

.account-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 1.2rem;
    align-items: start;
}

.account-sidebar {
    padding: 0.8rem;
}

.account-nav {
    display: grid;
    gap: 0.45rem;
}

.account-nav .nav-item,
.logout-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 46px;
    padding: 0.72rem 0.8rem;
    border-radius: var(--radius-md);
    color: var(--ink);
    text-decoration: none;
    font-weight: 900;
}

.account-nav .nav-item.active,
.account-nav .nav-item:hover {
    background: var(--surface-soft);
}

.logout-section {
    margin-top: 1rem;
    border-top: 1px solid var(--line);
    padding-top: 0.8rem;
}

.logout-btn {
    color: var(--danger);
}

.account-section {
    padding: 1.35rem;
}

.account-section-header {
    max-width: none;
    margin: 0 0 1.2rem;
    text-align: left;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.account-section-header .section-title {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-group {
    display: grid;
    gap: 0.4rem;
}

.form-actions {
    margin-top: 1rem;
}

.account-message {
    margin: 1rem 0;
    border-radius: var(--radius-md);
    padding: 0.8rem 0.9rem;
    background: var(--surface-soft);
    color: var(--ink);
    font-weight: 800;
}

.account-message.success {
    background: #ecfdf6;
    color: #047857;
}

.account-message.error {
    background: #fff1f2;
    color: #be123c;
}

.orders-list {
    display: grid;
    gap: 0.8rem;
}

.order-card {
    padding: 1rem;
}

.order-card-header,
.order-item-line,
.order-total {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.order-card-header span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
}

.order-items {
    display: grid;
    gap: 0.45rem;
    margin: 1rem 0;
}

.order-total {
    border-top: 1px solid var(--line);
    padding-top: 0.8rem;
}

.empty-state {
    padding: 2rem;
    text-align: center;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-lg);
    background: var(--surface-soft);
}

.form-input,
.checkout-field input,
.checkout-field select,
.profile-form input {
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    padding: 0.72rem 0.85rem;
    background: #fff;
}

.form-input:focus,
.checkout-field input:focus,
.profile-form input:focus {
    outline: 3px solid rgba(23, 105, 255, 0.12);
    border-color: var(--blue);
}

.message-success {
    background: var(--success);
}

.message-error {
    background: var(--danger);
}

/* Shared checkout/payment modal */
body.checkout-modal-open {
    overflow: hidden;
}

.checkout-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.checkout-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(6px);
}

.checkout-modal-panel {
    position: relative;
    z-index: 1;
    width: min(760px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    padding: 1.5rem;
}

.checkout-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--muted);
    cursor: pointer;
    font-size: 1.7rem;
    line-height: 1;
}

.checkout-modal-title {
    margin: 0 3rem .35rem 0;
    color: var(--ink);
    font-size: 1.35rem;
    font-weight: 900;
}

.checkout-modal-subtitle {
    color: var(--muted);
    line-height: 1.55;
    margin: 0 0 1rem;
}

.payment-element-container {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    margin: 0.75rem 0;
    background: #fff;
}

.checkout-modal-message {
    border-radius: var(--radius-md);
    padding: 0.7rem 0.8rem;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.checkout-confirm-btn {
    width: 100%;
    border: 0;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
    color: #fff;
    padding: 0.9rem;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    margin-top: 0.25rem;
}

.checkout-confirm-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 980px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .mobile-menu-overlay {
        position: fixed;
        inset: 0;
        display: block;
        background: rgba(7, 17, 31, 0.52);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.22s ease;
        z-index: 1090;
    }

    .mobile-menu-overlay.is-visible {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-menu-panel {
        position: fixed;
        top: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        width: min(88vw, 360px);
        height: 100vh;
        padding: 1rem;
        background: #fff;
        transform: translateX(105%);
        transition: transform 0.24s ease;
        z-index: 1100;
        box-shadow: -18px 0 48px rgba(7, 17, 31, 0.18);
        visibility: hidden;
    }

    .mobile-menu-panel.is-open {
        transform: translateX(0);
        visibility: visible;
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
    }

    .mobile-menu-title {
        font-weight: 900;
    }

    .mobile-menu-close {
        width: 42px;
        height: 42px;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: #fff;
        cursor: pointer;
        font-size: 1.4rem;
    }

    .mobile-menu-nav {
        display: grid;
        gap: 0.5rem;
    }

    .mobile-menu-link {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 0.85rem 1rem;
        border-radius: var(--radius-md);
        background: var(--surface-soft);
        color: var(--ink);
        text-decoration: none;
        font-weight: 900;
    }

    .hero-content,
    .product-container,
    .split-section,
    .plk-grid-2,
    .account-grid {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        position: static;
    }

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

    .help-question-buttons {
        max-height: 420px;
    }

    .metric-strip,
    .hero-trust-list,
    .inline-checks,
    .cards-grid,
    .benefit-grid,
    .use-case-grid,
    .product-benefits-grid,
    .plk-grid-3,
    .steps-grid,
    .product-showcase,
    .customer-reviews-grid,
    .faq-list,
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .container,
    .container-narrow,
    .hero-content {
        width: min(100% - 24px, 1180px);
    }

    .nav {
        min-height: 66px;
    }

    .hero-content {
        padding: 3.4rem 0 2.8rem;
    }

    .hero-title,
    .page-title {
        font-size: 2.48rem;
    }

    .section,
    .plk-section,
    .product-section,
    .reviews-section {
        padding: 3.6rem 0;
    }

    .metric-strip {
        margin-top: 0;
    }

    .metric-strip,
    .hero-trust-list,
    .inline-checks,
    .cards-grid,
    .benefit-grid,
    .use-case-grid,
    .product-benefits-grid,
    .plk-grid-3,
    .steps-grid,
    .product-showcase,
    .customer-reviews-grid,
    .faq-list,
    .footer-content,
    .logo-cloud,
    .product-specs {
        grid-template-columns: 1fr;
    }

    .customer-review-card {
        grid-template-columns: minmax(96px, 0.36fr) minmax(0, 0.64fr);
    }

    .customer-review-photo {
        min-height: 190px;
    }

    .final-cta .container {
        align-items: flex-start;
        flex-direction: column;
    }

    .quantity-option {
        align-items: flex-start;
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .quantity-saving {
        justify-content: flex-start;
        min-height: 0;
    }

    .quantity-price {
        align-items: flex-start;
    }

    .account-topline,
    .account-section-header,
    .order-card-header,
    .order-item-line,
    .order-total {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .help-hero {
        padding: 3.4rem 0 2rem;
    }

    .help-theme-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.35rem;
    }

    .help-theme-button {
        flex: 0 0 auto;
    }

    .help-contact-strip .container {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* Reprogrammation */
.reprogramming-page {
    padding: 4.5rem 0;
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.12), transparent 34rem),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 46%, #f8fafc 100%);
}

.reprogramming-hero {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.reprogramming-visual {
    min-height: 520px;
    border-radius: 26px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 26px 70px rgba(15, 23, 42, .18);
}

.reprogramming-visual img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    display: block;
}

.reprogramming-visual-placeholder {
    min-height: 520px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: .7rem;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(14, 165, 233, .95), rgba(124, 58, 237, .92)),
        repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 28px);
}

.reprogramming-visual-placeholder span {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .28);
    font-weight: 800;
    font-size: 1.7rem;
}

.reprogramming-visual-placeholder strong {
    font-size: clamp(2.4rem, 7vw, 5rem);
    line-height: 1;
}

.reprogramming-visual-placeholder small {
    color: rgba(255,255,255,.82);
    font-weight: 600;
}

.reprogramming-copy h1 {
    margin: .65rem 0 1.2rem;
    max-width: 760px;
    font-size: clamp(2.35rem, 5vw, 4.8rem);
    line-height: .98;
    letter-spacing: 0;
}

.reprogramming-copy p {
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.75;
    margin: 0 0 1rem;
}

.reprogramming-highlight {
    margin-top: 1.3rem;
    display: inline-flex;
    padding: .8rem 1rem;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .2);
}

.reprogramming-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: clamp(1.25rem, 3vw, 2.4rem);
    box-shadow: 0 18px 55px rgba(15, 23, 42, .08);
}

.reprogramming-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1.6rem;
}

.reprogramming-panel-head h2 {
    margin: .35rem 0 0;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.reprogramming-price {
    min-width: 150px;
    padding: .85rem 1rem;
    border-radius: 16px;
    background: #eff6ff;
    color: #1e40af;
    text-align: right;
}

.reprogramming-price span {
    display: block;
    color: #64748b;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.reprogramming-price strong {
    font-size: 1.45rem;
}

.reprogramming-form,
.form-field {
    display: grid;
    gap: .8rem;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-field span {
    color: #0f172a;
    font-weight: 700;
}

.form-field input,
.form-field select {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: .9rem 1rem;
    color: #0f172a;
    background: #fff;
    font: inherit;
}

.form-field input:focus,
.form-field select:focus {
    outline: 3px solid rgba(14, 165, 233, .18);
    border-color: #0ea5e9;
}

.form-field small {
    color: #64748b;
    line-height: 1.45;
}

.reprogramming-submit {
    justify-self: start;
    border: 0;
    cursor: pointer;
}

.reprogramming-message {
    padding: .9rem 1rem;
    border-radius: 14px;
    font-weight: 650;
}

.reprogramming-message-error,
.checkout-modal-message-error {
    background: #fef2f2;
    color: #991b1b;
}

.reprogramming-message-info,
.checkout-modal-message-info {
    background: #eff6ff;
    color: #1d4ed8;
}

.reprogramming-message-success,
.checkout-modal-message-success {
    background: #ecfdf5;
    color: #047857;
}

.reprogramming-summary {
    display: grid;
    gap: .65rem;
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 16px;
    background: #f8fafc;
}

.reprogramming-summary div {
    display: grid;
    grid-template-columns: minmax(110px, .45fr) 1fr;
    gap: .8rem;
}

.reprogramming-summary span {
    color: #64748b;
    font-weight: 650;
}

.reprogramming-summary strong {
    color: #0f172a;
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .reprogramming-page {
        padding: 2.5rem 0;
    }

    .reprogramming-hero,
    .form-grid-2 {
        grid-template-columns: 1fr;
    }

    .reprogramming-visual,
    .reprogramming-visual img,
    .reprogramming-visual-placeholder {
        min-height: 340px;
    }

    .reprogramming-panel-head {
        flex-direction: column;
    }

    .reprogramming-price {
        width: 100%;
        text-align: left;
    }

    .reprogramming-summary div {
        grid-template-columns: 1fr;
        gap: .2rem;
    }
}
