@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: #111;
    color: #e0e0e0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border: 1px solid #696969;
    border-radius: 50px;
    background-color: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(12px);
    padding: 5px;
    box-sizing: border-box;
    grid-column: 2;
    margin-top: 10px;
    z-index: 1010;
}

nav a {
    color: #c0c0c0;
    text-decoration: none;
    padding: 0 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

nav a:hover {
    color: white;
    background-color: #5f5f5f;
    border-radius: 50px;
    padding: 10px;
}

nav a p {
    margin: 0;
    padding: 0 10px;
}

#actif {
    color: white;
    background-color: #5f5f5f;
    border-radius: 50px;
    padding: 10px;
}

.titre {
    grid-column: 1;
    padding: 2rem 1rem;
}

header {
    z-index: 1;
    top: 0;
    -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
}


.flou {
    width: 100%;
    height: 100%;
    backdrop-filter: blur(7px);
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    padding-bottom: 5%;
}

header h1 {
    grid-column: 2;
    grid-row: 1;
    z-index: 3;
    margin: 0;
    color: white;
    font-weight: bold;
    font-size: 400%;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

header h2 {
    grid-column: 2;
    grid-row: 2;
    z-index: 3;
    color: #aaa;
    margin: 0;
    padding-left: 1rem;
    font-weight: 300;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.photo {
    display: grid;
    justify-items: center;
    align-items: center;
    margin-top: -6%;
}

.photo img {
    border-radius: 50%;
    width: 10%;
    border: 3px solid #333;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}


section {
    margin: 0 5%;
    padding-bottom: 80px;
}


.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.page-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.page-subtitle {
    color: #888;
    font-size: 1rem;
    font-weight: 300;
}

section .propos {
    margin: 0 5%;
}

.propos h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
}

.propos p {
    color: #bbb;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1rem;
}

.competences {
    margin: 50px 5%;
}

.competences h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}

.competences-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.competence-item {
    background: linear-gradient(145deg, #1e1e1e, #252525);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.competence-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border-color: #555;
}

.competence-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.competence-item h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.competence-item p {
    color: #999;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.parcours {
    margin: 50px 5%;
}

.parcours h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}

.timeline {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    padding-left: 30px;
    border-left: 2px solid #333;
}

.timeline-item {
    margin-bottom: 30px;
    position: relative;
}

.timeline-item::before {
    content: "";
    width: 12px;
    height: 12px;
    background: #e67e22;
    border-radius: 50%;
    position: absolute;
    left: -37px;
    top: 5px;
}

.timeline-date {
    font-size: 0.85rem;
    color: #e67e22;
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-content h4 {
    color: #fff;
    margin: 0 0 5px 0;
    font-size: 1.05rem;
}

.timeline-content p {
    color: #999;
    margin: 0;
    font-size: 0.9rem;
}


.iut-presentation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}

.iut-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.iut-texte h4 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.iut-texte p {
    color: #bbb;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.matieres {
    margin-top: 20px;
}

.matieres h4 {
    text-align: center;
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 25px;
}

.matieres-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.matiere-card {
    background: linear-gradient(145deg, #1e1e1e, #252525);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.matiere-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: #555;
}

.matiere-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.matiere-card h5 {
    color: #fff;
    font-size: 1rem;
    margin: 0 0 8px 0;
}

.matiere-card p {
    color: #999;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

.projets-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.projet-card {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    background: linear-gradient(145deg, #1a1a1a, #222);
    border: 1px solid #333;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projet-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
    border-color: #555;
}

.projet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.projet-info {
    padding: 25px 25px 25px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.projet-tag {
    display: inline-block;
    background: rgba(230, 126, 34, 0.15);
    color: #e67e22;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    width: fit-content;
}

.projet-info h4 {
    color: #fff;
    font-size: 1.2rem;
    margin: 0 0 10px 0;
}

.projet-info p {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0 0 15px 0;
}

.projet-outils {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.projet-outils span {
    background: #2a2a2a;
    color: #ccc;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    border: 1px solid #444;
}


.stage-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stage-image img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.stage-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stage-entreprise,
.stage-missions,
.stage-acquis {
    background: linear-gradient(145deg, #1a1a1a, #222);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 25px 30px;
}

.stage-details h4 {
    color: #fff;
    font-size: 1.2rem;
    margin: 0 0 20px 0;
}

.stage-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stage-info-item strong {
    color: #e67e22;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stage-info-item p {
    color: #bbb;
    margin: 4px 0 0 0;
    font-size: 0.95rem;
}

.stage-missions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stage-missions li {
    color: #bbb;
    font-size: 0.95rem;
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    border-bottom: 1px solid #2a2a2a;
}

.stage-missions li:last-child {
    border-bottom: none;
}

.stage-missions li::before {
    content: "▸";
    color: #e67e22;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.acquis-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.acquis-tags span {
    background: rgba(230, 126, 34, 0.1);
    color: #e67e22;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    border: 1px solid rgba(230, 126, 34, 0.3);
    transition: background 0.3s ease;
}

.acquis-tags span:hover {
    background: rgba(230, 126, 34, 0.25);
}


.interets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.interet-card {
    background: linear-gradient(145deg, #1a1a1a, #222);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.interet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: #555;
}

.interet-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.interet-card h4 {
    color: #fff;
    font-size: 1.1rem;
    margin: 0 0 10px 0;
}

.interet-card p {
    color: #999;
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}


.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

.contact-infos h4 {
    color: #fff;
    font-size: 1.3rem;
    margin: 0 0 25px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(145deg, #1a1a1a, #222);
    border: 1px solid #333;
    border-radius: 12px;
    transition: border-color 0.3s ease;
}

.contact-item:hover {
    border-color: #555;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-item strong {
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item p {
    color: #bbb;
    margin: 3px 0 0 0;
    font-size: 0.9rem;
}


#fin {
    flex: 1;
}

footer {
    background-color: #0d0d0d;
    color: #eee;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    font-family: 'Inter', system-ui, sans-serif;
    border-top: 1px solid #222;
    box-sizing: border-box;
}

footer p {
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.5px;
    opacity: 0.8;
}