/* ========== NAVIGATION ========== */
nav {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
nav.scrolled {
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 4rem;
  padding-right: 4rem;
    background: rgba(248, 245, 243, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow);
}
nav a {
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
  }
nav a::after {
  position: absolute;
  bottom: -5px;
  left: 0px;
  height: 0.125rem;
  width: 0px;
  --tw-text-opacity: 1;
  color: rgb(212 165 174 / var(--tw-text-opacity, 1));
      content: '';
      transition: width 0.3s ease;
}
nav a:hover {
  --tw-text-opacity: 1;
  color: rgb(212 165 174 / var(--tw-text-opacity, 1));
}
nav a:hover::after {
  width: 100%;
}
/* ========== HERO SECTION ========== */
.social-sidebar {
  transform: translateY(-50%);
}
.social-sidebar a {
    transition: all 0.3s ease;
  }
.social-sidebar a:hover {
  opacity: 1;
      transform: translateX(5px);
}
.hero-content {
  animation: fadeInUp 1s ease-out;
}
.hero-name {
  animation: fadeInUp 1s ease-out 0.2s both;
}
.hero-title {
  animation: fadeInUp 1s ease-out 0.4s both;
}
.hero-subtitle {
  animation: fadeInUp 1s ease-out 0.6s both;
}
/* ========== SECTION À PROPOS ========== */
.about-content {
  grid-template-columns: 1fr 1fr;
}
.about-text a {
  transition: all 0.3s ease;
}
.about-text a:hover {
  --tw-border-opacity: 1;
  border-bottom-color: rgb(45 45 45 / var(--tw-border-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(45 45 45 / var(--tw-text-opacity, 1));
}
.about-image {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}
.about-image img {
    transition: transform 0.6s ease;
  }
.about-image:hover img {
    transform: scale(1.05);
  }
.social-links a {
  display: flex;
  height: 50px;
  width: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border-width: 2px;
  border-style: solid;
  --tw-border-opacity: 1;
  border-color: rgb(45 45 45 / var(--tw-border-opacity, 1));
  transition: all 0.3s ease;
}
.social-links a:hover {
  --tw-border-opacity: 1;
  border-color: rgb(212 165 174 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(212 165 174 / var(--tw-bg-opacity, 1));
    transform: translateY(-5px);
}
/* ========== SECTION ACTUALITÉS ========== */
.timeline::before {
  position: absolute;
  left: 50%;
  top: 0px;
  bottom: 0px;
  width: 0.125rem;
    content: '';
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
    transform: translateX(-50%);
}
.timeline .timeline-year::before {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  height: 1.25rem;
  width: 1.25rem;
  border-radius: 50%;
  --tw-bg-opacity: 1;
  background-color: rgb(212 165 174 / var(--tw-bg-opacity, 1));
      content: '';
      transform: translate(-50%, -50%);
      box-shadow: 0 0 0 6px var(--white);
}
.timeline .news-card {
    animation: fadeIn 0.6s ease-out;
  }
.timeline .news-card:nth-child(odd) {
      padding-right: calc(50% + 2rem);
    }
.timeline .news-card:nth-child(odd) .card-content::after {
  position: absolute;
  right: -1.25rem;
  top: 30px;
  height: 0px;
  width: 0px;
  border-top-width: 10px;
  border-bottom-width: 10px;
  border-right-width: 0px;
  border-left-width: 20px;
  border-style: solid;
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-right-color: transparent;
  --tw-border-opacity: 1;
  border-left-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
        content: '';
}
.timeline .news-card:nth-child(even) {
      padding-left: calc(50% + 2rem);
    }
.timeline .news-card:nth-child(even) .card-content::after {
  position: absolute;
  left: -1.25rem;
  top: 30px;
  height: 0px;
  width: 0px;
  border-top-width: 10px;
  border-bottom-width: 10px;
  border-right-width: 20px;
  border-left-width: 0px;
  border-style: solid;
  border-top-color: transparent;
  border-bottom-color: transparent;
  --tw-border-opacity: 1;
  border-right-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
  border-left-color: transparent;
        content: '';
}
.timeline .news-card .card-content {
      box-shadow: 0 10px 30px var(--shadow);
      transition: all 0.4s ease;
    }
.timeline .news-card .card-content:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
      }
.card-image {
  margin-bottom: 1rem;
  height: 200px;
  width: 100%;
  border-radius: 10px;
  -o-object-fit: cover;
     object-fit: cover;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ========== SECTION COMPÉTENCES ========== */
.skills-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}
.skills-grid .skill-category {
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
.skills-grid .skill-category:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    }
.skills-grid .skill-progress {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  }
.skills-grid .skill-progress::after {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
      content: '';
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
      animation: shimmer 2s infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.cv-section .cv-preview {
    box-shadow: 0 20px 60px var(--shadow);
    transition: transform 0.4s ease;
  }
.cv-section .cv-preview:hover {
      transform: scale(1.02);
    }
.cv-section .download-btn {
    transition: all 0.3s ease;
  }
.cv-section .download-btn:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(45 45 45 / var(--tw-bg-opacity, 1));
      transform: translateY(-3px);
      box-shadow: 0 10px 30px var(--shadow);
}
/* ============================================================
ALTERNANCE
============================================================ */
#alternance {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.alternance-company {
  margin-bottom: 4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-width: 0px;
  border-bottom-width: 1px;
  border-style: solid;
  --tw-border-opacity: 1;
  border-color: rgb(236 230 227 / var(--tw-border-opacity, 1));
  padding-bottom: 2rem;
}
.company-name {
  margin-bottom: 0.25rem;
  display: block;
  font-size: 3.5rem;
  line-height: 1;
  --tw-text-opacity: 1;
  color: rgb(45 45 45 / var(--tw-text-opacity, 1));
}
.company-meta {
  display: block;
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: 1px;
  --tw-text-opacity: 1;
  color: rgb(107 107 107 / var(--tw-text-opacity, 1));
}
.role-badge {
  border-radius: 9999px;
  border-width: 2px;
  border-style: solid;
  --tw-border-opacity: 1;
  border-color: rgb(212 165 174 / var(--tw-border-opacity, 1));
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
  --tw-text-opacity: 1;
  color: rgb(212 165 174 / var(--tw-text-opacity, 1));
}
.progression-timeline {
  margin-bottom: 5rem;
}
.timeline-intro {
  margin-bottom: 3.5rem;
  max-width: 700px;
  font-size: 1.125rem;
  line-height: 1.75rem;
  --tw-text-opacity: 1;
  color: rgb(107 107 107 / var(--tw-text-opacity, 1));
}
.phases {
  position: relative;
  padding-left: 2.5rem;
}
.phases::before {
  position: absolute;
  left: 0.5rem;
  top: 0.625rem;
  bottom: 0.625rem;
  width: 0.125rem;
  content: '';
  background: linear-gradient(180deg, #d4a5ae, #ece6e3 90%, transparent);
}
.phase {
  position: relative;
  padding-bottom: 3rem;
  padding-left: 2.5rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.phase.animated {
  opacity: 1;
  transform: translateX(0);
}
.phase:last-child {
  padding-bottom: 0px;
}
.phase-dot {
  position: absolute;
  left: -2.5rem;
  top: 0.375rem;
  height: 18px;
  width: 18px;
  border-radius: 9999px;
  border-width: 3px;
  border-style: solid;
  --tw-border-opacity: 1;
  border-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(201 160 168 / var(--tw-bg-opacity, 1));
  box-shadow: 0 0 0 2px #d4a5ae;
  transition: transform 0.3s ease;
}
.phase-dot--current {
  --tw-bg-opacity: 1;
  background-color: rgb(201 160 168 / var(--tw-bg-opacity, 1));
  box-shadow: 0 0 0 2px #c9a0a8, 0 0 12px rgba(201, 160, 168, 0.5);
  animation: pulseDot 2s ease-in-out infinite;
}
.phase-dot--next {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  box-shadow: 0 0 0 2px #ccc;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 2px #c9a0a8, 0 0 8px rgba(201, 160, 168, 0.4); }
  50% { box-shadow: 0 0 0 2px #c9a0a8, 0 0 18px rgba(201, 160, 168, 0.7); }
}
.phase-period {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-transform: uppercase;
  --tw-text-opacity: 1;
  color: rgb(212 165 174 / var(--tw-text-opacity, 1));
  letter-spacing: 2px;
}
.phase-title {
  margin-bottom: 0.75rem;
  font-family: Allura, cursive !important;
  font-size: 2rem !important;
  line-height: 1.25;
  --tw-text-opacity: 1;
  color: rgb(45 45 45 / var(--tw-text-opacity, 1));
}
.phase-desc {
  margin-bottom: 1.25rem;
  max-width: 680px;
  font-size: 1rem;
  line-height: 1.5rem;
  --tw-text-opacity: 1;
  color: rgb(107 107 107 / var(--tw-text-opacity, 1));
  line-height: 1.85;
}
/* Phase grisée = objectif futur */
.phase-next .phase-title,
.phase-next .phase-desc {
  --tw-text-opacity: 1;
  color: rgb(107 107 107 / var(--tw-text-opacity, 1));
}
/* Tags techniques */
.phase-tags {
  margin-bottom: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tag {
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(45 45 45 / var(--tw-bg-opacity, 1));
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(212 165 174 / var(--tw-text-opacity, 1));
  letter-spacing: 0.5px;
}
.tag--outlined {
  border-width: 1px;
  border-style: dashed;
  --tw-border-opacity: 1;
  border-color: rgb(204 204 204 / var(--tw-border-opacity, 1));
  background-color: transparent;
}
.phase-highlight {
  margin-top: 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-style: italic;
  --tw-text-opacity: 1;
  color: rgb(107 107 107 / var(--tw-text-opacity, 1));
}
.phase-highlight svg {
  flex-shrink: 0;
  stroke: #d4a5ae;
}
/* Compétences acquises */
.skills-acquired {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}
.skills-acquired.animated {
  opacity: 1;
  transform: translateY(0);
}
.skills-acquired-title {
  margin-bottom: 2rem;
  display: block;
  font-size: 2.25rem !important;
  line-height: 2.5rem !important;
  --tw-text-opacity: 1;
  color: rgb(212 165 174 / var(--tw-text-opacity, 1));
}
.skills-acquired-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.skill-card {
  border-width: 1px;
  border-style: solid;
  --tw-border-opacity: 1;
  border-color: rgb(236 230 227 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(250 248 247 / var(--tw-bg-opacity, 1));
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.skill-card:hover {
  --tw-border-opacity: 1;
  border-color: rgb(212 165 174 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}
.skill-card-icon {
  margin-bottom: 1.25rem;
  display: flex;
  height: 52px;
  width: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  --tw-bg-opacity: 1;
  background-color: rgb(45 45 45 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(212 165 174 / var(--tw-text-opacity, 1));
}
.skill-card h4 {
  margin-bottom: 0.6rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(45 45 45 / var(--tw-text-opacity, 1));
}
.skill-card p {
  font-size: 1rem;
  line-height: 1.5rem;
  line-height: 1.625;
  --tw-text-opacity: 1;
  color: rgb(119 119 119 / var(--tw-text-opacity, 1));
}
/* Responsive */
@media (max-width: 1024px) {
  .alternance-header,
  .alternance-body {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}
@media (max-width: 768px) {
  .alternance-header,
  .alternance-body {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .alternance-company {
    flex-direction: column;
    align-items: flex-start;
  }

  .company-name {
    font-size: 2.5rem;
  }

  #alternance h2 {
    font-size: 1.8rem;
    letter-spacing: 4px;
  }

  .phases {
    padding-left: 1.5rem;
  }

  .phase {
    padding-left: 1.5rem;
  }

  .skills-acquired-grid {
    grid-template-columns: 1fr;
  }
}
/* ========== SECTION PROJETS ========== */
.projects-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}
.projects-grid .project-card {
    perspective: 1000px;
  }
.projects-grid .project-card .project-inner {
      transition: transform 0.8s;
      transform-style: preserve-3d;
    }
.projects-grid .project-card .project-inner .project-front,
      .projects-grid .project-card .project-inner .project-back {
  position: absolute;
  height: 100%;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
        backface-visibility: hidden;
        box-shadow: 0 10px 40px var(--shadow);
}
.projects-grid .project-card .project-inner .project-back {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
        background: linear-gradient(135deg, var(--primary), var(--accent));
        transform: rotateY(180deg);
}
.projects-grid .project-card .project-inner .project-back .project-link {
          transition: all 0.3s ease;
        }
.projects-grid .project-card .project-inner .project-back .project-link:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(45 45 45 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.projects-grid .project-card .project-inner .project-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
        flex: 1;
}
.projects-grid .project-card.flipped .project-inner {
    transform: rotateY(180deg);
  }
/* ========== SECTION CONTACT ========== */
#contact {
  padding-top: 6rem;
  padding-bottom: 6rem;
  padding-left: 4rem;
  padding-right: 4rem;
  text-align: center;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
#contact h2 {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
#contact h2::after {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.contact-content {
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
}
.contact-text {
  margin-bottom: 3rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  line-height: 2;
}
.contact-email {
  display: inline-block;
  border-width: 0px;
  border-bottom-width: 2px;
  border-style: solid;
  --tw-border-opacity: 1;
  border-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
  padding-bottom: 0.5rem;
  font-size: 2rem;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  text-decoration-line: none;
  transition: all 0.3s ease;
}
.contact-email:hover {
  --tw-border-opacity: 1;
  border-bottom-color: rgb(45 45 45 / var(--tw-border-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(45 45 45 / var(--tw-text-opacity, 1));
}
/* Blobs animés */
.blob {
  position: absolute;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  background: linear-gradient(135deg, #c34141 0%, #512020 100%);
  opacity: 0.15;
  filter: blur(40px);
  animation: morphBlob 20s ease-in-out infinite;
}
.blob-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -200px;
  animation-delay: 0s;
}
.blob-2 {
  width: 500px;
  height: 500px;
  bottom: -150px;
  right: -150px;
  animation-delay: 7s;
}
.blob-3 {
  width: 400px;
  height: 400px;
  top: 40%;
  right: 40%;
  animation-delay: 14s;
}
@keyframes morphBlob {
  0%, 100% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    transform: rotate(0deg) scale(1);
  }
  25% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: rotate(90deg) scale(1.1);
  }
  50% {
    border-radius: 30% 60% 50% 40% / 50% 60% 40% 60%;
    transform: rotate(180deg) scale(0.9);
  }
  75% {
    border-radius: 50% 40% 60% 40% / 40% 50% 50% 60%;
    transform: rotate(270deg) scale(1.05);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}
::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}
/* ! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com */
/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/
*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: currentColor; /* 2 */
}
::before,
::after {
  --tw-content: '';
}
/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/
html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}
/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/
body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}
/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/
hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}
/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/
abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}
/*
Remove the default font size and weight for headings.
*/
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}
/*
Reset links to optimize for opt-in styling instead of opt-out.
*/
a {
  color: inherit;
  text-decoration: inherit;
}
/*
Add the correct font weight in Edge and Safari.
*/
b,
strong {
  font-weight: bolder;
}
/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}
/*
Add the correct font size in all browsers.
*/
small {
  font-size: 80%;
}
/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/
table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}
/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}
/*
Remove the inheritance of text transform in Edge and Firefox.
*/
button,
select {
  text-transform: none;
}
/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/
button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}
/*
Use the modern Firefox focus style for all focusable elements.
*/
:-moz-focusring {
  outline: auto;
}
/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/
:-moz-ui-invalid {
  box-shadow: none;
}
/*
Add the correct vertical alignment in Chrome and Firefox.
*/
progress {
  vertical-align: baseline;
}
/*
Correct the cursor style of increment and decrement buttons in Safari.
*/
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}
/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/
[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}
/*
Remove the inner padding in Chrome and Safari on macOS.
*/
::-webkit-search-decoration {
  -webkit-appearance: none;
}
/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}
/*
Add the correct display in Chrome and Safari.
*/
summary {
  display: list-item;
}
/*
Removes the default spacing and border for appropriate elements.
*/
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}
fieldset {
  margin: 0;
  padding: 0;
}
legend {
  padding: 0;
}
ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}
/*
Prevent resizing textareas horizontally by default.
*/
textarea {
  resize: vertical;
}
/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/
input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}
input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}
/*
Set the default cursor for buttons.
*/
button,
[role="button"] {
  cursor: pointer;
}
/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}
/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}
/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/
img,
video {
  max-width: 100%;
  height: auto;
}
/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
.pointer-events-none {
  pointer-events: none;
}
.visible {
  visibility: visible;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.-left-10 {
  left: -2.5rem;
}
.-top-10 {
  top: -2.5rem;
}
.bottom-20 {
  bottom: 5rem;
}
.left-0 {
  left: 0px;
}
.left-8 {
  left: 2rem;
}
.right-10 {
  right: 2.5rem;
}
.top-0 {
  top: 0px;
}
.top-1\/2 {
  top: 50%;
}
.z-50 {
  z-index: 50;
}
.z-\[2\] {
  z-index: 2;
}
.mx-0 {
  margin-left: 0px;
  margin-right: 0px;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.my-0 {
  margin-top: 0px;
  margin-bottom: 0px;
}
.my-8 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.mb-0 {
  margin-bottom: 0px;
}
.mb-12 {
  margin-bottom: 3rem;
}
.mb-16 {
  margin-bottom: 4rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mt-0 {
  margin-top: 0px;
}
.mt-16 {
  margin-top: 4rem;
}
.mt-8 {
  margin-top: 2rem;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.h-10 {
  height: 2.5rem;
}
.h-2 {
  height: 0.5rem;
}
.h-3\/5 {
  height: 60%;
}
.h-6 {
  height: 1.5rem;
}
.h-\[450px\] {
  height: 450px;
}
.h-\[500px\] {
  height: 500px;
}
.h-full {
  height: 100%;
}
.h-screen {
  height: 100vh;
}
.w-0 {
  width: 0px;
}
.w-10 {
  width: 2.5rem;
}
.w-24 {
  width: 6rem;
}
.w-6 {
  width: 1.5rem;
}
.w-full {
  width: 100%;
}
.max-w-4xl {
  max-width: 56rem;
}
.max-w-\[1200px\] {
  max-width: 1200px;
}
.max-w-\[1400px\] {
  max-width: 1400px;
}
.max-w-\[400px\] {
  max-width: 400px;
}
.max-w-\[600px\] {
  max-width: 600px;
}
.rotate-12 {
  --tw-rotate: 12deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.cursor-pointer {
  cursor: pointer;
}
.list-none {
  list-style-type: none;
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-start {
  align-items: flex-start;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-12 {
  gap: 3rem;
}
.gap-16 {
  gap: 4rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-8 {
  gap: 2rem;
}
.overflow-hidden {
  overflow: hidden;
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-\[10px\] {
  border-radius: 10px;
}
.rounded-\[20px\] {
  border-radius: 20px;
}
.rounded-\[50px\] {
  border-radius: 50px;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.border-0 {
  border-width: 0px;
}
.border-2 {
  border-width: 2px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-solid {
  border-style: solid;
}
.border-none {
  border-style: none;
}
.border-accent {
  --tw-border-opacity: 1;
  border-color: rgb(212 165 174 / var(--tw-border-opacity, 1));
}
.bg-\[\#e0e0e0\] {
  --tw-bg-opacity: 1;
  background-color: rgb(224 224 224 / var(--tw-bg-opacity, 1));
}
.bg-accent {
  --tw-bg-opacity: 1;
  background-color: rgb(212 165 174 / var(--tw-bg-opacity, 1));
}
.bg-gray {
  --tw-bg-opacity: 1;
  background-color: rgb(107 107 107 / var(--tw-bg-opacity, 1));
}
.bg-transparent {
  background-color: transparent;
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.fill-dark {
  fill: #2d2d2d;
}
.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}
.p-10 {
  padding: 2.5rem;
}
.p-2 {
  padding: 0.5rem;
}
.p-8 {
  padding: 2rem;
}
.px-10 {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}
.px-16 {
  padding-left: 4rem;
  padding-right: 4rem;
}
.px-24 {
  padding-left: 6rem;
  padding-right: 6rem;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.pb-0 {
  padding-bottom: 0px;
}
.pb-28 {
  padding-bottom: 7rem;
}
.pt-28 {
  padding-top: 7rem;
}
.text-center {
  text-align: center;
}
.font-allura {
  font-family: Allura, cursive;
}
.font-merriweather {
  font-family: Merriweather, serif;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-5xl {
  font-size: 3rem;
  line-height: 1;
}
.text-\[0\.95rem\] {
  font-size: 0.95rem;
}
.text-\[0\.9rem\] {
  font-size: 0.9rem;
}
.text-\[1\.05rem\] {
  font-size: 1.05rem;
}
.text-\[1\.15rem\] {
  font-size: 1.15rem;
}
.text-\[1\.2rem\] {
  font-size: 1.2rem;
}
.text-\[1\.8rem\] {
  font-size: 1.8rem;
}
.text-\[4rem\] {
  font-size: 4rem;
}
.text-\[5rem\] {
  font-size: 5rem;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.font-light {
  font-weight: 300;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.italic {
  font-style: italic;
}
.leading-10 {
  line-height: 2.5rem;
}
.leading-8 {
  line-height: 2rem;
}
.leading-\[1\.8\] {
  line-height: 1.8;
}
.leading-\[1\.8rem\] {
  line-height: 1.8rem;
}
.leading-none {
  line-height: 1;
}
.tracking-\[12px\] {
  letter-spacing: 12px;
}
.text-accent {
  --tw-text-opacity: 1;
  color: rgb(212 165 174 / var(--tw-text-opacity, 1));
}
.text-dark {
  --tw-text-opacity: 1;
  color: rgb(45 45 45 / var(--tw-text-opacity, 1));
}
.text-gray {
  --tw-text-opacity: 1;
  color: rgb(107 107 107 / var(--tw-text-opacity, 1));
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.no-underline {
  text-decoration-line: none;
}
.opacity-0 {
  opacity: 0;
}
.opacity-30 {
  opacity: 0.3;
}
.opacity-40 {
  opacity: 0.4;
}
.opacity-70 {
  opacity: 0.7;
}
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-100 {
  transition-duration: 100ms;
}
.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}
@font-face {
    font-family: 'Merriweather';
    src: url('../assets/fonts/Merriweather-VariableFont.ttf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Allura';
    src: url('../assets/fonts/Allura-Regular.ttf');
    font-weight: normal;
    font-style: normal;
}
* {
  margin: 0px;
  box-sizing: border-box;
  padding: 0px;
}
:root {
    --primary: #d08a98;
    --accent: #d4a5ae;
    --light: #f8f5f3;
    --white: #ffffff;
    --gray: #6b6b6b;
    --shadow: rgba(0, 0, 0, 0.1);
}
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
  --tw-bg-opacity: 1;
  background-color: rgb(248 245 243 / var(--tw-bg-opacity, 1));
  line-height: 1.6;
  --tw-text-opacity: 1;
  color: rgb(45 45 45 / var(--tw-text-opacity, 1));
    font-family: 'Crimson Pro', serif;
}
/* ========== SECTIONS COMMUNES ========== */
section {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 8rem;
  padding-left: 4rem;
  padding-right: 4rem;
}
h2 {
  position: relative;
  margin-bottom: 4rem !important;
  text-align: center;
  font-size: 3rem !important;
  line-height: 1 !important;
  font-weight: 300 !important;
  letter-spacing: 8px;
}
h2::after {
  position: absolute;
  bottom: -1rem;
  left: 50%;
  height: 0.125rem;
  width: 5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(212 165 174 / var(--tw-bg-opacity, 1));
    content: '';
    transform: translateX(-50%);
}
/* ========== MODAL CV ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}
.modal.active {
    display: flex;
}
.modal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
    animation: modalFadeIn 0.4s ease-out;
}
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.modal-content h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}
.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.modal-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.modal-btn-primary {
    background: var(--accent);
    color: var(--white);
}
.modal-btn-primary:hover {
    background: var(--dark);
    transform: translateY(-2px);
}
.modal-btn-secondary {
    background: transparent;
    border: 2px solid var(--dark);
    color: var(--dark);
}
.modal-btn-secondary:hover {
    background: var(--dark);
    color: var(--white);
}
/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    nav {
        padding: 1.5rem 2rem;
    }

    nav ul {
        gap: 2rem;
    }

    section {
        padding: 6rem 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .timeline::before {
        left: 20px;
    }

    .news-card:nth-child(odd),
    .news-card:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
    }

    .news-card:nth-child(odd) .card-content::after,
    .news-card:nth-child(even) .card-content::after {
        left: -20px;
        right: auto;
        border-width: 10px 20px 10px 0;
        border-color: transparent var(--white) transparent transparent;
    }

    .timeline-year::before {
        left: 20px;
    }
}
@media (max-width: 768px) {
    .hero-name {
        font-size: 3.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 6px;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    h2 {
        font-size: 2rem;
        letter-spacing: 4px;
    }

    nav ul {
        display: none;
    }

    .social-sidebar {
        position: static;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin-top: 2rem;
    }

    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
}
/* Scroll animations */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}