* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    background: #ffffff;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1050px;
    margin: auto;
}


/* =========================
   HEADER
========================= */

header {
    border-bottom: 1px solid #e5e5e5;
    background: white;
}

.header-content {
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.name {
    color: #222;
    text-decoration: none;
    font-size: 19px;
    font-weight: 600;
}

nav {
    display: flex;
    gap: 28px;
}

nav a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
}

nav a:hover {
    color: #000;
}


/* =========================
   HERO
========================= */

.hero {
    padding: 100px 0;
    border-bottom: 1px solid #e5e5e5;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 70px;
}

.photo-container {
    width: 240px;
    height: 290px;
    flex-shrink: 0;
}

.photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.small-title {
    font-size: 12px;
    letter-spacing: 2px;
    color: #777;
    margin-bottom: 15px;
}

h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 62px;
    font-weight: normal;
    line-height: 1.05;
    margin: 0 0 20px 0;
}

.subtitle {
    font-size: 21px;
    margin: 0;
}

.location {
    color: #777;
    margin-top: 5px;
}


/* =========================
   BOUTON LINKEDIN
========================= */

.linkedin-button {
    display: inline-block;
    margin-top: 20px;
    padding: 11px 20px;

    background: #222;
    color: white;

    text-decoration: none;
    font-size: 14px;

    border: 1px solid #222;
}

.linkedin-button:hover {
    background: white;
    color: #222;
}


/* =========================
   SECTIONS
========================= */

.section {
    padding: 85px 0;
    border-bottom: 1px solid #e5e5e5;
}

.grey {
    background: #f7f7f7;
}

.two-columns {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 80px;
}

h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: normal;
    margin: 0;
}

.content {
    max-width: 650px;
}

.content p {
    margin-top: 0;
    margin-bottom: 25px;
}


/* =========================
   FORMATION
========================= */

.timeline-item {
    border-left: 1px solid #ccc;
    padding-left: 25px;
    margin-bottom: 45px;
}

.timeline-item h3 {
    font-size: 21px;
    margin: 8px 0;
}

.date {
    font-size: 12px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-item p {
    color: #555;
}

.tag {
    display: inline-block;
    border: 1px solid #ccc;
    padding: 3px 10px;
    font-size: 12px;
}


/* =========================
   EXPERIENCE
========================= */

.company-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.company-header h3 {
    font-size: 24px;
    margin: 0;
}

.job-title {
    color: #666;
    margin: 0;
}

.atos-logo {
    width: 80px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.atos-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.company > p {
    max-width: 650px;
    margin-top: 30px;
}

.skills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.skills span {
    border: 1px solid #ddd;
    padding: 5px 12px;
    font-size: 12px;
}


/* =========================
   CONTACT
========================= */

.contact {
    padding: 90px 0;
    text-align: center;
}

.contact h2 {
    margin-bottom: 15px;
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 25px 0;
    border-top: 1px solid #e5e5e5;
    color: #777;
    font-size: 12px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .header-content {
        height: auto;
        padding: 20px 0;
        flex-direction: column;
        gap: 15px;
    }

    nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .photo-container {
        width: 180px;
        height: 220px;
    }

    h1 {
        font-size: 46px;
    }

    .two-columns {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .section {
        padding: 60px 0;
    }
}