/* ===== Variables ===== */
:root {
    /* Colors - Inspiré du logo ITH Medical */
    --primary: #0891B2;      /* Bleu turquoise du logo */
    --primary-dark: #0E7490;
    --primary-light: #06B6D4;
    
    --secondary: #A3E635;    /* Vert citron accent (inspiré Sigma) */
    --secondary-dark: #84CC16;
    
    --dark: #0F172A;         /* Bleu marine très foncé */
    --dark-blue: #1E293B;    /* Bleu marine */
    --navy: #334155;         /* Bleu-gris */
    
    --white: #FFFFFF;
    --light: #F8FAFC;
    --gray: #94A3B8;
    --gray-dark: #64748B;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 120px;
    
    /* Effects */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.16);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===== Utilities ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.highlight {
    color: var(--secondary);
    font-weight: 700;
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--dark);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav__logo img {
    height: 50px;
    width: auto;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav__link {
    color: var(--white);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
}

.nav__link:hover {
    color: var(--primary-light);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__cta {
    background: var(--secondary);
    color: var(--dark);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
}

.nav__cta:hover {
    background: var(--secondary-dark);
    color: var(--dark);
    transform: translateY(-2px);
}

.nav__cta::after {
    display: none;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.nav__toggle span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-blue) 100%);
    padding: 180px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(8, 145, 178, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(163, 230, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero__container {
    position: relative;
    z-index: 1;
}

.hero__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero__title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero__description {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__icons {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 80px;
    flex-wrap: wrap;
}

.hero__icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(8, 145, 178, 0.1);
    border: 2px solid rgba(8, 145, 178, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.icon-wrapper:hover {
    background: rgba(8, 145, 178, 0.2);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.icon-wrapper svg {
    width: 32px;
    height: 32px;
    color: var(--primary-light);
}

.hero__icon span {
    color: var(--gray);
    font-size: 14px;
    font-weight: 500;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
}

.btn--primary {
    background: var(--secondary);
    color: var(--dark);
}

.btn--primary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(163, 230, 53, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn--large {
    padding: 16px 40px;
    font-size: 18px;
}

.btn svg {
    width: 20px;
    height: 20px;
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-tag {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: inline-block;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 18px;
    color: var(--gray-dark);
    line-height: 1.7;
}

/* ===== Solutions Section ===== */
.solutions {
    padding: var(--section-padding) 0;
    background: var(--light);
}

.solutions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 32px;
}

.solution-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.solution-card--featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.solution-card--featured .solution-card__title,
.solution-card--featured .solution-card__description,
.solution-card--featured .solution-card__features {
    color: var(--white);
}

.solution-card--featured .solution-card__icon {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.solution-card--featured .solution-card__icon svg {
    color: var(--white);
}

.solution-card__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary);
    color: var(--dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.solution-card__icon {
    width: 72px;
    height: 72px;
    background: rgba(8, 145, 178, 0.1);
    border: 2px solid rgba(8, 145, 178, 0.2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.solution-card__icon svg {
    width: 36px;
    height: 36px;
    color: var(--primary);
}

.solution-card__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.solution-card__description {
    color: var(--gray-dark);
    line-height: 1.7;
    margin-bottom: 24px;
}

.solution-card__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.solution-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--gray-dark);
}

.solution-card__features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}

.solution-card--featured .solution-card__features li::before {
    color: var(--white);
    background: var(--secondary);
    border-radius: 4px;
    padding: 2px 6px;
}

.solution-card--featured .solution-card__features li {
    color: rgba(255, 255, 255, 0.95);
}

.solution-card--featured .solution-card__description {
    color: rgba(255, 255, 255, 0.9);
}

/* ===== Expertise Section ===== */
.expertise {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.expertise__content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: start;
}

.expertise__description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray-dark);
    margin-bottom: 40px;
}

.expertise__values {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.value-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.value-icon {
    width: 56px;
    height: 56px;
    background: rgba(8, 145, 178, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.value-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.value-item p {
    color: var(--gray-dark);
    line-height: 1.6;
}

.expertise__stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stat-card {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-blue) 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 56px;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--gray);
    font-size: 16px;
    font-weight: 500;
}

/* ===== Services Section ===== */
.services {
    padding: var(--section-padding) 0;
    background: var(--light);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service-item {
    position: relative;
    padding-left: 32px;
}

.service-number {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.5;
}

.service-item h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-item p {
    color: var(--gray-dark);
    line-height: 1.7;
}

/* ===== CTA Section ===== */
.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-blue) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(8, 145, 178, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(163, 230, 53, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.cta__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta__title {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.cta__description {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    padding: 80px 0 40px;
    color: var(--gray);
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer__logo {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.footer__description {
    line-height: 1.7;
    max-width: 300px;
}

.footer__title {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a:hover {
    color: var(--primary-light);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__contact li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer__contact svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.footer__contact a:hover {
    color: var(--primary-light);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer__certif {
    color: var(--secondary);
    font-weight: 600;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero__title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 40px;
    }
    
    .expertise__content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer__content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--dark);
        padding: 40px 24px;
        transition: var(--transition);
    }
    
    .nav__menu.active {
        left: 0;
    }
    
    .nav__list {
        flex-direction: column;
        gap: 24px;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .hero {
        padding: 140px 0 60px;
    }
    
    .hero__title {
        font-size: 36px;
    }
    
    .hero__description {
        font-size: 18px;
    }
    
    .hero__buttons {
        flex-direction: column;
    }
    
    .hero__icons {
        gap: 32px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .solutions__grid {
        grid-template-columns: 1fr;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .cta__title {
        font-size: 36px;
    }
    
    .cta__buttons {
        flex-direction: column;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
    
    :root {
        --section-padding: 80px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}
