@page {
    size: A4;
    margin: 0;
}

@font-face {
    font-family: 'Bernoru';
    src: url('Bernoru.otf') format('truetype');
}

body {
    margin: 0;
    background: #fbf7f7;
    font-family: 'Nunito', sans-serif;
}

.page {
    width: 210mm;
    height: 297mm;
    margin: auto;
    background: white;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 25px rgba(0,0,0,0.15);
}

/* HEADER */

.header {
    background-color: #5B6F55;
    color:#faddd9;
    padding: 40px;
}

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

/* GAUCHE */

.header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 220px;
}

.photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden; /* important */
    border: 4px solid white;
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ajuste bien la photo */
}

/* DROITE */

.header-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;   /* centre verticalement */
    align-items: center;       /* centre horizontalement */
    text-align: center;        /* centre le texte */
}


.prenom {
    font-family: 'Pinyon Script', cursive;
    font-size: 55px;
    margin-right: 10px;
}

.nom {
    font-family: 'Bernoru';
    font-size: 34px;
    letter-spacing: 2px;
}

.header-right h2 {
    margin-top: 8px;
    font-weight: 300;
    font-size: 16px;
}


/* CONTENT */

.content {
    display: flex;
    flex: 1;
}

/* LEFT */

.left {
    width: 35%;
    padding: 35px 30px;
}

/* RIGHT */

.right {
    width: 65%;
    padding: 40px;
}

/* TITRES AVEC FOND ROSE ARRONDI */

h3 {
    display: inline-block;
    background-color:#faddd9;
    color:#516146;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
}

/* TEXTES */

h4 {
    margin: 15px 0 5px 0;
    font-weight: 600;
}

p {
    margin: 0 0 12px 0;
    font-size: 14px;
}

.bloc {
    margin-bottom: 18px;
}

.centrer-texte
{
    text-align: center;
}