/* RESET SIMPLE */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===================================
   SMOOTH SCROLL + OFFSET HEADER FIXE
   =================================== */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Ajustez selon hauteur de votre header */
}

/* Animation douce lors du clic sur les liens */
a[href^="#"] {
    transition: color 0.3s ease;
}

a[href^="#"]:hover {
    color: #0066cc;
    /* Changez selon votre charte graphique */
}

/* Marge en haut de chaque section avec ancre */
section[id] {
    scroll-margin-top: 100px;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #111827;
    background-color: #f3f4f6;
    line-height: 1.6;
}

/* LAYOUT DE BASE */
.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* HEADER */
.header {
    background-color: #020617;
    color: #f9fafb;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.35);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 0;
}

.logo-main {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.logo-sub {
    display: block;
    font-size: 0.78rem;
    opacity: 0.75;
}

/* Logo image réel - TAILLE MAXIMALE */
.logo-image {
    height: 180px;
    width: auto;
    display: block;
    max-width: 100%;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.nav a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.nav a:hover {
    background-color: #1e293b;
    color: #f9fafb;
    transform: translateY(-1px);
}

/* HERO */
.hero {
    background: radial-gradient(circle at top left, #0ea5e9 0%, #0f172a 45%, #020617 100%);
    color: #f9fafb;
    padding: 4rem 0 3.5rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2.5rem;
    align-items: center;
}

.hero h1 {
    font-size: 2.3rem;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.hero p {
    font-size: 1.02rem;
    max-width: 38rem;
    margin-bottom: 1.75rem;
    color: #e5e7eb;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-highlight {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.75));
    padding: 1.6rem;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.45);
}

.hero-highlight h2 {
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
}

.hero-highlight ul {
    list-style: none;
    padding-left: 0;
}

.hero-highlight li {
    position: relative;
    padding-left: 1.3rem;
    margin-bottom: 0.45rem;
    font-size: 0.95rem;
}

.hero-highlight li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fbbf24, #f97316);
}

/* SECTIONS GÉNÉRALES */
.section {
    padding: 3.25rem 0;
    background-color: #f3f4f6;
}

.section-alt {
    background-color: #ffffff;
}

.section h2 {
    font-size: 1.7rem;
    margin-bottom: 1.7rem;
    color: #0f172a;
    position: relative;
}

.section h2::after {
    content: "";
    display: block;
    width: 3rem;
    height: 3px;
    margin-top: 0.5rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #fbbf24, #f97316);
}

.section h3 {
    font-size: 1.08rem;
    margin-bottom: 0.8rem;
    color: #111827;
}

.section p {
    margin-bottom: 0.75rem;
    color: #4b5563;
    font-size: 0.97rem;
}

/* GRIDS */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.1rem;
    margin-top: 1.6rem;
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.7rem;
    margin-top: 1.7rem;
}

.card {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 1.35rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    border-color: #d1d5db;
}

/* Secteurs avec images */
.sectors {
    margin-top: 1.7rem;
}

.sector-card h4 {
    margin-top: 0.8rem;
    margin-bottom: 0.35rem;
    font-size: 1rem;
}

.sector-card p {
    font-size: 0.9rem;
}

.sector-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

/* CHIPS / SECTEURS */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.35rem;
}

.chip {
    background-color: #e0f2fe;
    color: #0f172a;
    border-radius: 999px;
    padding: 0.28rem 0.9rem;
    font-size: 0.8rem;
    border: 1px solid #bae6fd;
}

/* REFERENCES (typologie) */
.logos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.3rem;
}

.logo-ref {
    border-radius: 999px;
    border: 1px solid #d1d5db;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    background-color: #f9fafb;
}

/* LISTE SIMPLE DES CLIENTS */
.clients-list {
    margin-top: 2.5rem;
}

.clients-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.clients-list li {
    text-align: center;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.clients-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
}

/* POURQUOI NOUS CHOISIR ?*/
.feature-card {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.7rem;
    color: #0f172a;
}

.feature-card p {
    font-size: 0.92rem;
    color: #4b5563;
    line-height: 1.5;
}

/* FORMULAIRE DE CONTACT */
.contact-form {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 1.7rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    color: #374151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.6rem 0.7rem;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 0.94rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    background-color: #f9fafb;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.35);
    background-color: #ffffff;
}

/* BOUTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.3rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.1s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #fbbf24, #f97316);
    color: #111827;
    border-color: transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #facc15, #ea580c);
    box-shadow: 0 10px 30px rgba(234, 88, 12, 0.45);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: #f9fafb;
    border-color: rgba(248, 250, 252, 0.8);
}

.btn-outline:hover {
    background-color: rgba(15, 23, 42, 0.6);
}

/* FOOTER */
.footer {
    background-color: #020617;
    color: #9ca3af;
    padding: 1.7rem 0;
    margin-top: 2.5rem;
}

.footer-inner {
    text-align: center;
    font-size: 0.85rem;
}

/* Lien téléphone spécial */
.phone-link {
    color: #0ea5e9;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.phone-link:hover {
    color: #0284c7;
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .logo-image {
        height: 130px;
    }

    /* Offset réduit pour mobile */
    html {
        scroll-padding-top: 100px;
    }

    section[id] {
        scroll-margin-top: 100px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 3rem 0 2.3rem;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .sector-image {
        height: 160px;
    }

    .client-logos {
        justify-content: center;
        gap: 1.8rem;
    }

    .client-logo {
        min-width: 200px;
        padding: 1.8rem 2rem;
    }

    .client-logo img {
        height: 90px;
    }
}