@font-face {
    font-family: 'SundayMidnight';
    src: url(../assets/font/sunday-midnight-webfont/SundayMidnight-L3ly5.woff) format('woff');
    font-weight: normal;
    font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Roboto', sans-serif;
    transform: none !important;
    display: flex;
    flex-direction: column;
    transition: background-color var(--transition-time), color var(--transition-time);
}

section {
    margin-bottom: 50px;
}

/* ******************************
    Style de l'écran de bienvenue
****************************** */
#welcome-screen {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: var(--background-color-secondary);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    z-index: 1000;
    transition: transform 1s ease-in, opacity 1s ease-in;
    display: flex;
    flex-direction: column;
    font-family: 'SundayMidnight', sans-serif;
    line-height: 5;
}

#welcome-screen.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

/* ******************************
    Barre de progression
****************************** */

.progress-container {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    display: flex;
    flex-direction: column;
    z-index: 99;
}

.progress-bar {
    position: absolute;
    width: 2px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    right: 10px;
    z-index: -1;
}

.progress-indicator {
    position: absolute;
    width: 100%;
    background-color: var(--background-color-secondary);
    top: 0;
    height: 0%;
    transition: height 0.3s ease;
}

.section-dots {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    align-items: center;
}

.section-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--background-color-tertiary);
    border: 2px solid var(--background-color-secondary);
    position: relative;
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-dot:before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--background-color-secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.section-dot.active {
    transform: scale(1.2);
}

.section-dot.active:before {
    opacity: 1;
}

.section-dot:hover {
    transform: scale(1.3);
}

.dot-tooltip {
    position: absolute;
    right: 30px;
    background-color: var(--background-color-secondary);
    color: var(--text-color);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8em;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.section-dot:hover .dot-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ******************************
    Menu
****************************** */

.menu {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background-color: var(--background-color-secondary);
    border-radius: 100%;
    z-index: 101;
}

nav {
    position: fixed;
    display: flex;
    height: 100dvh;
    width: 100%;
    align-items: center;
    justify-content: center;
    z-index: 100;
    font-family: 'Roboto', sans-serif;
    font-size: 40px;
    background-color: var(--background-color-secondary);
    top: -150%;
    transition: top 1s cubic-bezier(0, 0, 0.2, 1);
}

nav ul,
nav ul li a {
    list-style: none;
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
}

nav ul {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
    height: 100%;
}

.ml16 {
    color: var(--text-color-secondary);
    padding: 40px 0;
    font-weight: 800;
    font-size: 2em;
    text-transform: uppercase;
    overflow: hidden;
}

.ml16 .letter {
    display: inline-block;
    line-height: 1em;
}

/* ******************************
    Header
****************************** */

#main-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100vh;
    width: 100%;
    padding: 0 20px;
}

#main-content h1 {
    font-family: 'SundayMidnight', sans-serif;
}

#main-content p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5em;
    color: var(--text-color-secondary);
    font-weight: bold;
}

.ml11 {
    font-weight: 700;
    font-size: 3.5em;
}

.ml11 .text-wrapper {
    position: relative;
    display: inline-block;
    padding-top: 0.1em;
    padding-right: 0.05em;
    padding-bottom: 0.15em;
}

.ml11 .line {
    opacity: 0;
    position: absolute;
    left: 0;
    height: 100%;
    width: 3px;
    background-color: var(--text-color);
    transform-origin: 0 50%;
}

.ml11 .line1 {
    top: 0;
    left: 0;
}

.ml11 .letter {
    opacity: 0;
    display: inline-block;
    line-height: 1em;
}

.scroll-down {
    opacity: 1;
    -webkit-transition: all .5s ease-in 3s;
    transition: all .5s ease-in 3s;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    display: block;
    width: 32px;
    height: 32px;
    border: 2px solid var(--text-color);
    background-size: 14px auto;
    border-radius: 50%;
    z-index: 2;
    -webkit-animation: bounce 2s infinite 2s;
    animation: bounce 2s infinite 2s;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

.scroll-down:before {
    position: absolute;
    top: calc(50% - 8px);
    left: calc(50% - 7px);
    transform: rotate(-45deg);
    display: block;
    width: 12px;
    height: 12px;
    content: "";
    border: 2px solid var(--text-color);
    border-width: 0px 0 2px 2px;
}

@keyframes bounce {

    0%,
    100%,
    20%,
    50%,
    80% {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }

    40% {
        -webkit-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
        transform: translateY(-10px);
    }

    60% {
        -webkit-transform: translateY(-5px);
        -ms-transform: translateY(-5px);
        transform: translateY(-5px);
    }
}

/* ******************************
    A propos
****************************** */

#about {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
    padding: 0 30px;
}

.title {
    position: absolute;
    display: flex;
    align-items: center;
    left: 100px;
    height: 100%;
}

.line {
    height: 80%;
    width: 45px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.line::after,
.line::before {
    content: '';
    position: absolute;
    margin: auto;
    width: 2px;
    background: var(--text-color-secondary);
    height: 45%;
}

.line::after {
    bottom: 0;
}

.line::before {
    top: 0;
}

.circle {
    height: 40px;
    width: 40px;
    border: 2px solid var(--text-color-secondary);
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    transform: rotate(45deg);
}

.title h1 {
    color: var(--text-color-secondary);
    writing-mode: sideways-lr;
    font-size: clamp(1rem, 5vw, 3rem);
    font-family: 'SundayMidnight', sans-serif;
    line-height: 3;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
    width: 100%;
    max-width: 1000px;
    padding: 30px;
    box-sizing: border-box;
}

.inline {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 50px;
    width: 100%;
}

.box {
    background-color: var(--background-color-tertiary);
    border-radius: 20px 20px 0 0;
    box-shadow: 20px 20px 0 rgba(0, 0, 0, 0.5);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.box.github {
    width: 100%;
}

.photo {
    width: 100%;
    height: 400px;
    padding: 20px;
    object-fit: cover;
}

.top-box {
    background-color: var(--background-color-secondary);
    width: 100%;
    height: 50px;
    border-radius: 15px 15px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    border-bottom: solid 2px var(--text-color);
}

.icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon img {
    width: 20px;
    height: 20px;
}

.content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
    flex: 1;
    padding: 0 20px;
}

.social {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px 0;
    width: 100%;
}

.social a {
    display: inline-block;
    position: relative;
    overflow: hidden;
    font-size: 2em;
    background: transparent;
    color: var(--background-color-secondary);
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.3s ease-out;
}

.social a:hover {
    transform: scale(1.4);
}

.Link--muted {
    display: none;
}

.contrib-column.table-column {
    display: none;
}

/* ******************************
    Parcours
****************************** */

#parcours {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
    padding: 0 30px;
    position: relative;
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 15px;
    width: 100%;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 5px;
    background-color: var(--background-color-secondary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2.5px;
}

.timeline-item {
    position: relative;
    width: 50%;
    margin-bottom: 50px;
}

.timeline-item.left {
    left: 0;
    padding-right: 50px;
}

.timeline-item.right {
    left: 50%;
    padding-left: 50px;
}

.timeline-item::after {
    display: none;
}

.timeline-box {
    position: relative;
    padding: 0;
    background-color: var(--background-color-tertiary);
}

.timeline-content {
    padding: 20px;
}

.timeline-content .date {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--background-color-secondary);
    color: var(--text-color-secondary);
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.timeline-content h3 {
    margin: 10px 0;
    color: var(--text-color-secondary);
}

.timeline-content p {
    margin: 5px 0;
    line-height: 1.5;
}

/* ******************************
    Compétences
****************************** */

#competences {
    display: flex;
    align-items: center;
    justify-content: start;
    flex-direction: column;
    min-height: 100vh;
    padding: 0 30px;
    gap: 50px;
}

.filter-menu {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    border: none;
    background-color: var(--background-color-tertiary);
    color: var(--text-color);
    margin: 0 5px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.filter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.filter-btn.active {
    background-color: var(--background-color-secondary);
    color: var(--text-color);
    border-color: var(--text-color-secondary);
}

.filter-btn .count {
    display: inline-block;
    background-color: var(--background-color);
    color: var(--text-color-secondary);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
    font-weight: bold;
    
}

.hero {
    width: 100%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.competence-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border-radius: 20px 20px 0 0;
    box-shadow: 20px 20px 0 rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    overflow: hidden;
    padding-bottom: 15px;
}

.competence-box:hover {
    transform: translateY(-10px);
    box-shadow: 25px 25px 0 rgba(0, 0, 0, 0.6);
}

.competence-box i {
    font-size: 5em;
    padding: 20px;
    transition: transform 0.3s ease;
}

.competence-box:hover i {
    transform: scale(1.1);
}

.skill-info {
    width: 100%;
    padding: 0 15px;
    margin-top: 10px;
    text-align: center;
}

.skill-description {
    font-size: 0.9em;
    color: var(--text-color-secondary);
    margin-top: 0;
    font-style: italic;
}

/* ******************************
    Projets
****************************** */

#projets {
    display: flex;
    align-items: center;
    justify-content: end;
    flex-direction: row;
    min-height: 100vh;
    padding: 0 30px;
    gap: 50px;
}

.main-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    gap: 20px;
}

.git-repo {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-around;
}

.git-repo hr {
    width: 100%;
    border: 1px solid var(--text-color-secondary);
}

.repo-title {
    cursor: pointer;
    transition: all 0.25s ease-in-out;
}

.repo-title:hover {
    color: var(--background-color-secondary);
    transform: scale(1.05);
}

.readme {
    max-height: 80vh;
    width: 1000px;
    display: flex;
    flex-direction: column;
    border-radius: 20px 20px 0 0;
    box-shadow: 20px 20px 0 rgba(0, 0, 0, 0.5);
    background-color: var(--background-color-tertiary);
    position: relative;
    margin-right: 50px;
}

#close-readme-text-btn {
    margin: 0;
    padding: 8px 12px;
    cursor: pointer;
    z-index: 10;
    font-size: 0.9em;
    border-radius: 8px;
}

.readme-content {
    padding: 30px 40px;
    overflow-y: auto;
    max-height: calc(80vh - 60px);
    scrollbar-width: thin;
    scrollbar-color: var(--background-color-secondary) var(--background-color-tertiary);
}

.readme-content::-webkit-scrollbar {
    width: 8px;
}

.readme-content::-webkit-scrollbar-track {
    background: var(--background-color-tertiary);
    border-radius: 10px;
}

.readme-content::-webkit-scrollbar-thumb {
    background-color: var(--background-color-secondary);
    border-radius: 10px;
}

.repo-readme h1 {
    color: var(--text-color);
    text-align: center;
    font-size: 1.5rem;
}

.readme-content h1 {
    font-family: 'SundayMidnight', sans-serif;
    line-height: 3em;
    font-size: 1.5rem;
    color: var(--text-color-secondary);

}

.repo-readme h2 {
    color: var(--text-color-secondary);
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    font-size: 1.6em;
    border-bottom: 2px solid var(--background-color-secondary);
    padding-bottom: 0.3em;
}

.repo-readme p {
    line-height: 1.7;
    margin-bottom: 1.2em;
    font-size: 1.05em;
}

.repo-readme strong {
    color: var(--text-color-secondary);
    font-weight: 700;
}

.repo-readme ul, .repo-readme ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

.repo-readme li {
    margin-bottom: 0.5em;
    line-height: 1.6;
}

.repo-readme pre {
    background-color: var(--background-color);
    border-radius: 8px;
    padding: 1.2em;
    margin: 1.5em 0;
    overflow-x: auto;
    border-left: 4px solid var(--background-color-secondary);
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9em;
    line-height: 1.5;
}

.repo-readme hr {
    height: 4px;
    background-color: var(--background-color-secondary);
    border: none;
    opacity: 0.3;
    margin: 2em 0;
    border-radius: 2px;
}

.repo-readme a,
#close-readme-text-btn {
    text-decoration: none;
    border: 2px solid var(--text-color-secondary);
    border-radius: 10px;
    color: var(--text-color-secondary);
    background-color: transparent;
    transition: all 0.25s ease-in-out;
    display: inline-block;
    font-weight: 500;
}

.repo-readme a:hover,
#close-readme-text-btn:hover {
    background-color: var(--text-color-secondary);
    color: var(--background-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.readme-content img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.5em;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.readme-content img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.repo-readme p:has(img) + p:has(img) img {
    margin-top: -1em;
}

#close-readme-text-btn {
    cursor: pointer;
    margin: 20px;
}

.readme-content {
    padding: 30px;
    overflow: scroll;
}

.repo-readme h2 {
    color: var(--text-color-secondary);
}

.repo-readme a {
    text-decoration: none;
    padding: 8px 15px;
    border: 2px solid var(--text-color-secondary);
    border-radius: 10px;
    color: var(--text-color-secondary);
    background-color: transparent;
    transition: all 0.25s ease-in-out;
    display: inline-block;
}

.repo-readme a:hover,
#close-readme-text-btn:hover {
    background-color: var(--text-color-secondary);
    color: var(--background-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.repo-readme img {
    width: 100%;
}

.box,
.top-box,
.competence-box,
.timeline-box,
.timeline-content,
.date,
.section-dot,
.dot-tooltip,
nav,
.menu,
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    transition: background-color var(--transition-time), color var(--transition-time), border-color var(--transition-time);
}

/* ******************************
    Veille Technologique
****************************** */

#veille {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
    padding: 0 30px;
    position: relative;
    background-color: var(--background-color);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(212, 163, 115, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(212, 163, 115, 0.07) 0%, transparent 50%);
}

.veille-container {
    max-width: 1200px;
    width: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.veille-intro {
    text-align: center;
    margin-bottom: 20px;
}

.veille-intro h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-color-secondary);
    font-family: 'SundayMidnight', sans-serif;
    line-height: 10;
}

.veille-intro p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.framework-timeline {
    position: relative;
    width: 100%;
    overflow: visible;
    padding: 40px 0;
    display: flex;
    justify-content: center;
}

.framework-swiper {
    width: 100%;
    padding-bottom: 50px;
    margin: 0 auto;
    max-width: 1200px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.swiper-slide-active {
    opacity: 1;
}

.framework-card {
    flex: 0 0 auto;
    width: 350px;
    height: 500px;
    border-radius: 15px;
    background-color: var(--background-color-tertiary);
    box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
    perspective: 1000px;
    margin: 0 auto;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--background-color-secondary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    transform: translateY(-50%);
}

.swiper-pagination {
    bottom: 10px;
}

.timeline-slider {
    display: flex;
    gap: 30px;
    padding: 10px;
    width: max-content;
    min-width: 100%;
}

.framework-card {
    flex: 0 0 auto;
    width: 350px;
    border-radius: 15px;
    background-color: var(--background-color-tertiary);
    box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.framework-header {
    background-color: var(--background-color-secondary);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid var(--text-color);
}

.framework-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-color);
}

.framework-header i {
    font-size: 1.8rem;
    color: var(--text-color);
}

.year-tag {
    background-color: var(--background-color);
    color: var(--text-color-secondary);
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.9rem;
}

.framework-content {
    padding: 20px;
    flex-grow: 1;
}

.framework-content p {
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.5;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tech-tags span {
    background-color: var(--background-color);
    color: var(--text-color-secondary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.code-snippet {
    background-color: #1e1e1e;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    overflow-x: auto;
    font-size: 0.85rem;
}

.code-snippet pre {
    margin: 0;
}

.code-snippet code {
    font-family: 'Consolas', 'Monaco', monospace;
    color: #d4d4d4;
    line-height: 1.5;
}

.veille-sources {
    margin-top: 40px;
}

.veille-sources h3 {
    text-align: center;
    color: var(--text-color-secondary);
    margin-bottom: 25px;
    font-family: 'SundayMidnight', sans-serif;
    font-size: 1.8rem;
    line-height: 10;
}

.sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    align-items: center;
    justify-content: center;
}

.source-item {
    background-color: var(--background-color-tertiary);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.1);
}

.source-item:hover {
    transform: translateY(-5px);
}

.source-item i {
    font-size: 2.5rem;
    color: var(--background-color-secondary);
    margin-bottom: 15px;
}

.source-item h4 {
    margin: 10px 0;
    color: var(--text-color-secondary);
}

.veille-conclusion {
    margin-top: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 30px;
    background-color: var(--background-color-tertiary);
    border-radius: 15px;
    box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.1);
    line-height: 10;
}

.veille-conclusion h3 {
    color: var(--text-color-secondary);
    margin-bottom: 15px;
    font-family: 'SundayMidnight', sans-serif;
}

.veille-conclusion p {
    line-height: 1.6;
}

.framework-comparisons {
    margin-top: 50px;
    width: 100%;
}

.framework-comparisons h3 {
    text-align: center;
    color: var(--text-color-secondary);
    margin-bottom: 15px;
    font-family: 'SundayMidnight', sans-serif;
    line-height: 5;
}

.framework-comparisons p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.comparison-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.comparison-card {
    background-color: var(--background-color-tertiary);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 15px 15px 0 rgba(0, 0, 0, 0.15);
}

.comparison-card h4 {
    color: var(--text-color-secondary);
    text-align: center;
    margin: -25px -25px 25px -25px;
    padding: 15px 20px;
    font-size: 1.4rem;
    background-color: var(--background-color-secondary);
    color: var(--text-color);
    position: relative;
    font-weight: 600;
}

.comparison-card h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--text-color-secondary) 50%, 
        transparent 100%);
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 10px;
    font-size: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.comparison-table th,
.comparison-table td {
    padding: 16px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.comparison-table th {
    background-color: var(--background-color-secondary);
    color: var(--text-color);
    font-weight: bold;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.02);
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    min-width: 120px;
}

.comparison-table tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.comparison-table tr:last-child {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.03);
}

.comparison-table tr:hover td {
    background-color: rgba(212, 163, 115, 0.15);
}

.comparison-table td[data-value="Excellente"],
.comparison-table td:contains("Excellente") {
    color: #2e7d32;
    font-weight: 600;
}

.comparison-table td[data-value="Très bonne"],
.comparison-table td:contains("Très bonne"),
.comparison-table td:contains("Très mature"),
.comparison-table td:contains("Très léger") {
    color: #1e88e5;
    font-weight: 600;
}

.comparison-table td[data-value="Bonne"],
.comparison-table td:contains("Bonne"),
.comparison-table td:contains("Modéré") {
    color: #7b1fa2;
}

.comparison-table td.with-icon {
    position: relative;
}

.comparison-table td.with-icon::before {
    margin-right: 5px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

/* ******************************
    Contact
****************************** */

#contact {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
    padding: 0 30px;
    position: relative;
}

.contact-container {
    max-width: 1000px;
    width: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.contact-intro {
    text-align: center;
    margin-bottom: 10px;
}

.contact-intro h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-color-secondary);
    font-family: 'SundayMidnight', sans-serif;
    line-height: 5;
}

.contact-intro p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-form-wrapper {
    width: 100%;
    max-width: 800px;
}

.contact-form-card {
    border-radius: 20px 20px 0 0;
    background-color: var(--background-color-tertiary);
    box-shadow: 20px 20px 0 rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.contact-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 25px 25px 0 rgba(0, 0, 0, 0.6);
}

.contact-form {
    padding: 25px 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-row {
    display: flex;
    gap: 30px;
    width: 100%;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    position: relative;
    margin-bottom: 5px;
}

.form-group label {
    position: absolute;
    left: 0;
    top: 10px;
    color: var(--text-color);
    opacity: 0.6;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 0;
    border: none;
    background: transparent;
    color: var(--text-color);
    font-size: 1.1rem;
    font-family: inherit;
    outline: none;
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:valid ~ label {
    top: -20px;
    font-size: 0.9rem;
    color: var(--background-color-secondary);
    opacity: 1;
    font-weight: 500;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.form-group input:focus + .input-line,
.form-group textarea:focus + .input-line {
    height: 2px;
    background-color: var(--background-color-secondary);
}

.recaptcha {
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn {
    align-self: center;
    background-color: var(--background-color-secondary);
    color: var(--text-color);
    border: none;
    padding: 16px 35px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.15);
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: width 0.4s ease;
    z-index: -1;
}

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

.submit-btn:hover::before {
    width: 100%;
}

.submit-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px) translateY(-2px);
}

/* ******************************
    Footer
****************************** */

footer {
    position: relative;
    width: 100%;
    background-color: var(--background-color-tertiary);
    min-height: 100px;
    padding: 20px 50px;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Footer content */
.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    gap: 30px;
}

.footer-section h3 {
    color: var(--text-color-secondary);
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-family: 'SundayMidnight', sans-serif;
    position: relative;
    display: inline-block;
    line-height: 3em;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--background-color-secondary);
}

.footer-section.about p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.social-footer {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-footer a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--background-color);
    border-radius: 50%;
    color: var(--background-color-secondary);
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s;
}

.social-footer a:hover {
    transform: translateY(-5px);
    background-color: var(--background-color-secondary);
    color: var(--background-color);
}

.footer-section.links ul {
    list-style: none;
}

.footer-section.links ul li {
    margin-bottom: 10px;
}

.footer-section.links ul li a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-section.links ul li a::before {
    content: '>';
    color: var(--background-color-secondary);
    margin-right: 8px;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s, transform 0.3s;
    position: absolute;
    left: -15px;
}

.footer-section.links ul li a:hover {
    color: var(--text-color-secondary);
    transform: translateX(10px);
}

.footer-section.links ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-bottom {
    width: 100%;
    max-width: 1200px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-to-top {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--background-color-secondary);
    color: var(--text-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s;
    text-decoration: none;
}

.back-to-top:hover {
    transform: translateY(-8px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}