/* Réinitialisation de base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f4f4;
    color: #1a1a1a;
    line-height: 1.4;
    font-size: 14px;
}

/* Conteneur principal du CV (format A4) */
.cv-container {
    width: 210mm;
    max-width: 100%;
    min-height: 297mm;
    margin: 20px auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    position: relative;
}

/* Couleurs */
.bg-light-blue {
    background-color: #eaf3fd;
}
.text-blue {
    color: #2a6dd4;
}
.border-gray {
    border: 1px solid #707070;
}

/* En-tête */
header {
    display: flex;
    align-items: center;
    padding: 25px 30px;
}

.photo-container {
    width: 130px;
    height: 150px;
    margin-right: 30px;
    border: 2px solid #2a6dd4;
    overflow: hidden;
    flex-shrink: 0;
}

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

.contact-info h1 {
    font-size: 32px;
    font-weight: normal;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.contact-info p {
    margin-bottom: 4px;
    font-size: 14px;
}

/* Section Profil */
.profil {
    padding: 0 30px 20px 30px;
}

.profil h2 {
    font-size: 18px;
    font-weight: normal;
    color: #2a6dd4;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.profil p {
    text-align: justify;
}

/* Contenu principal en 2 colonnes */
.main-content {
    display: flex;
    border-top: 1px solid #707070;
    border-bottom: 1px solid #707070;
}

.col-left {
    width: 50%;
    padding: 20px 30px;
    border-right: 1px solid #707070;
}

.col-right {
    width: 50%;
    padding: 20px 30px;
}

/* Titres de sections (H2) */
h2.section-title {
    font-size: 18px;
    margin-bottom: 15px;
}

/* Sous-titres (H3) */
h3.job-title, h3.edu-title {
    font-size: 15px;
    color: #2a6dd4;
    font-weight: normal;
    margin-top: 15px;
    margin-bottom: 5px;
}

h3.edu-title {
    margin-top: 10px;
}

h3:first-of-type {
    margin-top: 0;
}

/* Informations d'entreprise / école */
.meta-info {
    font-size: 14px;
    margin-bottom: 5px;
}

/* Listes à puces */
ul {
    padding-left: 20px;
    margin-bottom: 10px;
}

li {
    margin-bottom: 3px;
}

/* Section Langues */
.langues-section {
    border-top: 1px solid #707070;
    padding-top: 15px;
    margin-top: 15px;
    margin-left: -30px;
    padding-left: 30px;
    margin-right: -30px;
    padding-right: 30px;
}

/* Section Compétences techniques */
.skill-category {
    color: #2a6dd4;
    margin-top: 10px;
    margin-bottom: 5px;
}

/* Section Expériences (pleine largeur) */
.experiences {
    padding: 20px 30px;
}

/* Pied de page (Centres d'intérêts & QR Code) */
footer {
    display: flex;
    justify-content: space-between;
    padding: 20px 30px;
    border-top: 1px solid #707070;
}

.interests h2 {
    font-size: 16px;
    margin-bottom: 10px;
}

.qr-code {
    width: 80px;
    height: 80px;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Utilitaires texte */
.bold { font-weight: bold; }
.text-blue { color: #2a6dd4; }

/* Style du conteneur du bouton */
.cv-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Le bouton carré (80x80 comme le QR Code) */
.download-square {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: #2a6dd4; /* Couleur bleue du CV */
    color: #ffffff; /* Couleur de l'icône */
    text-decoration: none;
    border-radius: 5px; /* Légers bords arrondis (mettez 0 pour un carré strict) */
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Petite ombre discrète */
}

/* Effet au survol de la souris */
.download-square:hover {
    background-color: #1e52a8; /* Bleu plus foncé */
    transform: scale(1.05); /* Grossit légèrement */
}

/* Taille de l'icône SVG à l'intérieur */
.download-square svg {
    width: 40px;
    height: 40px;
}