/*
 * Stylesheet for the TDS‑France one‑page site.
 *
 * Cette feuille de style définit une mise en page simple et moderne
 * en utilisant flexbox pour la grille de services et des couleurs
 * contrastées pour mettre en valeur le contenu. Les règles @media
 * garantissent une bonne lisibilité sur mobile.
 */

/* Reset de base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero section */
header.hero {
    background-color: #0a192f; /* bleu foncé pour l’identité technique */
    color: #ffffff;
    text-align: center;
    padding: 4rem 1rem;
}

.hero .logo {
    max-width: 160px;
    margin: 0 auto 1rem;
    display: block;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.hero .baseline {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f9a826; /* couleur d’accent */
}

.hero .description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.btn-contact {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: #f9a826;
    color: #0a192f;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-contact:hover {
    background-color: #e4981f;
}

/* Services section */
.services {
    background-color: #f7f7f7;
    padding: 3rem 0;
}

.services h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #0a192f;
}

.service-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.service {
    flex: 1 1 300px;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.service h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: #0a192f;
}

.service p {
    font-size: 1rem;
    color: #555;
}

/* Clients section */
.clients {
    padding: 3rem 0;
}

.clients h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #0a192f;
}

.clients ul {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    padding-left: 1rem; /* pour l’alignement des puces personnalisées */
}

.clients li {
    position: relative;
    padding-left: 1.25rem;
}

.clients li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    top: 0;
    color: #f9a826;
    font-size: 1.5rem;
    line-height: 1;
}

/* Zone section */
.zone {
    background-color: #f7f7f7;
    padding: 3rem 0;
    text-align: center;
}

.zone h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: #0a192f;
}

.zone p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

/* Footer */
footer {
    background-color: #0a192f;
    color: #ffffff;
    text-align: center;
    padding: 1.5rem 1rem;
    font-size: 0.9rem;
}

footer a {
    color: #f9a826;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer .footer-legal {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #bbb;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero .baseline {
        font-size: 1.1rem;
    }
    .service-grid {
        flex-direction: column;
        align-items: stretch;
    }
    .service {
        flex: 1 1 100%;
    }
}