/**
 * Thème clair et épuré avec typographie Georgia
 *
 * @format
 */

:root {
    --bg: #f7f7f5;
    --card-bg: #ffffff;
    --text: #1f2a32;
    --muted: #51606a;
    --border: #e4e5e7;
    --accent: #0f6ab4;
    --accent-hover: #0c5a97;
    --shadow: 0 6px 18px rgba(18, 35, 51, 0.06);
    --radius: 8px;
    --max-width: 960px;
}

* {
    box-sizing: border-box;
}

body.page {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: var(--accent-hover);
}

.hero {
    padding: 48px 20px 36px;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
}

.hero__content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
}

.hero__text {
    min-width: 0;
}

.hero__title {
    font-size: 42px;
    line-height: 1.08;
    margin: 0 0 10px;
}

.hero__lead {
    font-size: 18px;
    color: var(--muted);
    margin: 0;
    max-width: 48ch;
}

.hero__image-wrap {
    width: 200px;
    height: 200px;
    border-radius: var(--radius);
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--border);
    /* box-shadow: var(--shadow); */
    background: var(--card-bg);
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 32px 20px 60px;
}

.section-title {
    font-size: 22px;
    margin: 0 0 12px;
}

.intro__text {
    margin: 0 0 28px;
    color: var(--muted);
    line-height: 1.6;
}

.projects {
    margin-top: 12px;
}

.project-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    transition:
        transform 120ms ease,
        box-shadow 120ms ease;
}

.project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(18, 35, 51, 0.08);
}

.project-card__title {
    margin: 0 0 8px;
    font-size: 18px;
}

.project-card__desc {
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.5;
}

.project-card__bullets {
    margin: 0 0 12px 18px;
    color: var(--muted);
    line-height: 1.45;
}

.project-card__link {
    font-weight: 600;
}

@media (max-width: 640px) {
    .hero {
        padding-top: 56px;
        padding-bottom: 28px;
    }

    .hero__content {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 16px;
    }

    .hero__title {
        font-size: 32px;
    }

    .hero__lead {
        font-size: 16px;
        max-width: 100%;
    }

    .hero__image-wrap {
        width: 140px;
        height: 140px;
        justify-self: center;
    }

    .main {
        padding: 24px 16px 48px;
    }

    .project-card {
        padding: 18px;
    }
}
