:root {
    --primary: #0057b8;
    --primary-dark: #00408a;
    --bg-light: #f5f7fb;
    --text-main: #222;
    --text-muted: #666;
    --card-bg: #ffffff;
    --border-soft: #e0e4f0;
    --radius: 8px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-main);
    background: #ffffff;
    line-height: 1.6;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

header {
    border-bottom: 1px solid var(--border-soft);
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
}

.logo {
    display: flex;
    flex-direction: column;
    font-weight: 700;
}

.logo-main {
    font-size: 1.3rem;
    letter-spacing: 0.08em;
}

.logo-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

nav a {
    margin-left: 1.2rem;
    font-weight: 500;
    color: var(--text-main);
}

nav a.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.2rem;
}

.hero {
    background: radial-gradient(circle at top left, #e3f0ff, #ffffff);
    border-bottom: 1px solid var(--border-soft);
}

.hero-content {
    padding: 3rem 0 2.5rem;
}

.hero h1 {
    font-size: 2.1rem;
    margin-bottom: 1rem;
}

.hero p {
    max-width: 650px;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: #ffffff;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    text-decoration: none;
}

.intro {
    padding: 2.5rem 0;
}

.intro h2 {
    font-size: 1.7rem;
    margin-bottom: 0.8rem;
}

.intro p {
    color: var(--text-muted);
    margin-bottom: 1.8rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 1.4rem;
    border: 1px solid var(--border-soft);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.card h3 {
    margin-bottom: 0.6rem;
}

.card p {
    color: var(--text-muted);
}

.highlight {
    background: var(--bg-light);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    padding: 2.5rem 0;
}

.highlight h2 {
    margin-bottom: 1rem;
}

.benefits {
    list-style: none;
    color: var(--text-muted);
}

.benefits li {
    margin-bottom: 0.4rem;
}

/* Pages internes */

.page {
    padding: 2.5rem 0 2rem;
}

.page h1 {
    font-size: 1.9rem;
    margin-bottom: 0.8rem;
}

.page > p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-block {
    margin-bottom: 1.8rem;
}

.service-block h2 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.service-block ul {
    margin-left: 1.2rem;
    color: var(--text-muted);
}

.service-block li {
    margin-bottom: 0.3rem;
}

.cta-center {
    text-align: center;
    margin-top: 2rem;
}

/* Contact */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

label {
    font-weight: 500;
}

input, textarea {
    border-radius: var(--radius);
    border: 1px solid var(--border-soft);
    padding: 0.5rem 0.6rem;
    font: inherit;
}

input:focus, textarea:focus {
    outline: 2px solid var(--primary);
    outline-offset: 1px;
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Footer */

footer {
    border-top: 1px solid var(--border-soft);
    background: #ffffff;
    margin-top: 2rem;
}

.footer-content {
    padding: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    align-items: center;
    text-align: center;
}

/* Responsive */

@media (max-width: 600px) {
    .hero-content {
        padding: 2.2rem 0 2rem;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    nav a {
        margin-left: 0.7rem;
        font-size: 0.9rem;
    }
}
