/* ---------------------------------------------- */
/* VARIABLES */
/* ---------------------------------------------- */
:root {
    --bg: #0e0b1f;
    --text: #ffffff;
    --primary: #b178ff;
    --secondary: #22d3ee;
    --gradient: linear-gradient(90deg, #b178ff, #22d3ee);
    --back: #131c43;
    --back2: #121f3b;
    --radius: 14px;
    --transition: 0.3s ease;
}

/* ---------------------------------------------- */
/* RESET */
/* ---------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: var(--back);
    color: var(--light);
    line-height: 1.6;
}

/* ------------------------------------------------ */
/* NAVBAR */
/* ------------------------------------------------ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 18px 0;
    background: transparent;
    z-index: 1000;
    transition: all 0.2s ease-in-out;
}

.scrolled {
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--secondary);
}

.nav-content {
    max-width: 1200px;
    margin: auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--text);
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
}

.logo-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
}

.nav-link {
    position: relative;
    color: var(--text);
    padding-bottom: 4px;
}

.nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary);
}

.nav-link:hover::after {
    width: 100%;
}

/* ------------------------------------------------ */
/* HERO */
/* ------------------------------------------------ */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    margin: auto;
    background-image: url("asset/background.jpg");
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: darken;
    background-size: cover;
    background-position: center;
}

.hero-section .content {
    width: 80%;
    margin: 10px;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.hero-left h1 {
    line-height: 1.2;
}

.hello {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    color: white;
}

.name {
    display: block;
    font-size: 4rem;
    font-weight: 700;
}

.name .lin {
    color: #22d3ee;
}

.name .ear {
    color: var(--primary);
}

.role {
    display: block;
    font-size: 2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    margin-top: 10px;
}

.hero-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    align-content: center;
}

.btn {
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn.primary {
    background: var(--gradient);
    color: #0e0b1f;
    display: flex;
    align-items: center;
}

.btn.secondary {
    border: 2px solid var(--secondary);
    color: var(--text);
    display: flex;
    align-items: center;
    background: transparent;
    transition: 0.3s ease;
    backdrop-filter: blur(6px);
}

.btn:hover {
    transform: translateY(-3px);
}

/* Social icons */
.socials {
    margin-top: 30px;
    display: flex;
    gap: 18px;
}

.socials a {
    color: var(--text);
    font-size: 1.4rem;
    transition: var(--transition);
}

.socials a:hover {
    color: var(--secondary);
}

.endHero {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
}

.endHero i {
    color: white;
    font-size: 1.5rem;
    animation: bounceFade 1.5s infinite ease-in-out;
}

/* ------------------------------------------------ */
/* MEMOJI */
/* ------------------------------------------------ */
.hero-right {
    min-width: 50%;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
}

.memoji-wrapper {
    position: relative;
    width: 20rem;
    height: 20rem;
    border: 4px solid var(--secondary);
    box-shadow: 0 10px 15px -3px var(--secondary),
                0 4px 6px -2px var(--secondary);
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    transition: all ease 0.5s;
}

.memoji {
    width: 125%;
    height: 125%;
    top: 7px;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    transition: all ease 0.2s;
}

.memoji-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: 2;
    transition: all 0.5s ease;
}

/* ---------------------------------------------- */
/* ABOUT - Neon Clean */
/* ---------------------------------------------- */
.about {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: white;
    text-align: center;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glow-section {
    padding: 100px 5%;
    display: flex;
    justify-content: center;
    background: var(--back);
}

.about-card {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    align-items: center;
    gap: 50px;
    padding: 50px;
    max-width: 1300px;
    width: 100%;
    color: white;
    border-radius: 25px;
    backdrop-filter: blur(20px);
    background: rgba(20, 25, 50, 0.45);
    box-shadow: 0 0 35px #22d3ee;
}

/* IMAGE */
.about-img {
    width: 100%;
    border-radius: 20px;
    display: flex;
}

.about-img img {
    width: 100%;
    border-radius: 15px;
}

.about-title {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-right p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #d8eefe;
}

.info-grid {
    margin: 25px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 30px;
}

.info-grid p span {
    color: var(--primary);
    font-weight: 600;
}

/* Buttons */
.about-buttons {
    margin-top: 25px;
    display: flex;
    gap: 20px;
}

.about-buttons a {
    text-decoration: none;
}

.btn-primary {
    padding: 12px 30px;
    border-radius: 30px;
    background: linear-gradient(45deg, #22d3ee, #b178ff);
    color: var(--back);
    align-content: center;
    font-size: 1.1rem;
    transition: 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 18px rgba(178, 120, 255, 0.55);
}


.btn-outline {
    padding: 12px 30px;
    border-radius: 30px;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    font-size: 1.1rem;
    transition: 0.3s ease;
}

.btn-outline:hover {
    background: rgba(108, 99, 255, 0.15);
    transform: translateY(-3px);
}


/* RESPONSIVE */
@media (max-width: 950px) {
    .about-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .about-buttons {
        justify-content: center;
    }
    .about-img{
        justify-content: center;
        img{
            width: 80%;
        }
    }
}
/* ---------------------------------------------- */
/* SKILLS */
/* ---------------------------------------------- */

.skills {
    padding: 50px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--back);
}

.skills-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.skills-title h3 {
    font-size: 2.8rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skills-title i {
    font-size: 2.5rem;
    color: var(--primary);
    display: inline-block;
    animation: spin 3.5s linear infinite;
}

/* Catégories */
.skill-category {
    font-size: 1.8rem;
    color: white;
    opacity: 0.9;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 20px 0 15px;
    text-align: left;
    width: 100%;
}

/* GRID */
.skills-grid {
    width: 90%;
    max-width: 1100px;
}

/* Chaque ligne de compétences */
.skill-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/* CARDS */
.skill-card {
    background: #0c1b30;
    border-radius: 18px;
    padding: 25px 15px;
    text-align: center;
    transition: 0.3s ease;
    border: 2px solid transparent;
}

/* Hover neon */
.skill-card:hover {
    border-color: #22d3ee;
    transform: translateY(-6px);
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.4);
}

/* Icônes */
.skill-card img {
    height: 60px;
    width: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

/* Texte */
.skill-card p {
    color: #eef7ff;
    font-size: 1rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 600px) {
    .skill-card img {
        height: 45px;
        width: 45px;
    }
}
/* ---------------------------------------------- */
/* PROJETS */
/* ---------------------------------------------- */
.projects {
    padding: 80px 0;
    background: #07162b;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 40px;
}

.projects-carousel {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Fenêtre visible */
.carousel-viewport {
  position: relative;
  width: 80%;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden; /* cache ce qui dépasse */
}

/* Bande qui défile */
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

/* 2 cartes par slide */
.project-card {
  flex: 0 0 50%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.project-card-inner {
    background: #0f2a4d;
    width: 25rem;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}
.project-images {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.project-images-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.project-images img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Flèches mini slider */
.img-prev, .img-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 34px;
  width: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.40);
  color: white;
  font-size: 18px;
  cursor: pointer;
  z-index: 5;
  transition: 0.2s;
}

.img-prev:hover, .img-next:hover {
  background: rgba(0,0,0,0.65);
}

.img-prev {
  left: 10px;
}

.img-next {
  right: 10px;
}
.card-image img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 20px;
  text-align: left;
}

.card-content h3 {
  margin-bottom: 10px;
}

.card-content p {
  font-size: 14px;
  opacity: .85;
}

.info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
  font-size: 14px;
}

.tags span {
  background: #1a3f75;
  padding: 5px 10px;
  border-radius: 12px;
  margin: 4px 4px 0 0;
  display: inline-block;
  font-size: 12px;
}

.btn-primary-projet {
    display: inline-block;
    background: var(--gradient);
    -webkit-text-fill-color: black;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 14px;
}
.btn-secondary-projet {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--secondary);
    padding: 10px 16px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    margin-top: 14px;
}

/* Flèches */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 22px;
  background: #2c4a75;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  z-index: 10;
}

.nav-btn.prev {
  left: 10px;
}
.nav-btn.next {
  right: 10px;
}

.nav-btn:hover {
  background: #3d6eb3;
}

.pagination {
  margin-top: 20px;
}

.dot {
  height: 10px;
  width: 10px;
  background: #456699;
  border-radius: 50%;
  display: inline-block;
  margin: 5px;
  cursor: pointer;
}

.dot.active {
  background: #6ba6ff;
}

@media (max-width: 480px) {

  .project-images,
  .project-images img {
    height: 140px;
  }

  .card-content h3 {
    font-size: 1.1rem;
  }

  .card-content p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .tags span {
    padding: 3px 6px;
  }

  .nav-btn {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .dot {
    width: 8px;
    height: 8px;
  }
}

/* Mobile : 1 carte par slide */
@media (max-width: 768px) {

  .carousel-viewport {
    width: 100%;
  }

  .carousel-track {
    gap: 0;
  }

  .project-card {
    flex: 0 0 100%; /* une seule carte */
    padding: 0 10px;
  }

  .project-card-inner {
    width: 100%;
    border-radius: 14px;
  }

  .project-images,
  .project-images img {
    height: 160px;
  }

  .img-prev, .img-next {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .card-content {
    padding: 15px;
  }

  .card-content h3 {
    font-size: 1.2rem;
  }

  .card-content p {
    font-size: 0.9rem;
  }

  .info {
    font-size: 0.85rem;
  }

  .tags span {
    font-size: 10px;
    padding: 4px 8px;
  }

  .btn-primary-projet,
  .btn-secondary-projet {
    width: 100%;
    text-align: center;
    margin-top: 12px;
    padding: 10px 14px;
  }

  .nav-btn {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .nav-btn.prev {
    left: -2px;
  }
  .nav-btn.next {
    right: -2px;
  }

  .pagination {
    margin-top: 14px;
  }
}

@media (max-width: 992px) {

  .carousel-viewport {
    width: 90%;
  }

  .project-card-inner {
    width: 20rem;
  }

  .project-images,
  .project-images img {
    height: 180px;
  }

  .nav-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}


/* ---------------------------------------------- */
/* EXPERIENCE */
/* ---------------------------------------------- */

/* SECTION */
.experience {
    padding: 100px 5%;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.experience-title {
    text-align: center;
    font-size: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* GLOBAL TIMELINE STRUCTURE */
.timeline-container {
    display: flex;
    position: relative;
    width: 85%;
    max-width: 1100px;
    margin: auto;
}

/* Timeline vertical line */
.timeline {
    position: relative;
    width: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    margin-right: 60px;
}

/* Gradient fill (scroll animation) */
.timeline-fill {
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #b178ff, #22d3ee);
    border-radius: 4px;
    box-shadow: 0 0 12px var(--primary);
    transition: height 0.2s ease-out;
}

/* Timeline dots */
.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: #0e0b1f;
    border: 3px solid var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--primary);
}

/* Position dots automatically */


/* EXPERIENCE ITEMS */
.experience-list {
    flex: 1;
}

.exp-item {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 100px;
    margin-bottom: 100px;
}

/* LEFT DATA */
.exp-left {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.exp-left .date {
    color: var(--secondary);
}

.exp-left .company {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.2rem;
}

.exp-logo {
    width: 125px;
    border-radius: 6px;
    margin-top: 10px;
}

/* RIGHT CARD */
.exp-right {
    width: 65%;
    background: rgba(15, 22, 40, 0.55);
    padding: 24px 28px;
    border-radius: 14px;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 15px rgba(34,211,238,0.2);
}

.job-title {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.exp-right ul {
    padding-left: 20px;
}

.exp-right li {
    margin: 6px 0;
    color: #dce9ff;
    a{
        text-decoration: none;
        color: var(--secondary);
    }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .timeline-container {
        flex-direction: column;
    }

    .timeline {
        display: none;
    }

    .exp-item {
        flex-direction: column;
        margin-bottom: 80px;
    }

    .exp-right, .exp-left {
        width: 100%;
    }
}

/* ---------------------------------------------- */
/* CONTACT */
/* ---------------------------------------------- */

.contact-section {
    padding: 120px 5%;
    text-align: center;
    display: flex;
    background-color: #07162b;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.contact-title {
    font-size: 3rem;
    margin-bottom: 40px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* FORM CONTAINER */
.contact-container {
    max-width: 700px;
    width: 100%;
    margin: auto;
    background: rgba(20, 25, 50, 0.45);
    padding: 50px;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 25px rgba(34, 211, 238, 0.25);
}

/* INPUT GROUP */
.input-group {
    position: relative;
    margin: 25px 0;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px 10px;
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    border-bottom: 2px solid #445;
    transition: 0.3s ease;
}

/* LABEL ANIMÉE */
.input-group label {
    position: absolute;
    left: 10px;
    top: 12px;
    color: #9cb3d9;
    font-size: 1rem;
    pointer-events: none;
    transition: 0.3s ease;
}

/* LIGNE LUMINEUSE EN FOND */
.input-group .underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gradient);
    transition: 0.4s ease;
}

/* ANIMATIONS FOCUS */
.input-group input:focus ~ label,
.input-group textarea:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: -14px;
    font-size: 0.8rem;
    color: var(--secondary);
}


.input-group input:focus ~ .underline,
.input-group textarea:focus ~ .underline {
    width: 100%;
}

/* BOUTON */
.contact-btn {
    margin-top: 25px;
    padding: 14px 30px;
    font-size: 1.1rem;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    background: var(--gradient);
    color: #0e0b1f;
    font-weight: 700;
    transition: 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.6);
}

.contact-btn i {
    margin-left: 8px;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .contact-container {
        padding: 30px;
    }
}


/* ---------------------------------------------- */
/* FOOTER */
/* ---------------------------------------------- */
footer {
    text-align: center;
    padding: 20px;
    background: var(--back);
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--secondary);
    p{
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 0.9rem;
    }
}

/* ---------------------------------------------- */
/* ANIMATIONS */
/* ---------------------------------------------- */
@keyframes bounceFade {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    70% {
        transform: translateY(12px);
        opacity: 0.5;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================= */
/* NAVBAR MOBILE PREMIUM EFFECTS */
/* ============================= */
/* BURGER ICON BASE STYLE */
.burger {
    width: 32px;
    height: 24px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.burger span {
    display: block;
    height: 4px;
    width: 100%;
    background: var(--text);
    border-radius: 5px;
    transition: 0.3s ease;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 10, 25, 0.65);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 900;
}

/* Glow neon du BURGER */
.burger.active span {
    box-shadow: 0 0 10px var(--secondary);
}

/* Glow neon des liens */
.nav-links.open .nav-link {
    text-shadow: 0 0 6px var(--secondary);
}

@media (max-width: 900px) {

    .burger {
        display: flex;
        z-index: 1200;
    }

    /* MENU MOBILE */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 65%;
        background: rgba(10, 15, 35, 0.95);
        backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
        transition: 0.4s ease;
        border-left: 1px solid var(--secondary);
        box-shadow: -10px 0 30px rgba(34, 211, 238, 0.15);
        z-index: 1100;
    }

    .nav-links.open {
        right: 0;
    }

    /* MENU OVERLAY visible */
    .menu-overlay.visible {
        opacity: 1;
        visibility: visible;
    }

    /* Scroll lock */
    body.menu-open {
        overflow: hidden;
    }

    /* Burger animation */
    .burger.active span:nth-child(1) {
        transform: translateY(12px) rotate(45deg);
    }
    .burger.active span:nth-child(2) {
        opacity: 0;
    }
    .burger.active span:nth-child(3) {
        transform: translateY(-12px) rotate(-45deg);
    }
}


/* ============================= */
/*      RESPONSIVE HERO          */
/* ============================= */

/* TABLETTE PAYSAGE (max 1200px) */
@media (max-width: 1200px) {
    .hero-section .content {
        width: 90%;
        padding: 0 1rem;
    }

    .hello, .name {
        font-size: 3.5rem;
    }

    .role {
        font-size: 1.7rem;
    }

    .memoji-wrapper {
        width: 17rem;
        height: 17rem;
    }
}

/* TABLETTE PORTRAIT (max 992px) */
@media (max-width: 992px) {
    .hero-section .content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-left {
        align-items: center;
    }

    .hello, .name {
        font-size: 3rem;
    }

    .role {
        font-size: 1.6rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .socials {
        justify-content: center;
    }

    .hero-right {
        min-width: unset;
    }

    .memoji-wrapper {
        width: 16rem;
        height: 16rem;
    }
}

/* MOBILE (max 768px) */
@media (max-width: 768px) {
    .hello, .name {
        font-size: 2.4rem;
    }

    .role {
        font-size: 1.3rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .memoji-wrapper {
        width: 13rem;
        height: 13rem;
    }
}

/* MOBILE ÉTROIT (max 480px) */
@media (max-width: 480px) {
    .hello, .name {
        font-size: 2rem;
    }

    .role {
        font-size: 1.1rem;
    }

    .hero-section .content {
        width: 95%;
    }

    .memoji-wrapper {
        width: 11.5rem;
        height: 11.5rem;
    }
}
