/* ============================================
   ODEO v2 — Mews Design System (faithful copy)
   Based on mews.com/fr analysis
   Colors, spacing, typography, components
   ============================================ */

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

:root {
    /* Mews exact color palette */
    --color-black: #000;
    --color-black-1: #1c1b1c;
    --color-charcoal: #2d2c37;
    --color-pink: #ff83da;
    --color-pink-light: #ffc5ee;
    --color-pink-lightest: #f7e1f7;
    --color-grey: #f4f5f9;
    --color-light-grey: #f4f5f9;
    --color-cream: #fffcf6;
    --color-white: #fff;
    --color-faded-grey: #d6d9e7;
    --color-supporting-grey: #c4c9dd;
    --color-orange: #ff5303;
    --color-yellow: #e8ff5b;
    --color-blue: #d2f4ff;
    --color-green: #d1f9d6;
    --color-text: #000;
    --color-text-secondary: #2d2c37;
    --color-border: rgba(0,0,0,0.1);

    /* Typography */
    --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: var(--font-sans);

    /* Easing */
    --ease-mews: cubic-bezier(.8,0,.2,1);
    --ease-mews-out: cubic-bezier(.6,0,.1,1);
    --ease-spring: cubic-bezier(.68,-.55,.265,1.55);

    /* Container */
    --container-max: 1280px;
    --container-padding: 1.5rem;

    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-full: 9999px;
    --color-purple-light: #e8d5f5;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.5;
}

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

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* ----- HEADER ----- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

@media (min-width: 1024px) {
    .header .container {
        height: 72px;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

.logo {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-black);
}
.logo span {
    color: var(--color-pink);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-charcoal);
    transition: color 0.2s;
    position: relative;
}
.nav a:hover {
    color: var(--color-pink);
}

.nav-cta {
    background: var(--color-black);
    color: var(--color-white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 600 !important;
    transition: opacity 0.2s;
}
.nav-cta:hover {
    opacity: 0.85;
    color: var(--color-white) !important;
}

/* ----- DROPDOWN MENU ----- */
.nav .dropdown {
    position: relative;
}

.nav .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
}

.nav .dropdown-arrow {
    transition: transform 0.25s var(--ease-mews);
    flex-shrink: 0;
}

.nav .dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(10px);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
    padding: 0.5rem;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease-mews), transform 0.25s var(--ease-mews), visibility 0.25s;
    z-index: 100;
}

.nav .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav .dropdown-menu a {
    display: block;
    padding: 0.625rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--color-charcoal);
    font-weight: 500;
    white-space: nowrap;
    font-size: 0.875rem;
    transition: background 0.15s, color 0.15s;
}

.nav .dropdown-menu a:hover {
    background: var(--color-grey);
    color: var(--color-pink);
}

.nav .dropdown-menu .dropdown-all {
    border-top: 1px solid var(--color-border);
    margin-top: 0.25rem;
    padding-top: 0.75rem;
    color: var(--color-black);
    font-weight: 600;
}

.nav .dropdown-menu .dropdown-all:hover {
    color: var(--color-pink);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-black);
}



/* ----- 2-COLUMN DROPDOWN (Solutions) ----- */
.nav .dropdown-menu.solutions-menu {
    min-width: 520px;
    padding: 0.75rem;
}

.nav .dropdown-menu.solutions-menu .menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.nav .dropdown-menu.solutions-menu .menu-column h4 {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #999;
    padding: 0.5rem 0.75rem 0.25rem;
    margin: 0;
}

.nav .dropdown-menu.solutions-menu .menu-column a {
    padding: 0.5rem 0.75rem;
}

.nav .dropdown-menu.solutions-menu .menu-column a:hover {
    background: var(--color-grey);
    color: var(--color-pink);
}

@media (max-width: 768px) {
    .nav .dropdown-menu.solutions-menu {
        min-width: auto;
        padding: 0 0 0 1.5rem;
    }
    .nav .dropdown-menu.solutions-menu .menu-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .nav .dropdown-menu.solutions-menu .menu-column h4 {
        font-size: 0.65rem;
        padding: 0.5rem 1rem 0.25rem;
        color: var(--color-pink);
    }
    .nav .dropdown-menu.solutions-menu .menu-column a {
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    .nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .nav.open {
        display: flex;
    }
    .nav a {
        padding: 0.75rem 1.5rem;
        width: 100%;
    }
    .nav-cta {
        margin: 0.5rem 1.5rem;
        text-align: center;
        border-radius: var(--radius-full);
    }
    .nav .dropdown {
        width: 100%;
    }
    .nav .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 0.75rem 1.5rem;
    }
    .nav .dropdown-menu {
        position: static;
        left: 0;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: transparent;
        padding: 0 0 0 1.5rem;
        min-width: auto;
        display: none;
        border-radius: 0;
        transition: none;
    }
    .nav .dropdown.open .dropdown-menu {
        display: block;
    }
    .nav .dropdown-menu a {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }
}

/* ----- HERO ----- */
.hero {
    padding-top: 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero .container {
    width: 100%;
}

.hero-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-card {
    background: var(--color-black);
    color: var(--color-white);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

@media (min-width: 640px) {
    .hero-card {
        padding: 3.5rem 3rem;
    }
}
@media (min-width: 1280px) {
    .hero-card {
        padding: 5rem;
    }
}

.hero-decor {
    position: absolute;
    top: 50%;
    left: -2.5rem;
    transform: translateY(-50%);
    width: 1.5rem;
    color: var(--color-pink);
    pointer-events: none;
}
@media (min-width: 640px) {
    .hero-decor {
        left: -3.5rem;
        width: 1.5rem;
    }
}
@media (min-width: 1280px) {
    .hero-decor {
        left: -5rem;
        width: 2.25rem;
    }
}

.hero-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-supporting-grey);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-label-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-pink);
}

.hero-card h1 {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    max-width: 90%;
}

@media (min-width: 640px) {
    .hero-card h1 {
        font-size: 2rem;
    }
}
@media (min-width: 1024px) {
    .hero-card h1 {
        font-size: 2.4rem;
    }
}

.hero-card p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-pink);
    color: var(--color-black);
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    transition: opacity 0.2s;
    width: fit-content;
}
.hero-btn:hover {
    opacity: 0.85;
}

.hero-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--ease-mews);
}
.hero-btn:hover svg {
    transform: translateX(4px);
}

.hero-image-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-grey);
    border-radius: var(--radius-md);
    padding: 2rem;
    min-height: 300px;
}
.hero-image-panel img {
    max-height: 350px;
    object-fit: contain;
}

/* ----- LOGO MARQUEE ----- */
.logos-section {
    padding: 3rem 0;
    background: var(--color-grey);
}

.logos-section .container > p {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-charcoal);
    margin-bottom: 2rem;
}

.logos-scroll {
    overflow: hidden;
    position: relative;
    height: 48px;
}
@media (min-width: 1024px) {
    .logos-scroll {
        height: 58px;
    }
}

.logos-track {
    display: flex;
    gap: 2rem;
    align-items: center;
    animation: scroll-logos 25s linear infinite;
    width: max-content;
    height: 100%;
}

.logos-track span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-charcoal);
    white-space: nowrap;
    opacity: 0.6;
}

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

/* ----- SECTION ----- */
.section {
    padding: 5rem 0;
}
.section-dark {
    background: var(--color-grey);
}
.section-cream {
    background: var(--color-cream);
}
.section-white {
    background: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}
@media (min-width: 768px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
}
.section-header p {
    color: var(--color-charcoal);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ----- PRODUCT CARDS (section 3 style) ----- */
.cards-grid {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 640px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card-link {
    display: flex;
    flex-direction: column;
    background: var(--color-grey);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    transition: background-color 0.3s;
    cursor: pointer;
}

.card-link:hover {
    background: var(--color-pink-lightest);
}

.card-link .card-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 1rem;
    color: var(--color-black);
}
.card-link .card-icon svg {
    width: 100%;
    height: 100%;
}

.card-link h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.card-link p {
    font-size: 0.875rem;
    color: var(--color-charcoal);
    opacity: 0.8;
    line-height: 1.6;
}

.section-title-card {
    grid-column: 1 / -1;
    padding-right: 2rem;
}
@media (min-width: 640px) {
    .section-title-card {
        grid-column: span 1;
    }
}
@media (min-width: 1024px) {
    .section-title-card {
        grid-column: span 1;
    }
}
.section-title-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ----- FEATURE GRID (section 4 style) ----- */
.features-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border-radius: var(--radius-md);
    transition: transform 0.5s var(--ease-mews);
    padding: 1.5rem;
    min-height: 300px;
}

.feature-card.feature-pms {
    grid-column: span 3;
    grid-row: span 2;
    background: var(--color-pink-light);
}

.feature-card.feature-pos {
    grid-column: span 2;
    background: var(--color-blue);
}

.feature-card.feature-borne {
    grid-column: span 2;
    background: var(--color-yellow);
}

.feature-card.feature-tpe {
    grid-column: span 2;
    background: var(--color-green);
}

.feature-card.feature-pda {
    grid-column: span 2;
    background: var(--color-grey);
}

.feature-card .feature-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 0.75rem;
}
.feature-card .feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.feature-card p {
    font-size: 0.875rem;
    opacity: 0.7;
}

.feature-card a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 1rem;
    transition: gap 0.3s var(--ease-mews);
}
.feature-card a:hover {
    gap: 0.5rem;
}
.feature-card a svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 767px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .feature-card {
        grid-column: 1 !important;
        grid-row: auto !important;
        min-height: 200px;
    }
}

/* ----- TESTIMONIAL ----- */
.testimonial-section {
    padding: 3rem 0;
    text-align: center;
    background: var(--color-white);
}

.testimonial-block {
    max-width: 848px;
    margin: 0 auto;
}


@media (min-width: 1024px) {
    .testimonial-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    color: var(--color-pink);
    margin-bottom: 0.5rem;
}
}

.testimonial-block blockquote {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 2rem;
}
@media (min-width: 768px) {
    .testimonial-block blockquote {
        font-size: 2rem;
    }
}

.testimonial-author {
    font-size: 0.875rem;
    color: var(--color-charcoal);
}
.testimonial-author strong {
    display: block;
    font-weight: 600;
}

/* ----- CTA SECTION ----- */
.cta-section {
    padding: 5rem 0;
    background: var(--color-grey);
}

.cta-section .container {
    display: flex;
    flex-direction: column;
}

.cta-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
@media (max-width: 1023px) {
    .cta-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.cta-header h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    max-width: 38rem;
}
.cta-header-text {
    font-size: 1.125rem;
    opacity: 0.8;
    margin-top: 1rem;
    max-width: 37.625rem;
}

.cta-buttons-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}
.cta-btn-primary {
    background: var(--color-pink);
    color: var(--color-black);
}
.cta-btn-primary:hover {
    opacity: 0.85;
}
.cta-btn-secondary {
    background: transparent;
    color: var(--color-black);
    border: 1px solid rgba(0,0,0,0.15);
}
.cta-btn-secondary:hover {
    background: rgba(0,0,0,0.05);
}

.cta-carousel {
    position: relative;
    max-width: 100%;
}

.cta-carousel {
    position: relative;
    max-width: 100%;
}
.cta-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 100%;
    overflow: hidden;
}
.cta-cards {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
    flex: 1;
    scroll-behavior: smooth;
    max-width: 100%;
}
.cta-cards::-webkit-scrollbar {
    display: none;
}
.cta-cards.dragging {
    scroll-snap-type: none;
    cursor: grab;
    user-select: none;
}

/* Carousel buttons */
.carousel-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: var(--color-black);
}
.carousel-btn:hover {
    background: var(--color-grey);
    border-color: var(--color-charcoal);
}
.carousel-btn:active {
    transform: scale(0.95);
}
.carousel-btn svg {
    width: 18px;
    height: 18px;
}
.carousel-btn:disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

/* Hide buttons on mobile */


.cta-card-item {
    flex: 0 0 auto;
    min-width: 220px;
    width: 240px;
    scroll-snap-align: start;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}
.cta-card-item .card-label {
    font-size: 0.875rem;
    color: var(--color-charcoal);
    opacity: 0.7;
    margin-bottom: 1rem;
}
.cta-card-item .card-desc {
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ----- INTEGRATIONS ----- */
.integrations-section {
    padding: 5rem 0;
}

.integrations-grid {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}
@media (max-width: 767px) {
    .integrations-grid {
        flex-direction: column;
    }
}

.integrations-text {
    flex: 1;
    max-width: 472px;
    padding: 2rem 0;
}

.integrations-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    display: block;
}

.integrations-text h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}
.integrations-text p {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 2rem;
}


.integration-logo-item {
    background: var(--color-grey);
    border-radius: var(--radius-md);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    aspect-ratio: 1;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    color: var(--color-charcoal);
    transition: background 0.3s, transform 0.3s;
}
.integration-logo-item:hover {
    background: var(--color-pink-lightest);
    transform: translateY(-2px);
}
.integration-logo-item .icon-svg {
    width: 36px;
    height: 36px;
    color: var(--color-black);
}
.integration-logo-item .icon-svg svg {
    width: 100%;
    height: 100%;
}

/* ----- AWARDS ----- */
.awards-section {
    padding: 4rem 0;
    background: var(--color-grey);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.5rem;
}
@media (min-width: 640px) {
    .awards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 1024px) {
    .awards-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.award-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    text-align: center;
}

.award-badge {
    width: 56px;
    height: 56px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    color: var(--color-black);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}
.award-badge svg {
    width: 24px;
    height: 24px;
    color: var(--color-black);
}
.award-item:hover .award-badge {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.award-item span {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
}

/* ----- PAGE HEADER (inner pages) ----- */
.page-header {
    padding-top: 120px;
    padding-bottom: 3rem;
    background: var(--color-grey);
}
.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}
.page-header p {
    color: var(--color-charcoal);
    opacity: 0.8;
    max-width: 600px;
    font-size: 1.125rem;
}

/* ----- CONTACT FORM ----- */
.contact-grid {
    display: grid;
    gap: 3rem;
}
@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-faded-grey);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    background: var(--color-white);
    transition: border-color 0.2s;
}
.form-control:focus {
    outline: none;
    border-color: var(--color-pink);
}
textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.contact-item-icon {
    width: 40px;
    height: 40px;
    background: var(--color-grey);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.contact-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.contact-item p {
    font-size: 0.875rem;
    color: var(--color-charcoal);
    opacity: 0.8;
}

/* ----- FOOTER ----- */
.footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 2rem;
}
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand .logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
    color: var(--color-white);
}

.footer-brand p {
    font-size: 0.875rem;
    opacity: 0.6;
    max-width: 300px;
}

.footer h4 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
    opacity: 0.5;
}

.footer a {
    display: block;
    font-size: 0.875rem;
    opacity: 0.7;
    margin-bottom: 0.75rem;
    transition: opacity 0.2s;
}
.footer a:hover {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    opacity: 0.4;
}

/* ----- UTILITY ----- */
.text-gradient {
    background: linear-gradient(135deg, var(--color-pink), var(--color-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    width: fit-content;
}

.btn-primary {
    background: var(--color-pink);
    color: var(--color-black);
}
.btn-primary:hover {
    opacity: 0.85;
}

.btn-secondary {
    background: transparent;
    color: var(--color-black);
    border: 1px solid rgba(0,0,0,0.15);
}
.btn-secondary:hover {
    background: rgba(0,0,0,0.05);
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ----- RESPONSIVE HELPERS ----- */
@media (max-width: 639px) {
    .hide-mobile {
        display: none !important;
    }
}

/* ----- SCROLL ANIMATIONS ----- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s var(--ease-mews);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ----- HERO STATS (optional, from earlier version) ----- */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--color-border);
    margin-top: 3rem;
}
.stat {
    text-align: center;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.stat-label {
    font-size: 0.875rem;
    color: var(--color-charcoal);
    opacity: 0.7;
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(.25,.1,.25,1), transform 0.7s cubic-bezier(.25,.1,.25,1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(.25,.1,.25,1), transform 0.7s cubic-bezier(.25,.1,.25,1);
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(.25,.1,.25,1), transform 0.7s cubic-bezier(.25,.1,.25,1);
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s cubic-bezier(.25,.1,.25,1), transform 0.6s cubic-bezier(.25,.1,.25,1);
}
.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.35s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.4s; }

/* Floating animation for hero image */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.animate-float {
    animation: float 4s cubic-bezier(.4,0,.2,1) infinite;
}

/* Pulse glow for CTA buttons */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,131,218,0.4); }
    50% { box-shadow: 0 0 0 12px rgba(255,131,218,0); }
}
.animate-glow {
    animation: pulse-glow 2s infinite;
}

/* Logo marquee scrolling */
@keyframes logo-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.logo-marquee-track {
    display: flex;
    gap: 3rem;
    align-items: center;
    width: max-content;
    animation: logo-scroll 60s linear infinite;
}
.logo-marquee-track:hover {
    animation-play-state: paused;
}
.logo-marquee-track img {
    height: 32px;
    width: auto;
    opacity: 0.5;
    transition: opacity 0.3s;
    filter: grayscale(100%);
}
.logo-marquee-track img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Logo marquee wrapper */
.logo-marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}
.logo-marquee-wrapper::before,
.logo-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.logo-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--color-grey), transparent);
}
.logo-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--color-grey), transparent);
}

/* Counter animation */
@keyframes count-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.count-animate {
    animation: count-up 0.5s ease forwards;
}

/* Card hover lift */
.card-link {
    transition: transform 0.3s cubic-bezier(.25,.1,.25,1), 
                background-color 0.3s ease, 
                box-shadow 0.3s ease;
}
.card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

/* Feature card hover effect */
.feature-card {
    transition: transform 0.4s cubic-bezier(.25,.1,.25,1);
}
.feature-card:hover {
    transform: scale(1.02);
}

/* Smooth scroll for the whole page */
html {
    scroll-behavior: smooth;
}

/* Logo section enhancement */
.logos-section {
    padding: 2.5rem 0;
}
.logos-section .container > p {
    margin-bottom: 2rem;
}

/* Client logo grid fallback for no-js */
.client-logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 3rem;
    align-items: center;
}
.client-logos-grid img {
    height: 28px;
    width: auto;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: opacity 0.3s, filter 0.3s;
}
.client-logos-grid img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

@media (min-width: 768px) {
    .client-logos-grid img {
        height: 32px;
    }
}



/* ===== BLOG LISTING ===== */
.blog-listing {
    padding: 120px 0 80px;
    background: #f4f5f9;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #e8eaf0;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 25px;
}

.blog-card-category {
    display: inline-block;
    background: rgba(255,131,218,0.12);
    color: #ff83da;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.blog-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    color: #111;
    margin-bottom: 10px;
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: #888;
}

/* ===== BLOG ARTICLE ===== */
.blog-article {
    padding: 120px 0 60px;
    background: #fff;
}

.blog-article .container {
    max-width: 760px;
}

.blog-article-header {
    margin-bottom: 40px;
}

.blog-article-header h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    color: #111;
    margin: 15px 0;
}

.blog-article-meta {
    display: flex;
    gap: 20px;
    font-size: 0.88rem;
    color: #888;
}

.blog-article-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111;
    margin-top: 40px;
    margin-bottom: 16px;
}

.blog-article-content p {
    font-size: 1.02rem;
    line-height: 1.75;
    color: #333;
    margin-bottom: 18px;
}

.blog-article-content ul {
    margin: 0 0 20px 20px;
    padding: 0;
}

.blog-article-content ul li {
    font-size: 1.02rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 8px;
}

.blog-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e8eaf0;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-pagination a {
    color: #ff83da;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: color 0.3s ease;
}

.blog-pagination a:hover {
    color: #e06db8;
}

.blog-back {
    color: #888 !important;
    font-weight: 400 !important;
}

.blog-back:hover {
    color: #555 !important;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-article-header h1 {
        font-size: 1.5rem;
    }
    .blog-pagination {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   REVEAL SCROLL ANIMATIONS
   ============================================ */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-scale {
    transform: scale(0.95);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   LOGO MARQUEE / CLIENT CAROUSEL
   ============================================ */
.logos-section {
    padding: 3rem 0;
    overflow: hidden;
    background: var(--color-white, #fff);
}

.logos-section .container p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-secondary, #666);
    margin-bottom: 2rem;
    font-weight: 400;
}

.logo-marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.logo-marquee-wrapper::before,
.logo-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.logo-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--color-white, #fff), transparent);
}

.logo-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--color-white, #fff), transparent);
}

.logo-marquee-track {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    animation: marqueeScroll 35s linear infinite;
    width: max-content;
}

.logo-marquee-track img {
    height: 32px;
    width: auto;
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    filter: grayscale(30%);
}

.logo-marquee-track img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

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

/* Pause on hover */
.logo-marquee-wrapper:hover .logo-marquee-track {
    animation-play-state: paused;
}

/* ============================================
   CTA CAROUSEL
   ============================================ */
.cta-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 100%;
    overflow: hidden;
}

.cta-carousel {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1.5rem;
}

.cta-carousel > * {
    min-width: calc(33.333% - 1rem);
    flex-shrink: 0;
}



.carousel-btn:hover {
    background: var(--color-pink, #ff83da);
    border-color: var(--color-pink, #ff83da);
    color: #fff;
}

.carousel-prev {
    left: -22px;
}

.carousel-next {
    right: -22px;
}

@media (max-width: 992px) {
    .cta-carousel > * {
        min-width: calc(50% - 0.75rem);
    }
}

@media (max-width: 576px) {
    .cta-carousel > * {
        min-width: 100%;
    }
    .carousel-prev {
        left: 10px;
    }
    .carousel-next {
        right: 10px;
    }
}

/* ============================================
   INTEGRATIONS LOGOS
   ============================================ */
.integrations-logos {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    align-content: center;
}

.integration-logo-item {
    flex-shrink: 0;
}

.integration-logo-item img {
    height: 32px;
    width: auto;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .carousel-btn {
        width: 36px;
        height: 36px;
    }
    .carousel-btn svg {
        width: 16px;
        height: 16px;
    }
    .cta-card-item {
        width: 220px;
        padding: 1rem;
    }
}


/* ===== MISSING STYLES from v2 ===== */

.cta-card-item .card-stat {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.cta-card-item .card-label {
    font-size: 0.875rem;
    color: var(--color-charcoal);
    opacity: 0.7;
    margin-bottom: 1rem;
}

.cta-card-item .card-desc {
    font-size: 0.875rem;
    line-height: 1.6;
}

.integration-logo-item .icon-svg {
    width: 36px;
    height: 36px;
    color: var(--color-black);
}

.integration-logo-item .icon-svg {
    width: 36px;
    height: 36px;
    color: var(--color-black);
}

@media (max-width: 768px) {
    .cta-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .cta-card-item {
        min-width: 180px;
        width: 200px;
        padding: 1rem;
    }
    .carousel-btn {
        width: 36px;
        height: 36px;
    }
    .carousel-btn svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 768px) {
    .testimonial-section {
        text-align: center;
    }
    .testimonial-icon {
        width: 16px !important;
        height: 16px !important;
        margin-bottom: 0.3rem;
        color: var(--color-pink) !important;
        margin-left: auto;
        margin-right: auto;
    }
    .testimonial-block blockquote {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .integrations-grid {
        flex-direction: column;
    }
    .integrations-text {
        max-width: 100%;
        padding: 1rem 0;
        text-align: center;
    }
    .integrations-logos {
        justify-self: center;
        margin: 0 auto;
        max-width: 100%;
    }
    .integration-logo-item {
        min-width: 100px;
        padding: 1rem 0.75rem;
    }
}

/* ===== FEATURES DETAIL SECTION (fonctionnalites-pos, fonctionnalites-pms) ===== */
.section-features-detail {
    padding: 4rem 0;
    background: var(--color-white);
}

.section-features-detail .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-features-detail .section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-features-detail .section-header p {
    font-size: 1rem;
    color: var(--color-charcoal);
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

.features-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .features-detail-grid {
        grid-template-columns: 1fr;
    }
}

.feature-detail-card {
    background: var(--color-grey);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: box-shadow 0.3s var(--ease-mews), transform 0.3s var(--ease-mews);
}

.feature-detail-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.feature-detail-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-pink);
}

.feature-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.35rem 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--color-charcoal);
}

.feature-detail-list li svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
}


/* Feature card purple */
.feature-card.feature-purple {
    grid-column: span 2;
    background: var(--color-purple-light);
}
