/* ============================================================
   MMSI – Monnayeurs Cashlogy
   Style principal – Design professionnel, moderne, responsive
   ============================================================ */

/* ---- Variables ---- */
:root {
    --color-primary: #0f2b5b;
    --color-primary-dark: #091e42;
    --color-primary-light: #1a3d7a;
    --color-accent: #0096d6;
    --color-accent-hover: #007ab8;
    --color-text: #1a1a2e;
    --color-text-light: #5a6478;
    --color-bg: #ffffff;
    --color-bg-alt: #f5f7fa;
    --color-bg-dark: #0f2b5b;
    --color-border: #e2e8f0;
    --color-white: #ffffff;

    --font-family: 'Inter', sans-serif;
    --font-size-base: 16px;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 2px 8px rgba(15, 43, 91, 0.08);
    --shadow-md: 0 8px 24px rgba(15, 43, 91, 0.12);
    --shadow-lg: 0 16px 48px rgba(15, 43, 91, 0.18);

    --transition: 0.25s ease;
    --header-height: 72px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: var(--font-size-base); }
body {
    font-family: var(--font-family);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ---- Layout ---- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.section {
    padding: 96px 0;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: all var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}
.btn--primary {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}
.btn--primary:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 150, 214, 0.35);
}
.btn--outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn--outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-1px);
}
.btn--outline-white {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255,255,255,0.7);
}
.btn--outline-white:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--color-white);
}
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }
.btn--full { width: 100%; justify-content: center; }

/* ---- Section Header ---- */
.section__header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}
.section__badge {
    display: inline-block;
    background: rgba(0, 150, 214, 0.1);
    color: var(--color-accent);
    border: 1px solid rgba(0, 150, 214, 0.2);
    border-radius: 100px;
    padding: 6px 18px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 20px;
}
.section__desc {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.7;
}
.accent { color: var(--color-accent); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition);
}
.header.scrolled {
    box-shadow: var(--shadow-md);
}
.header__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: var(--header-height);
}
.header__logo {
    flex-shrink: 0;
}
.header__logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}
.header__nav {
    flex: 1;
}
.header__nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}
.header__nav-link {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    transition: all var(--transition);
}
.header__nav-link:hover,
.header__nav-link.active {
    color: var(--color-accent);
    background: rgba(0, 150, 214, 0.08);
}
.header__cta { margin-left: auto; flex-shrink: 0; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    margin-left: auto;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--header-height);
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(9, 30, 66, 0.88) 0%,
        rgba(9, 30, 66, 0.65) 50%,
        rgba(9, 30, 66, 0.45) 100%
    );
}
.hero__content {
    position: relative;
    z-index: 1;
    padding: 80px 24px;
}
.hero__text {
    max-width: 620px;
}
.hero__badge {
    display: inline-block;
    background: rgba(0, 150, 214, 0.2);
    border: 1px solid rgba(0, 150, 214, 0.4);
    color: #7dd3f8;
    border-radius: 100px;
    padding: 6px 18px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 520px;
}
.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero__stats {
    position: relative;
    z-index: 1;
    background: rgba(9, 30, 66, 0.7);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255,255,255,0.1);
}
.hero__stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 24px 0;
    gap: 1px;
}
.hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 24px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.hero__stat:last-child { border-right: none; }
.hero__stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 4px;
}
.hero__stat-icon {
    font-size: 1.4rem;
    margin-bottom: 4px;
}
.hero__stat-icon--success {
    color: #22c55e;
}
.hero__stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* ============================================================
   CASHLOGY SECTION
   ============================================================ */
.cashlogy-section {
    background: var(--color-bg-alt);
}
.cashlogy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.cashlogy-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}
.cashlogy-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 150, 214, 0.2);
}
.cashlogy-card__icon {
    font-size: 2rem;
    margin-bottom: 16px;
}
.cashlogy-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}
.cashlogy-card__text {
    font-size: 0.92rem;
    color: var(--color-text-light);
    line-height: 1.65;
}

/* ============================================================
   WHY SECTION
   ============================================================ */
.why-section {
    background: var(--color-white);
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.why-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: var(--color-bg-alt);
    transition: all var(--transition);
}
.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: var(--color-white);
    border-color: var(--color-accent);
}
.why-card__icon-wrap {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.why-card__icon-wrap svg {
    width: 24px;
    height: 24px;
    color: white;
    stroke: white;
}
.why-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}
.why-card__text {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.65;
}

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
.products-section {
    background: var(--color-bg-alt);
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
}
.product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.product-card__img-wrap {
    position: relative;
    height: 320px;
    overflow: hidden;
}
.product-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.product-card:hover .product-card__img {
    transform: scale(1.04);
}
.product-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--color-primary);
    color: white;
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.product-card__badge--premium {
    background: linear-gradient(135deg, var(--color-accent), #0057a8);
}
.product-card__body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-card__name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 12px;
}
.product-card__desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}
.product-card__features {
    margin-bottom: 28px;
    flex: 1;
}
.product-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
    color: var(--color-text);
    line-height: 1.5;
}
.product-card__features li::before {
    content: '✓';
    color: var(--color-accent);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}
.product-card__features li:last-child { border-bottom: none; }
.product-card__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 30, 66, 0.75);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    backdrop-filter: blur(4px);
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.95);
    transition: all var(--transition);
    box-shadow: var(--shadow-lg);
}
.modal-overlay.active .modal {
    transform: scale(1);
}
.modal__close {
    position: sticky;
    top: 16px;
    left: calc(100% - 56px);
    float: right;
    width: 40px;
    height: 40px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    font-size: 1rem;
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px 16px 0 0;
    z-index: 10;
    transition: all var(--transition);
}
.modal__close:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}
.modal__content {
    padding: 0 40px 40px;
    clear: both;
}
.modal-product__img-wrap {
    margin: 0 -40px 32px;
    height: 280px;
    overflow: hidden;
}
.modal-product__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.modal-product__badge {
    display: inline-block;
    background: rgba(0, 150, 214, 0.1);
    color: var(--color-accent);
    border: 1px solid rgba(0, 150, 214, 0.2);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.modal-product__name {
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: 16px;
}
.modal-product__desc {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--color-border);
}
.modal-product__section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.85rem;
}
.modal-product__features {
    margin-bottom: 28px;
}
.modal-product__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.5;
}
.modal-product__features li::before {
    content: '✓';
    color: var(--color-accent);
    font-weight: 700;
    flex-shrink: 0;
}
.modal-product__features li:last-child { border-bottom: none; }
.modal-product__specs {
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 28px;
}
.modal-product__specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}
.modal-product__spec-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.modal-product__spec-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.modal-product__spec-value {
    font-size: 0.95rem;
    color: var(--color-primary);
    font-weight: 600;
}
.modal-product__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

/* ============================================================
   STEPS SECTION
   ============================================================ */
.steps-section {
    background: var(--color-primary);
}
.steps-section .section__title,
.steps-section .section__desc { color: white; }
.steps-section .section__desc { color: rgba(255,255,255,0.75); }
.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 0;
}
.step-card {
    text-align: center;
    padding: 32px 20px;
}
.step-connector {
    display: flex;
    align-items: flex-start;
    padding-top: 60px;
    color: rgba(0, 150, 214, 0.5);
    font-size: 2rem;
    align-self: start;
}
.step-connector::after {
    content: '→';
    font-size: 1.5rem;
    color: rgba(255,255,255,0.3);
}
.step-card__number {
    display: inline-block;
    width: 48px;
    height: 48px;
    background: var(--color-accent);
    color: white;
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 48px;
    text-align: center;
    margin-bottom: 16px;
}
.step-card__icon {
    font-size: 2rem;
    margin-bottom: 16px;
}
.step-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}
.step-card__text {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.65;
}

/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery-section {
    background: var(--color-white);
}
.gallery-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}
.gallery-filter {
    padding: 8px 22px;
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 500;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    transition: all var(--transition);
}
.gallery-filter:hover,
.gallery-filter.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    grid-auto-rows: 260px;
}
.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background: var(--color-bg-alt);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.gallery-item--wide {
    grid-column: span 2;
}
.gallery-item:not(.gallery-item--placeholder):hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}
.gallery-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    display: block;
}
.gallery-item:hover .gallery-item__img {
    transform: scale(1.05);
}
.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 30, 66, 0.82) 0%, rgba(9, 30, 66, 0.1) 55%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 18px 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-item__overlay {
    opacity: 1;
}
.gallery-item__overlay-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.gallery-item__label {
    color: white;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.2;
}
.gallery-item__model {
    color: rgba(0, 200, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}
.gallery-item__zoom {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: flex-end;
    transition: background 0.2s;
}
.gallery-item:hover .gallery-item__zoom { background: rgba(0, 150, 214, 0.5); }
.gallery-item__zoom svg {
    width: 18px;
    height: 18px;
    stroke: white;
}
.gallery-item--placeholder {
    cursor: default;
    box-shadow: none;
}
.gallery-item--placeholder:hover {
    transform: none;
    box-shadow: none;
}
.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--color-bg-alt);
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-md);
}
.gallery-placeholder__icon { font-size: 2.5rem; opacity: 0.35; }
.gallery-placeholder__text {
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.8;
}
.gallery-placeholder__text small { opacity: 0.7; font-size: 0.78rem; }

/* Note d'ajout photos */
.gallery-add-note {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 32px;
    padding: 18px 22px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-accent);
}
.gallery-add-note__icon { font-size: 1.5rem; flex-shrink: 0; }
.gallery-add-note__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.6;
}
.gallery-add-note__text strong { color: var(--color-primary); font-size: 0.9rem; }
.gallery-add-note__text code {
    font-family: monospace;
    background: var(--color-border);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--color-primary);
}

/* ---- Lightbox ---- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.active {
    opacity: 1;
    visibility: visible;
}
.lightbox__img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: calc(100vw - 160px);
    max-height: 88vh;
}
.lightbox__img {
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    transition: opacity 0.15s ease;
    display: block;
}
.lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    cursor: pointer;
}
.lightbox__close svg { width: 18px; height: 18px; stroke: white; }
.lightbox__close:hover { background: rgba(255,255,255,0.25); transform: scale(1.1); }
.lightbox__counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 100px;
    letter-spacing: 0.05em;
}
.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    cursor: pointer;
}
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }
.lightbox__prev:hover, .lightbox__next:hover {
    background: rgba(0, 150, 214, 0.5);
    border-color: rgba(0, 150, 214, 0.7);
    transform: translateY(-50%) scale(1.05);
}

@media (max-width: 768px) {
    .lightbox__img-wrap { max-width: 95vw; }
    .lightbox__prev { left: 8px; width: 44px; height: 44px; }
    .lightbox__next { right: 8px; width: 44px; height: 44px; }
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
    background: var(--color-bg-alt);
    padding: 72px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.stat-block {
    background: white;
    text-align: center;
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.stat-block__number {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
    letter-spacing: -0.03em;
}
.stat-block__label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-align: center;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
    background: var(--color-white);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-title { text-align: left; }
.about-text {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 1rem;
}
.about-values {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}
.about-value {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.about-value__icon { font-size: 1.5rem; flex-shrink: 0; }
.about-value div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.about-value strong {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 0.95rem;
}
.about-value span {
    font-size: 0.88rem;
    color: var(--color-text-light);
}
.about-image {
    position: relative;
}
.about-image__img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}
.about-image__caption {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}
.about-image__logo {
    height: 40px;
    width: auto;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    padding: 80px 0;
}
.cta-box {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}
.cta-box__title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    line-height: 1.25;
}
.cta-box__text {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
    line-height: 1.7;
}
.cta-box__contacts {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.cta-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-md);
    padding: 14px 24px;
    color: white;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all var(--transition);
}
.cta-contact-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}
.cta-contact-item__icon { font-size: 1.2rem; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
    background: var(--color-bg-alt);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}
.contact-title { text-align: left; margin-top: 12px; }
.contact-info__text {
    color: var(--color-text-light);
    line-height: 1.75;
    margin-bottom: 36px;
    font-size: 1rem;
}
.contact-info__items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.contact-info__item-icon {
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-info__item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.contact-info__item strong {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.contact-info__link {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-accent);
    transition: color var(--transition);
}
.contact-info__link:hover { color: var(--color-primary); }

/* Form */
.contact-form-wrap {
    background: white;
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--color-text);
    background: white;
    transition: all var(--transition);
    outline: none;
}
.form-input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 150, 214, 0.12);
}
.form-input::placeholder { color: #a0aab8; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235a6478' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.form-textarea { resize: vertical; min-height: 130px; }
.form-note {
    font-size: 0.8rem;
    color: var(--color-text-light);
    background: var(--color-bg-alt);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--color-accent);
    margin-bottom: 24px;
    line-height: 1.65;
}
.form-note__link {
    color: var(--color-accent);
    text-decoration: underline;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--color-primary-dark);
    color: rgba(255,255,255,0.8);
}
.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding: 72px 24px 48px;
}
.footer__logo {
    height: 216px;
    width: auto;
    margin-bottom: 16px;
}
.footer__tagline {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}
.footer__heading {
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.footer__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer__list li a,
.footer__list li {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    transition: color var(--transition);
    line-height: 1.5;
}
.footer__list li a:hover { color: var(--color-accent); }
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 24px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}
[data-animate-delay="1"] { transition-delay: 0.1s; }
[data-animate-delay="2"] { transition-delay: 0.2s; }
[data-animate-delay="3"] { transition-delay: 0.3s; }
[data-animate-delay="4"] { transition-delay: 0.4s; }
[data-animate-delay="5"] { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE – Tablette (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .cashlogy-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-image__caption { display: none; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
    .steps-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .step-connector { display: none; }
    .hero__stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hero__stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .hero__stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
    .hero__stat:nth-child(3),
    .hero__stat:nth-child(4) { border-bottom: none; }
}

/* ============================================================
   RESPONSIVE – Mobile (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .header__nav { display: none; }
    .header__cta { display: none; }
    .hamburger { display: flex; }

    .header__nav.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        z-index: 999;
        padding: 24px;
        gap: 0;
    }
    .header__nav.open .header__nav-list {
        flex-direction: column;
        gap: 4px;
        width: 100%;
    }
    .header__nav.open .header__nav-link {
        padding: 14px 16px;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--color-border);
        width: 100%;
    }
    .header__nav.open::after {
        content: '';
        display: block;
        margin-top: 24px;
    }

    .hero__content { padding: 48px 24px; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { text-align: center; justify-content: center; }
    .hero__stats-grid { grid-template-columns: repeat(2, 1fr); }

    .cashlogy-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
    .gallery-item--wide { grid-column: span 2; }
    .stats-grid { grid-template-columns: 1fr; gap: 1px; }
    .steps-grid { grid-template-columns: 1fr; gap: 16px; }
    .contact-form-wrap { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr; gap: 28px; padding: 40px 24px 32px; }
    .cta-box__contacts { flex-direction: column; align-items: center; }
    .modal__content { padding: 0 20px 28px; }
    .modal-product__img-wrap { margin: 0 -20px 24px; height: 200px; }
    .modal-product__specs-grid { grid-template-columns: 1fr; }
    .section__header { margin-bottom: 40px; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
    .gallery-item--wide { grid-column: span 1; }
    .hero__stats-grid { grid-template-columns: 1fr; }
    .hero__stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .hero__stat:last-child { border-bottom: none; }
    .gallery-add-note { flex-direction: column; gap: 10px; }
}
