@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  0%, 100% { border-color: transparent }
  50% { border-color: #66ffdb }
}

:root {
  --accent: 166 100% 70%;   /* ex: cyan clair (H S L sans le hsl() autour) */
  --primary: 207 48% 15%;   /* ex: bleu foncé */
}

.hero-section {
    height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, hsl(207, 48%, 11%) 0%, hsl(207, 48%, 15%) 100%);
    color: white;
    padding: 300px 20px 100px 20px;
}

.blob {
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 9999px;
    filter: blur(48px);
    pointer-events: none;
}

.blob-top-left {
    top: -12rem;
    left: -12rem;
    background: rgba(0, 255, 255, 0.1);
}

.blob-bottom-right {
    bottom: -12rem;
    right: -12rem;
    background: rgba(0, 180, 255, 0.1);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.profile-photo-wrapper {
    position: relative;
    width: 192px;
    height: 192px;
    margin-bottom: 1rem;
}

.profile-photo-wrapper img {
    width: 192px;
    height: 192px;
    border: 4px solid #66ffdb;
    box-shadow: 0 0 40px #66ffdb4d;
    border-radius: 50%;
    display: block;
    position: relative;
    z-index: 1;
}

.profile-photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 192px;
    height: 192px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(
        circle at center,
        #66ffdb33,
        transparent 70%
    );
    z-index: 2;
}

h1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    font-size: 60px;
    font-weight: 800;
    line-height: 1;
}

h1 > span:last-child {
    color: #66ffdb;

    overflow: hidden;         
    border-right: 10px solid #66ffdb;
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

.hero-content > p {
    width: 100%;
    max-width: 758px;

    color: #8db6d8;
    font-size: 24px;
    padding-top: 15px;

    text-align: center;
}

.button-div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    gap: 20px;
    padding-top: 50px;
}

.button-div > button {
    font-size: 18px;
    font-weight: 500;

    border: 1px solid #66ffdbe6;
    border-radius: 10px;

    padding: 8px 32px;
    transition: transform 0.3s ease;
}

.button-div > button:hover {
    transform: scale(1.10);
}

.button-div > button:first-child {
    color: #0f1d2a;
    background-color: #66ffdbe6;
    box-shadow: 0 0 40px #66ffdb4d;
}

.button-div > button:last-child {
    color: #66ffdb;
}

.link-div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    gap: 50px;
    padding-top: 50px;
}

.link-div > a {
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 12px;
    background-color: #172d40;

    border-radius: 50%;

    transition: transform 0.3s ease;
}

.link-div > a:hover {
    transform: scale(1.10);
    background-color: #66ffdb33;
}

.link-div > a:hover > svg{
    color: #66ffdb;
}

.link-div > a > svg {
    color: #8db6d8;
}

.about {
    height: 680px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    background-color: #0f1e2b;

    padding-top: 75px;
    gap: 40px;
}

.about > h2 {
    position: relative;
    color: #dde9f3;
    font-size: 36px;
    font-weight: 700;
}

.about > h2::after {
    content: "";
    position: absolute;
    width: 96px;         
    height: 5px;
    background-color: #66ffdb;
    bottom: -15px;
    left: 50%;           
    transform: translateX(-50%); 
}

.about > h2 > span {
    color: #66ffdb;
}

.about > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 30px;
}

.about > div > div:first-child {
    width: 900px;

    background-color: #112331;
    padding: 48px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.about > div > div:first-child:hover {
    transform: scale(1.05);
}

.about > div > div:first-child > p {
    color: #dde9f3;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
}

.about > div > div:first-child > p > span {
    color: #66ffdb;
}

.about > div > div:last-child {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    gap: 20px;
}

.about > div > div:last-child > div {
    width: 440px;
    min-height: 138px;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    background-color: #112331;
    
    gap: 12px;
    padding: 24px;

    border-radius: 12px;

    transition: transform 0.3s ease;
}

.about > div > div:last-child > div:hover {
    transform: scale(1.05);
}

.about > div > div:last-child > div > div:first-child {
    display: flex;
    justify-content: center;
    align-items: center;

    background-color: #172d40;
    padding: 12px;

    color: #66ffdb;

    border-radius: 12px;
}

.about > div > div:last-child > div > div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    gap: 10px;
}

.about > div > div:last-child > div > div:last-child > h3:first-child {
    color: #dde9f3;
    font-size: 18px;
    font-weight: 600;
}

.about > div > div:last-child > div > div:last-child > h3:last-child {
    color: #8db6d8;
}

.my-project {
    height: 860px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    background-color: #0f1d2a;

    padding-top: 75px;
}

.my-project > h2{
    color: #dde9f3;
    font-size: 36px;
    font-weight: 700;       
}

.my-project > h2 > span {
    color: #66ffdb;
}

.my-project > p {
    max-width: 672px;

    color: #8db6d8;
    font-size: 18px;

    text-align: center;
    position: relative;
}

.my-project > p::after {
    content: "";
    position: absolute;
    width: 96px;          
    height: 5px;
    background-color: #66ffdb;
    bottom: -25px;
    left: 50%;         
    transform: translateX(-50%);  
}

.project {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    padding-top: 50px;
}

.bookyou {
    width: 100%;
    max-width: 560px;
    height: 488px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: center;

    background-color: #112331;
    border-radius: 16px;
    overflow: hidden; 

    transition: transform 0.3s ease;
}

.bookyou:hover {
    transform: scale(1.05);
}

.bookyou > div:first-child {
    width: 100%; 
    height: 192px;

    background-image: url("https://lovable.dev/_next/image?url=https%3A%2F%2Fpub-bb2e103a32db4e198524a2e9ed8f35b4.r2.dev%2F1dcb233c-46d8-47dc-836a-808f50ae1cac%2Fid-preview-791a9e4e--56d4657b-918d-45b9-b328-0910180ccb41.lovable.app-1752922959010.png&w=1080&q=75");
    background-repeat: no-repeat;
    background-position: center top; 
    background-size: cover; 

    padding: 16px;
}

.bookyou > div:first-child > span {
    color: #0f1d2a;
    font-size: 14px;

    padding: 4px 12px;

    background-color: #66ffdbe6;

    border-radius: 9999px;

    position: absolute;
}

.bookyou > div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    padding: 20px;
    gap: 10px;
}

.bookyou > div:last-child > h3 {
    color: #dde9f3;
    font-weight: 700;
    font-size: 20px;
}

.bookyou > div:last-child > p {
    color: #8db6d8;
    line-height: 1.625;
    font-weight: 500;
}

.attribut {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;

    gap: 10px;
}

.attribut > span {
    color: hsl(207 49% 91%);
    font-size: 14px;

    background-color: #172d40;

    border-radius: 9999px;

    padding: 4px 12px;
}

.link {
    width: 100%;

    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;

    padding-top: 20px;
    gap: 15px;
}

.link > a {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    font-size: 14px;
    font-weight: 500;

    padding: 8px 12px;

    border-radius: 8px;
}

.link > a:first-child {
    width: 90%;
    background-color: #66ffdb;
}

.link > a:last-child {
    border: 1px solid #66ffdb;
    color: #66ffdb;
    padding: 10px 12px;
}

.competence {
    height: 1564px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    background-color: #0f1e2b;

    padding-top: 50px;
}

.competence > h2 {
    color: #dde9f3;
    font-size: 36px;
    font-weight: 700;
}

.competence > h2 > span {
    color: #66ffdb;
}

.competence > p {
    max-width: 672px;
    color: #8db6d8;
    font-size: 18px;
    text-align: center;

    padding-top: 15px;
    position: relative;
}

.competence > p::after {
    content: "";
    position: absolute;
    width: 96px;         
    height: 5px;
    background-color: #66ffdb;
    bottom: -15px;
    left: 50%;           
    transform: translateX(-50%); 
}

.competence > div:nth-child(3) {
    width: 100%;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;

    padding-top: 50px;
    gap: 50px;
}

.competence > div > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 20px;
}

.competence > div > div > h3 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    color: #dde9f3;
    font-size: 24px;
    font-weight: 700;

    gap: 10px;
}

.competence > div > div > h3 > svg {
    color: #66ffdb;
}

.competence > div > div > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 15px;

    padding-bottom: 60px;
}

.skill {
    min-width: 580px;
    height: 121px;

    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;

    background-color: #112331;

    padding-left: 20px;
    gap: 15px;

    border-radius: 12px;

    transition: all 0.3s ease;
}

.skill:hover {
    transform: scale(1.05);
}

.skill > div:first-child {
    display: flex;
    justify-content: center;
    align-items: center;

    background-color: #172d40;
    padding: 12px;

    border-radius: 12px;
    color: #66ffdb;
}

.skill > div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.skill > div:last-child > p:first-child {
    color: #dde9f3;
    font-size: 18px;
    font-weight: 600;
}

.progress-bar {
    width: 462px;
    background-color: #172d40;
    border-radius: 12px;
    height: 8px;
    display: flex;
    align-items: center;
    position: relative;
}

.progress-fill {
    height: 100%;
    background-color: #66ffdb;
    border-radius: 12px 0 0 12px;
    transition: width 0.5s ease;
}

.skill > div:last-child > p:last-child {
    color: #8db6d8;
    font-size: 14px;
}

#progress-95 {
    width: 95%;
}

#progress-90 {
    width: 90%;
}

#progress-88 {
    width: 88%;
}

#progress-85 {
    width: 85%;
}

#progress-92 {
    width: 92%;
}

#progress-80 {
    width: 80%;
}

#progress-82 {
    width: 82%;
}

#progress-78 {
    width: 78%;
}

.collaborer {
    width: 100%;
    max-width: 1220px;
    height: 288px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    background-color: #112331;

    border-radius: 12px;
    padding-top: 30px;
    gap: 15px;
}

.collaborer > h3 {
    color: #dde9f3;
    font-size: 24px;
    font-weight: 700;
}

.collaborer > p {
    max-width: 672px;
    color: #8db6d8;
    text-align: center;
    padding-bottom: 15px;
}

.collaborer > button {
    color: #0f1d2a;
    font-weight: 500;
    padding: 12px 32px;

    background-color: #66ffdb;
    border-radius: 12px;

    box-shadow: 0 0 40px #66ffdb4d;

    transition: all 0.3s ease;
}

.collaborer > button:hover {
    transform: scale(1.05);
} 

.contact {
    height: 1394px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    background-color: #0f1d2a;

    padding-top: 70px;
    gap: 15px;
}

.contact > h2 {
    color: #dde9f3;
    font-size: 36px;
    font-weight: 700;
}

.contact > h2 > span {
    color: #66ffdb;
}

.contact > p {
    max-width: 672px;

    color: #8db6d8;
    font-size: 18px;

    text-align: center;
    position: relative;
}

.contact > p::after {
    content: "";
    position: absolute;
    width: 96px;         
    height: 5px;
    background-color: #66ffdb;
    bottom: -15px;
    left: 50%;           
    transform: translateX(-50%); 
}

.contact-us {
    width: 100%;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;

    padding-top: 50px;
    gap: 50px;
}

.contact-us > div {
    max-width: 552px;
}

.message {
    width: 552px;
    min-height: 476px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    background-color: #112331;

    border-radius: 16px;

    padding: 32px;
    gap: 20px;
}

.message > h3 {
    color: #dde9f3;
    font-size: 24px;
    font-weight: 700;
}

.message > form {
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    gap: 20px;
}

.message > form > div {
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    gap: 10px;
}

.message > form > div > label {
    color: #dde9f3;
    font-size: 14px;
    font-weight: 500;
}

.message > form > div > input {
    width: 100%;

    color: #8db6d8;
    font-size: 14px;

    background-color: #0f1d2a;

    padding: 8px 12px;

    border: 1px solid #172d40;
    border-radius: 12px;
}

.message > form > div > input:focus {
    border: 2px solid #66ffdb;
}

.message > form > div > textarea {
    width: 100%;
    min-height: 80px;
    max-height: calc(476px - 32px*2 - 24px - 20px*3);
    
    color: #8db6d8;
    font-size: 14px;
    background-color: #0f1d2a;
    padding: 8px 12px;
    border: 1px solid #172d40;
    border-radius: 12px;

    resize: vertical;
}

.message > form > button {
    width: 100%;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    background-color: #66ffdb;
    box-shadow: 0 0 40px #66ffdb4d;

    font-size: 14px;
    font-weight: 500;

    padding: 12px 16px;
    gap: 15px;

    border-radius: 12px;

    transition: all 0.3s ease;
}

.message > form > button:hover {
    transform: scale(1.05);
}

.contact-us > div:last-child {
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;


    gap: 25px;
}

.contact-info {
    width: 100%;
    max-width: 552px;
    height: 380px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    background-color: #112331;

    padding: 32px;
    gap: 20px;

    border-radius: 16px;
}


.contact-info > h3 {
    color: #dde9f3;
    font-size: 24px;
    font-weight: 700;
}

.contact-info > div {
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    gap: 15px;
}

.contact-info > div > div {
    width: 100%;

    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;

    gap: 15px;
    padding: 16px;

    background-color: #142838;

    border-radius: 8px;

    transition: all 0.3s ease;
}

.contact-info > div > div:hover {
    transform: scale(1.05);
}

.contact-info > div > div > div:first-child {
    display: flex;
    justify-content: center;
    align-items: center;

    background-color: #1b3d48;
    
    color: #66ffdb;

    padding: 8px;
    border-radius: 12px;
}

.contact-info > div > div > div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.contact-info > div > div > div:last-child > p:first-child {
    color: #8db6d8;
    font-size: 14px;
}

.contact-info > div > div > div:last-child > p:last-child {
    color: #dde9f3;
    font-weight: 500;
}

.finding {
    width: 100%;
    max-width: 552px;
    height: 380px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    background-color: #112331;

    padding: 32px;
    gap: 20px;

    border-radius: 16px;
}

.finding > h3 {
    color: #dde9f3;
    font-size: 24px;
    font-weight: 700;
}

.finding > div {
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    gap: 25px;
}

.finding > div > div {
    width: 100%;

    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;

    background-color: #142838;

    border-radius: 8px;

    padding: 16px;
    gap: 15px;

    transition: all 0.3s ease;
}

.finding > div > div:hover {
    transform: scale(1.05);
}

.finding > div > div > div {
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 8px;

    border-radius: 12px;
    
    color: #66ffdb;

    background-color: #1b3d48;
}

.finding > div > div > p {
    color: #dde9f3;
    font-weight: 500;
}

footer {
    min-height: 350px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    
    background-color: #0f1f2c;

    gap: 30px;
}

footer > div {
    width: 1400px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    padding-bottom: 30px;
}

footer > div:last-child {
    border-top: 1px solid #172d40;
    padding-top: 25px;
}

footer > div:first-child > div {
    height: 168px;
    width: 362px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    padding-top: 35px;
    gap: 15px;
}

footer > div:first-child > div:first-child > p:first-child {
    color: #66ffdb;
}

footer > div:first-child > div > p:first-child {
    color: #dde9f3;
    font-size: 22px;
    font-weight: 600;
}

footer > div:first-child > div > p:nth-child(2) {
    color: #8db6d8;
}

footer > div:first-child > div:first-child > div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    gap: 20px;
}

footer > div:first-child > div:first-child > div > a {
    display: flex;
    justify-content: center;
    align-items: center;

    background-color: #172d40;

    padding: 8px;
    border-radius: 12px;

    color: #8db6d8;
    transition: all 0.3s ease;
}

footer > div:first-child > div:first-child > div > a:hover {
    background-color: #66ffdb33;
    color: #66ffdb;
}

footer >  div:first-child > div > div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    gap: 5px;
}

footer > div:first-child > div > div > a, footer > div:first-child > div > div > p {
    color: #8db6d8;
    cursor: pointer;
    transition: all 0.3s ease;
}

footer > div:first-child > div > div > a:hover {
    color: #66ffdb;
}

footer > div:last-child > p {
    color: #8db6d8;
    font-size: 14px;
}

footer > div:last-child > div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    gap: 15px;
}

footer > div:last-child > div > a {
    color: hsl(207 49% 70%);
    transition: all 0.3s ease;
}

footer > div:last-child > div > a:hover {
    color: #66ffdb;
}