:root {
    --primary: #b8a98c;
    --secondary: #c2bdae;
    --bg: #f5f6fa;
    --dark: #45342e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", system-ui, sans-serif;
}

body { 
    background-color : #E0DBD7;

}

/* HERO */
.hero {
    background: var(--primary);
    color : white;
    padding: 30px 20px;
}

.hero-content {
    max-width: 1100px;
    margin: auto;
    display: flex;
    gap: 25px;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-family: 'Kathiega', sans-serif;
    font-weight: 350;
}

.hero-content p {
    font-family: 'Altersan Trial', sans-serif;
    font-size: 1.15rem;
}

.cv h2 {
    font-family: 'Sofia Sans Condensed', sans-serif;
    font-size: 2rem;
}


.avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 0px solid white;
}

.hero h1 {
    font-size: 4.5rem;
}

.hero p {
    margin: 5px 0 15px;
    opacity: 0.9;
    margin-top: 15px;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn.primary {
    background: white;
    color: var(--primary);
}

.btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    margin-left: 10px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* LAYOUT */
.cv {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
    position: relative;
}

.divider {
    width: 6px;
    background: #b8a98c;
    border-radius: 4px;
    position: relative;
    opacity: 0.9;
}


/* LEFT COLUMN */
.left {
    width: 30%;
}

/* CONTACT CARD (scotch effect) */
.contact-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.contact-card h2 {
    margin-bottom: 15px;
    color: var(--primary);
}

.contact-card p {
    margin-bottom: 8px;
}

.tape {
    position: absolute;
    top: -12px;
    left: 30%;
    width: 120px;
    height: 25px;
    background: rgba(255, 234, 167, 0.8);
    transform: rotate(-3deg);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* RIGHT COLUMN */
.right.vertical {
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.card h2 {
    margin-bottom: 23px;
    color: var(--primary);
}

.card p {
    margin-bottom: 12px;
}

/* SKILLS */
.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skills span {
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .cv {
        flex-direction: column;
    }

    .left,
    .right.vertical {
        width: 100%;
    }

    .divider {
        display: none;
    }
}


/* Modal PDF */
.modal {
    display: none; /* caché par défaut */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    width: 50%;
    height: 80%;
    background-color: #fff;
    box-shadow: 0 0 10px #000;
    padding: 0;
}

.modal-content iframe {
    width: 100%;
    height: 100%;
}


}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #000;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}


/* Boutons langues */

.hero {
    position: relative;
}

.lang-switch {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column; /* l'un sous l'autre */
    gap: 10px;
}

.lang-switch button {
    padding: 5px 10px;
    border: none;
    background-color: #403C3A;
    color: #fff;
    cursor: pointer;
    border-radius: 3px;
    font-size: 0.9rem;
    width : 85px
}

.lang-switch button:hover {
    background-color: #555;
}