/* ===============================
   RESET & BASE
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa, #e8ecf1);
    color: #2c3e50;
    line-height: 1.7;
}

/* ===============================
   CONTAINER
================================ */
.container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* ===============================
   HEADER
================================ */
header {
    text-align: center;
    margin-bottom: 50px;
}

header h1 {
    font-size: 2.6rem;
    margin-bottom: 10px;
    color: #34495e;
}

.subtitle {
    font-size: 1.15rem;
    color: #7f8c8d;
}

/* ===============================
   NAVBAR
================================ */
nav {
    background: rgba(30, 27, 75, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1100px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-menu a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
}

.nav-menu a:hover {
    color: #3498db;
}

.menu-toggle {
    display: none;
    font-size: 1.6rem;
    color: #fff;
    cursor: pointer;
}

/* Responsive menu */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        background: #292754;
        position: absolute;
        top: 60px;
        right: 20px;
        padding: 15px;
        border-radius: 8px;
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

/* ===============================
   SECTIONS
================================ */
.content-section {
    margin-bottom: 55px;
}

.content-section h2 {
    font-size: 1.9rem;
    margin-bottom: 20px;
    color: #2c3e50;
    border-left: 6px solid #3498db;
    padding-left: 12px;
}

.content-section h3 {
    font-size: 1.3rem;
    margin-top: 20px;
    margin-bottom: 8px;
    color: #34495e;
}

.content-section p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #555;
}

/* ===============================
   DEFINITION BOX
================================ */
.definition-box {
    background: #f0f6ff;
    border-left: 6px solid #3498db;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 1.05rem;
}

/* ===============================
   VIDEO
================================ */
.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ===============================
   TIMELINE
================================ */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.timeline-item {
    position: relative;
    padding: 20px 25px;
    background: #fafafa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 25px;
    width: 14px;
    height: 14px;
    background: #3498db;
    border-radius: 50%;
}

.year {
    font-weight: bold;
    color: #3498db;
    display: block;
    margin-bottom: 6px;
}

/* ===============================
   EXAMPLES GRID
================================ */
.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.example-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.example-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}

.example-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.example-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.example-card p {
    font-size: 0.95rem;
    color: #666;
}

/* ===============================
   FOOTER
================================ */
footer {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #e1e1e1;
}

footer p {
    font-size: 0.95rem;
    color: #7f8c8d;
}

/* ===============================
   SITE FOOTER DÉTAILLÉ
================================ */
.site-footer {
    background: linear-gradient(135deg, #2f2e61, #373285);
    color: #ecf0f1;
    margin-top: 60px;
}

.footer-container {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.site-footer h4 {
    margin-bottom: 10px;
    color: #ffffff;
}

.site-footer a {
    color: #bdc3c7;
    text-decoration: none;
}

.site-footer a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding: 15px;
    background: #201f3d;
    font-size: 0.9rem;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.1rem;
    }

    .content-section h2 {
        font-size: 1.6rem;
    }

    .container {
        padding: 20px;
    }
}
/* ===============================
   VIDEO SECTION – NUDGE
================================ */

#video {
    text-align: center;
}

#video h2 {
    margin-bottom: 25px;
}

.video-c {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover subtil */
.video-c:hover {
    transform: scale(1.01);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

/* Vidéo responsive */
.video-c video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .video-c {
        max-width: 100%;
        border-radius: 12px;
    }

    .video-c video {
        border-radius: 12px;
    }
}
