* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    box-sizing: border-box;
}

:root{
    --background: #1C2331;
    --primary: #2f394c;
    --secondary: #d9d9d9;
    --accent: #00FFB2;
    --text: #ffffff;
    --text_carte: #000000;
    --bouton: #ffffff;
}

:root[data-theme="dark"] {
    --background: #1C2331;
    --primary: #2f394c;
    --secondary: #d9d9d9;
    --accent: #00FFB2;
    --text: #ffffff;
    --text_carte: #000000;
    --bouton: #ffffff;
}

:root[data-theme="light"] {
    --background: #CED5E3;
    --primary: #B3BDD0;
    --secondary: #262626;
    --accent: #5000ac;
    --text: #000000;
    --text_carte: #ffffff;
    --bouton: #000000;
}

body {
    background-color: var(--background);
    color: var(--text);
}

/* Header (aligné avec projets.css) */
header {
    height: 100px;
    color: var(--background);
    padding: 1rem;
    position: relative;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 90px;
    height: 90px;
    position: absolute;
    left: 2rem;
    top: 20px;
}

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

#mode {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    position: absolute;
    right: 2rem;
    top: 40px;
}

#mode img {
    width: 40px;
    height: 40px;
}

#lang {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    position: absolute;
    right: 7rem;
    top: 40px;
}

#lang img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.liens {
    display: flex;
    justify-content: center;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin-top: 30px;
}

nav ul li {
    margin: 0 16px;
}

nav ul li a {
    font-size: 20px;
    color: var(--text);
    transition: color 0.3s ease;
}

nav ul li a:hover, .active {
    color: #0078ff;
}

.barre {
    background-color: var(--text);
    height: 1px;
    width: 70px;
    margin: 0 16px;
}

@media (max-width: 768px) {
    #lang { right: 40%; }
    #mode { right: 55%; }
    .logo img { width: 89%; height: 89%; }
    .menu-toggle { display: block; }
    .liens { display: none; width: 100%; position: absolute; top: 100%; left: 0; background-color: var(--background); padding: 1rem; }
    .liens.active { display: block; }
    nav ul { flex-direction: column; align-items: center; gap: 1rem; }
    .barre { display: none; }
}

@media (max-width: 480px) {
    #lang { right: 37%; }
    #mode { right: 53%; }
    .logo img { width: 80%; height: 80%; }
}

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem;
}

.hero {
    width: 100%;
    border-radius: 25px;
    overflow: hidden;
    background: var(--primary);
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
}

.content {
    margin-top: 2rem;
    background: var(--primary);
    border-radius: 25px;
    padding: 1.5rem;
}

.content h1 {
    margin-bottom: 0.5rem;
}

.content h2 {
    margin: 1rem 0 0.5rem;
}

.content p {
    line-height: 1.6;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1.25rem;
}

.btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 600;
    transition: transform .15s ease, opacity .15s ease;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

.btn.primary {
    background: var(--accent);
    color: #000;
}

.btn.secondary {
    background: transparent;
    color: var(--bouton);
    border: 1px solid var(--bouton);
}

@media (max-width: 768px) {
    main { padding: 0.75rem; }
    .content { padding: 1rem; }
}

/* Footer (aligné avec projets.css) */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100px;
}

footer p {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    padding: 10px 20px;
    background-color: var(--primary);
    border-radius: 25px;
    color: var(--text);
    text-align: center;
}

footer a { color: var(--text); }
