/* --- Variables & Reset --- */
:root {
    --bg-color: #0d1117; 
    --card-bg: #161b22; 
    --primary-color: #58a6ff; 
    --text-color: #c9d1d9; 
    --text-muted: #8b949e; 
    --border-color: rgba(88, 166, 255, 0.2); 
    --glow-color: rgba(88, 166, 255, 0.4); 
    --font-primary: 'Poppins', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none; 
    border: none; 
    outline: none; 
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; 
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7; 
    overflow-x: hidden; 
}

/* --- Arrière-plan Particules --- */
#particles-background {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1; 
}


/* --- Utilitaires --- */
.container { 
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title { 
    font-size: 3.6rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 5rem;
    color: var(--text-color);
}
.section-title span { 
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 1.2rem 3rem;
    border: 2px solid var(--primary-color);
    border-radius: 5px; 
    font-size: 1.6rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px transparent;
}
.btn:hover {
    background-color: var(--primary-color);
    color: var(--bg-color); 
    box-shadow: 0 0 15px var(--glow-color), 0 0 25px var(--glow-color);
    transform: translateY(-3px);
}

/* --- Header --- */
.header { 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(13, 17, 23, 0.85); 
    backdrop-filter: blur(10px);
    padding: 1.5rem 9%; 
    z-index: 1000;
    border-bottom: 1px solid var(--border-color); 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.logo {
    font-size: 2.5rem; 
    font-weight: 700; 
    color: var(--text-color);
}
.logo span { 
    color: var(--primary-color);
}

.navbar { 
    display: flex; 
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);    
}
.navbar ul { 
    list-style: none;
    display: flex;
    align-items: center; 
    margin: 0; 
    padding: 0; 
}
.navbar a { 
    color: var(--text-muted); 
    font-size: 1.7rem; 
    margin-left: 3.5rem; 
    padding-bottom: 0.5rem;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
    font-weight: 500; 
}
.navbar a:hover,
.navbar a.active { 
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

#menu-icon { 
    display: none; 
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 3.6rem; 
    cursor: pointer;
}

#veille-tech .content-subtitle { margin-top: 2.5rem; }
#veille-tech .content-list li { margin-bottom: 0.8rem; }
#veille-tech p { margin-bottom: 1.6rem; }

.pdf {
    display: flex;
    justify-content: left;
}

/* --- Sections Générales --- */
section { 
    min-height: 100vh;
    padding: 10rem 9% 3rem; 
    position: relative; 
    z-index: 1; 
}
.section-alt-bg { 
    background-color: rgba(22, 27, 34, 0.75); 
    backdrop-filter: blur(5px); 
}


/* --- Hero Section (pour index.html) --- */
#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: transparent; 
}
.hero-content h1 {
    font-size: 5.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.hero-content .highlight { 
    color: var(--primary-color);
}
.hero-content p.subtitle { 
    font-size: 2.4rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    margin-bottom: 3rem;
    min-height: 6rem; 
    display: block; 
}
.hero-content .btn-group { 
    margin-top: 3rem; 
    display:flex; 
    justify-content:center; 
    gap: 2rem; 
}
.scroll-down { 
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
}
.scroll-down a {
    font-size: 2.5rem;
    color: var(--primary-color);
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* --- Contenu Spécifique des Pages (Ex: BTS SIO, etc.) --- */
.content-page-section { 
    font-size: 1.7rem;
    line-height: 1.8;
}
.content-page-section h1.page-main-title { 
    font-size: 4rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-color);
}
.content-page-section h1.page-main-title span {
    color: var(--primary-color);
}
.content-page-section .content-wrapper { 
    max-width: 850px;
    margin: 0 auto;
}
.content-page-section p {
    margin-bottom: 2rem;
    color: var(--text-muted); /* Default text color for paragraphs in content */
}
.content-page-section p strong { /* If strong tag is used for emphasis */
    color: var(--text-color); /* Slightly more prominent than muted */
    font-weight: 600;
}
.content-page-section p a { /* General links within content */
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}
.content-page-section p a:hover {
    color: var(--text-color);
}

.content-page-section h3.content-subtitle { 
    font-size: 2.4rem;
    color: var(--primary-color);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}
.content-page-section ul.content-list { 
    list-style-type: none;
    padding-left: 0;
}
.content-page-section ul.content-list li {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
}
.content-page-section ul.content-list li i.bx-custom-bullet { 
    color: var(--primary-color);
    font-size: 2.2rem; 
    margin-right: 1rem;
    flex-shrink: 0; 
    line-height: 1.7; 
}


/* --- Footer --- */
.footer { 
    padding: 3rem 9%;
    text-align: center;
    background-color: var(--bg-color); 
    border-top: 1px solid var(--border-color);
    position: relative; 
    z-index: 1;
}
.copyright { 
    font-size: 1.4rem;
    color: var(--text-muted);
}
.footer .social-icons {
    margin-bottom: 1.5rem;
}
.footer .social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 2.4rem; 
  padding: 0.8rem; 
  background: transparent;
  border: 1px solid var(--text-muted); 
  border-radius: 50%;
  color: var(--text-muted);
  margin: 0 1rem;
  transition: 0.3s ease;
}
.footer .social-icons a:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 0 10px var(--primary-color);
}


@media (max-width: 991px) { 
    html { font-size: 55%; } 
    .header { padding: 1.5rem 4%; } 

    #menu-icon {
        display: block; 
    }
    .navbar {
        position: absolute;
        top: 100%; 
        left: -100%; 
        width: 100%;
        padding: 1rem 0; 
        background-color: rgba(13, 17, 23, 0.98); 
        backdrop-filter: blur(10px);
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.2);
        transition: left .35s ease; 
        z-index: 1001; 
    }
    .navbar.active { 
        left: 0;
    }
    .navbar ul { 
        flex-direction: column;
        width: 100%;
    }
    .navbar ul li {
        width: 100%; 
        margin: 0;
    }
    .navbar a {
        display: block; 
        font-size: 2rem;
        margin: 0; 
        padding: 1.5rem 0; 
        text-align: center;
        border-bottom: 1px solid var(--border-color); 
    }
    .navbar ul li:last-child a {
        border-bottom: none; 
    }
    .navbar a:hover, .navbar a.active {
        background-color: var(--primary-color);
        color: var(--bg-color);
        border-bottom-color: var(--primary-color); 
    }

    section { padding: 10rem 4% 2rem; }
    .hero-content h1 { font-size: 4.5rem; }
    .hero-content p.subtitle { font-size: 2rem; }
}

@media (max-width: 768px) {
    .section-title { font-size: 3rem; }
    #hero { padding-top: 12rem; } 
}

@media (max-width: 480px) { 
    html { font-size: 50%; }
    .hero-content h1 { font-size: 3.8rem; }
    .hero-content p.subtitle { font-size: 1.8rem; }
    .btn { padding: 1rem 2.2rem; font-size: 1.4rem;}
}