:root {
    --ink: #171717;
    --muted: #5d5d5d;
    --line: #e8e8e8;
    --soft: #f6f6f6;
    --white: #fff;
    --radius: 16px;
    --shadow: 0 18px 45px rgba(0, 0, 0, .07);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
a { color: inherit; }
.site-header { background: #000; color: var(--white); }
.header-inner, .container { width: min(100% - 40px, 1100px); margin-inline: auto; }
.header-inner { min-height: 80px; display: flex; align-items: center; }
.brand { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; font-weight: 600; letter-spacing: .02em; }
.brand a { color: var(--white); text-decoration: none; }
.hero { padding: clamp(64px, 9vw, 105px) 0 clamp(58px, 8vw, 90px); background: linear-gradient(180deg, #f7f7f7 0%, #fff 100%); border-bottom: 1px solid var(--line); text-align: center; }
.hero h1 { max-width: 900px; margin: 0 auto 24px; font-size: clamp(2rem, 5vw, 2.75rem); line-height: 1.2; letter-spacing: -.025em; }
.hero p { max-width: 760px; margin: 0 auto; color: var(--muted); font-size: clamp(1rem, 2vw, 1.125rem); }
.content-section { padding: clamp(56px, 7vw, 80px) 0; }
.content-section + .content-section { border-top: 1px solid var(--line); }
.section-heading { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.section-heading h2, .zone h2 { margin: 0 0 12px; font-size: clamp(1.55rem, 3vw, 2rem); line-height: 1.25; }
.section-heading p, .zone p { margin: 0; color: var(--muted); }
.benefit-list { max-width: 760px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 auto; padding: 0; list-style: none; }
.benefit-list li { padding: 18px 20px 18px 48px; background: var(--soft); border-radius: 12px; position: relative; }
.benefit-list li::before { content: "✓"; position: absolute; left: 20px; font-weight: 700; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.card { min-height: 128px; display: flex; align-items: center; justify-content: center; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.card a { font-weight: 650; text-decoration: none; text-underline-offset: 4px; }
.card a:hover, .card a:focus-visible { text-decoration: underline; }
.alternate { background: var(--soft); }
.projects .card { align-items: flex-start; flex-direction: column; text-align: left; }
.projects .card::before { content: "Projet réalisé"; margin-bottom: 14px; padding: 5px 10px; background: #ededed; border-radius: 999px; color: #444; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.project-card { max-width: 760px; min-height: 150px; margin: 0 auto; align-items: flex-start; flex-direction: column; text-align: left; }
.project-card::before { content: "Projet réalisé"; margin-bottom: 14px; padding: 5px 10px; background: #ededed; border-radius: 999px; color: #444; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.project-card p { margin: 0; color: var(--muted); }
.project-card a { color: var(--ink); }
.zone { max-width: 800px; margin: 0 auto; text-align: center; }
.page-link { margin-top: 28px !important; }
.button { display: inline-block; padding: 14px 24px; border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 700; line-height: 1.2; text-decoration: none; }
.button:hover, .button:focus-visible { background: var(--white); color: var(--ink); }
.site-footer { padding: 34px 20px; background: #f1f1f1; color: #555; text-align: center; font-size: .875rem; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; margin-top: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { text-decoration: underline; }

@media (max-width: 600px) {
    .header-inner, .container { width: min(100% - 32px, 1100px); }
    .header-inner { min-height: 70px; }
    .card-grid, .benefit-list { grid-template-columns: 1fr; }
    .card { min-height: 0; padding: 24px 20px; }
    .button { width: 100%; }
}
