* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: "Helvetica", Arial, sans-serif;
    background: #f6f3ff;
    color: #1d1d1d;
  }

  /* Uppercase for all headings */
  h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }
  
  /* NAVBAR */
  .navbar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
  }
  
  .navbar nav a {
    margin-left: 30px;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    transition: color 0.3s ease;
  }

  .navbar nav a:hover {
    color: #c3d338;
  }

  .burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    padding: 10px;
    transition: background 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
  }

  .burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .burger.open {
    background: rgba(0, 0, 0, 0.55);
    border-color: rgba(195, 211, 56, 0.6);
  }

  .burger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .burger.open span:nth-child(2) {
    opacity: 0;
  }
  .burger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .mobile-menu {
    display: none;
  }
  
  .logo img {
    height: 50px;
  }

  /* Mobile nav */
  @media (max-width: 900px) {
    .navbar {
      padding: 14px 20px;
    }

    .navbar nav {
      display: none;
    }

    .burger {
      display: flex;
    }

    .mobile-menu {
      position: fixed;
      top: 72px;
      right: 20px;
      left: 20px;
      background: rgba(0, 0, 0, 0.9);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 16px;
      padding: 20px;
      display: grid;
      gap: 16px;
      opacity: 0;
      pointer-events: none;
      transform: translateY(-10px);
      transition: opacity 0.25s ease, transform 0.25s ease;
      z-index: 999;
    }

    .mobile-menu.open {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }

    .mobile-menu a {
      color: #ffffff;
      text-decoration: none;
      font-weight: 700;
      padding: 12px 14px;
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.08);
      transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
    }

    .mobile-menu a:hover {
      background: rgba(195, 211, 56, 0.18);
      border-color: rgba(195, 211, 56, 0.5);
      transform: translateX(4px);
    }
  }
  
  /* LOADING ANIMATION */
  #page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #9a89c0, #c3d338);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
  }

  #page-loader.hidden {
    opacity: 0;
    visibility: hidden;
  }

  .loader-content {
    text-align: center;
  }

  .loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
  }

  @keyframes spin {
    to { transform: rotate(360deg); }
  }

  .loader-text {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
  }
  
  /* HERO */
  #hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(160deg, #9a89c0, #c3d338);
    padding: 20px;
    overflow: hidden;
  }

  /* Pattern géométrique pour hero */
  #hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
      linear-gradient(30deg, rgba(255,255,255,0.1) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.1) 87.5%, rgba(255,255,255,0.1)),
      linear-gradient(150deg, rgba(255,255,255,0.1) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.1) 87.5%, rgba(255,255,255,0.1)),
      linear-gradient(30deg, rgba(255,255,255,0.1) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.1) 87.5%, rgba(255,255,255,0.1)),
      linear-gradient(150deg, rgba(255,255,255,0.1) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.1) 87.5%, rgba(255,255,255,0.1));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px;
    opacity: 0.3;
    animation: patternMove 20s linear infinite;
  }

  @keyframes patternMove {
    0% { background-position: 0 0, 0 0, 40px 70px, 40px 70px; }
    100% { background-position: 80px 140px, 80px 140px, 120px 210px, 120px 210px; }
  }

  .hero-content {
    position: relative;
    z-index: 1;
  }
  
  .hero-content h1 {
    font-size: 5rem;
    color: white;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
    color: white;
    font-weight: 300;
    text-align: center;
    opacity: 0.95;
    margin-top: 20px;
  }
  
  @media (max-width: 768px) {
    .hero-content h1 {
      font-size: 3rem;
    }
    
    .hero-subtitle {
      font-size: 1.2rem;
    }
  }

  .typing-text {
    border-right: 2px solid white;
    animation: blink 0.75s step-end infinite;
  }

  .typing-text.no-cursor {
    border-right: none;
  }

  @keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: white; }
  }

  .hero-arrow {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(154, 137, 192, 0.22);
    border: 1px solid rgba(154, 137, 192, 0.35);
    border-radius: 999px;
    padding: 14px;
    cursor: pointer;
    color: #9a89c0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    animation: arrowFloat 2.6s ease-in-out infinite;
  }

  .hero-arrow:hover {
    transform: translateX(-50%) translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.4);
  }

  .hero-arrow svg {
    stroke: #ffffff;
  }

  @keyframes arrowFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
  }

  /* Transition overlay */
  .section-transition {
    position: fixed;
    inset: 0;
    background: #9a89c0;
    transform: translateY(100%);
    z-index: 1100;
    pointer-events: none;
  }

  .section-transition.active {
    animation: sectionSlide 0.55s ease forwards;
  }

  @keyframes sectionSlide {
    0% { transform: translateY(100%); }
    60% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .cta {
    padding: 12px 25px;
    background: rgba(0,0,0,0.35);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
  }
  
  /* QUOTE SECTION */
  #quote-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #9a89c0;
    padding: 140px 8vw;
    overflow: hidden;
  }

  #quote-section.parallax-active {
    transform: translateZ(0);
  }

  #quote-section .quote-image {
    transform: translateZ(0);
  }


  .quote-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    margin: 0;
    width: 100%;
    max-width: none;
    gap: 60px;
  }

  .quote-image {
    flex: 0 0 auto;
    position: relative;
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 1s ease-out, transform 1s ease-out;
  }

  .quote-image.animate-in {
    opacity: 1;
    transform: translateX(0);
  }

  .quote-image img {
    width: auto;
    max-width: 55vw;
    height: 65vh;
    max-height: 65vh;
    border-radius: 24px;
    object-fit: cover;
    transform: scaleX(-1);
  }

  .quote-text {
    flex: 0 1 auto;
    text-align: left;
    position: relative;
    z-index: 2;
    min-width: 300px;
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 1s ease-out 0.2s, transform 1s ease-out 0.2s;
  }

  .quote-text.animate-in {
    opacity: 1;
    transform: translateX(0);
  }

  .quote-text p {
    font-size: 6.5rem;
    font-weight: bold;
    color: #ffffff;
    line-height: 1.1;
    margin: 0;
    text-transform: uppercase;
  }

  @media (max-width: 768px) {
    #quote-section {
      min-height: auto;
      padding: 120px 5vw;
    }

    .quote-content {
      flex-direction: column-reverse;
      gap: 0;
      position: relative;
    }

    .quote-text {
      width: 100%;
      margin-top: -40px; /* overlap sur l'image */
      position: relative;
      z-index: 2;
    }

    .quote-text p {
      font-size: 2.5rem;
      text-align: left;
      color: #ffffff;
      text-transform: uppercase;
    }

    .quote-image {
      width: 100%;
      position: relative;
      z-index: 1;
    }

    .quote-image img {
      width: 100%;
      max-width: 100%;
      height: auto;
      max-height: 50vh;
    }
  }
  
  /* ABOUT - Hero banner secondaire */
  #about {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    padding: 140px 8vw;
    overflow: hidden;
  }

  #about.parallax-active {
    transform: translateZ(0);
  }

  #about .about-hero-content {
    transform: translateZ(0);
  }

  .about-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: nowrap;
    gap: 80px;
    align-items: center;
    margin: 0;
    width: 100%;
    max-width: none;
  }

  .about-photo {
    flex: 1 1 500px;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .about-photo.animate-in {
    opacity: 1;
    transform: translateX(0);
  }

  .about-photo img {
    width: 100%;
    border-radius: 24px;
    border: 4px solid rgba(195, 211, 56, 0.4);
    object-fit: cover;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  }

  .about-text {
    flex: 1 1 550px;
    color: white;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
  }

  .about-text.animate-in {
    opacity: 1;
    transform: translateX(0);
  }

  .about-text h2 {
    margin-bottom: 32px;
    color: #c3d338;
    font-size: 3.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  .about-text p {
    font-size: 1.4rem;
    line-height: 1.8;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  }

  .about-text p + p {
    margin-top: 28px;
  }

  .about-text .cta {
    display: inline-block;
    margin-top: 32px;
    padding: 14px 30px;
    background: rgba(195, 211, 56, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    border: 2px solid rgba(195, 211, 56, 0.5);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
  }

  .about-text .cta:hover {
    background: rgba(195, 211, 56, 0.35);
    border-color: #c3d338;
    transform: translateY(-2px);
  }

  /* SKILLS */
  #skills {
    padding: 80px 6vw 120px 6vw;
    background: #000000;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  #skills.animate-in {
    opacity: 1;
    transform: translateY(0);
  }

  #skills h2 {
    text-align: center;
    margin-bottom: 60px;
    color: #9a89c0;
    font-size: 3.5rem;
  }

  .skills-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .skill-card {
    background: #111111;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease;
  }

  .skill-card.animate-in {
    opacity: 1;
    transform: translateY(0);
  }

  .skill-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 20px 50px rgba(154, 137, 192, 0.4);
    border-color: rgba(154, 137, 192, 0.5);
  }

  .skill-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9a89c0;
  }

  .skill-icon svg {
    width: 56px;
    height: 56px;
  }

  .skill-card h3 {
    margin-bottom: 12px;
    color: #9a89c0;
    font-size: 1.3rem;
  }

  .skill-card p {
    color: #ffffff;
    line-height: 1.6;
    font-size: 0.95rem;
  }

  @media (max-width: 1024px) {
    .skills-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 640px) {
    .skills-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 768px) {
    #about {
      min-height: auto;
      padding: 120px 5vw;
    }

    .about-text h2 {
      font-size: 2.5rem;
    }

    .about-text p {
      font-size: 1.1rem;
    }

    .about-hero-content {
      gap: 50px;
    }

    #skills {
      padding: 80px 5vw;
    }

  }
  
  /* Layout mobile pour ABOUT (image au-dessus du texte uniquement sur petits écrans) */
  @media (max-width: 640px) {
    .about-hero-content {
      flex-direction: column;
      flex-wrap: nowrap;
      align-items: flex-start;
    }

    .about-photo,
    .about-text {
      flex: 1 1 100%;
    }
  }
  
  /* PROJECTS */
  #projects {
    padding: 120px 6vw;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  #projects.animate-in {
    opacity: 1;
    transform: translateY(0);
  }
  
  #projects h2 {
    margin-bottom: 40px;
    text-align: center;
    color: #9a89c0;
    font-size: 3.5rem;
  }
  
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
  }
  
  .project-card {
    position: relative;
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    color: #f4f4f4;
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    cursor: pointer;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.35s ease;
  }

  .project-card.animate-in {
    opacity: 1;
    transform: translateY(0);
  }
  
  .project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(195, 211, 56, 0.3), 0 18px 40px rgba(0,0,0,0.5);
  }

  .project-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
  }

  .project-image-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    display: block;
    transform: scale(1);
    transition: transform 0.4s ease;
  }

  .project-card:hover .project-image-wrapper img {
    transform: scale(1.12);
  }

  .project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 20px 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .project-card:hover .project-overlay {
    opacity: 1;
  }

  .project-overlay h3 {
    margin-bottom: 8px;
    color: #c3d338;
    font-size: 1.05rem;
  }

  .project-mini-description {
    font-size: 0.9rem;
    opacity: 0.95;
    margin-bottom: 14px;
  }

  .project-arrow {
    align-self: flex-end;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    background: rgba(154, 137, 192, 0.9);
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
  }

  .project-arrow svg {
    width: 16px;
    height: 16px;
  }

  .project-arrow:hover {
    background: #9a89c0;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.45);
  }

  /* Project detail pages */
  .project-page {
    padding: 120px 6vw 80px;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
    text-decoration: none;
    color: #1d1d1d;
    font-size: 0.9rem;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.8);
  }

  .back-link:hover {
    background: #f0f0f0;
  }

  .project-page h1 {
    margin-bottom: 10px;
    color: #9a89c0;
  }

  .project-intro {
    margin-bottom: 32px;
    font-size: 1rem;
  }

  .project-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: flex-start;
  }

  .project-page-image img {
    width: 100%;
    border-radius: 16px;
    display: block;
  }

  .project-page-text h2 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #c3d338;
  }

  .project-page-text p + h2 {
    margin-top: 22px;
  }

  .project-page-text p {
    line-height: 1.7;
    font-size: 0.98rem;
  }

  @media (max-width: 768px) {
    .project-page {
      padding-top: 100px;
    }

    .project-page-layout {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 768px) {
    .projects-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #projects {
      padding: 80px 5vw;
    }

    .project-overlay {
      padding: 16px 16px 20px;
    }
  }
  
  /* CONTACT */
  #contact {
    padding: 120px 6vw;
    width: 100%;
    max-width: none;
    margin: 0;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    background: linear-gradient(180deg, #f6f3ff 0%, #ffffff 100%);
    position: relative;
  }
  
  #contact.animate-in {
    opacity: 1;
    transform: translateY(0);
  }

  .contact-container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .contact-header {
    text-align: center;
    margin-bottom: 80px;
  }
  
  #contact h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #c3d338;
  }
  
  .contact-intro-title {
    font-size: 2rem;
    font-weight: bold;
    color: #1d1d1d;
    max-width: 700px;
    margin: 0 auto 20px;
    text-align: center;
    line-height: 1.4;
  }
  
  .contact-intro {
    font-size: 1.3rem;
    color: #4e4e4e;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    text-align: center;
  }

  .contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
  }

  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .contact-info-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
  }

  .contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(154, 137, 192, 0.15), rgba(195, 211, 56, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9a89c0;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .contact-info-item:hover .contact-icon {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(154, 137, 192, 0.3);
  }

  .contact-info-text h3 {
    font-size: 1.2rem;
    color: #1d1d1d;
    margin-bottom: 8px;
    font-weight: bold;
  }

  .contact-info-text a {
    color: #9a89c0;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
  }

  .contact-info-text a:hover {
    color: #c3d338;
  }

  
  .contact-form {
    background: white;
    border-radius: 24px;
    padding: 50px 45px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(154, 137, 192, 0.1);
  }
  
  .form-group {
    margin-bottom: 28px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 10px;
    color: #1d1d1d;
    font-weight: bold;
    font-size: 0.95rem;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(154, 137, 192, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    font-family: Arial, sans-serif;
    background: rgba(255, 255, 255, 0.9);
    color: #1d1d1d;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: #9a89c0;
    box-shadow: 0 0 0 3px rgba(154, 137, 192, 0.15);
  }
  
  .form-group textarea {
    resize: vertical;
    min-height: 140px;
  }
  
  .submit-btn {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #9a89c0, #c3d338);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
  }

  .submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
  }

  .submit-btn:hover::before {
    left: 100%;
  }
  
  .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(154, 137, 192, 0.5);
  }
  
  .submit-btn:active {
    transform: translateY(-1px);
  }

  .submit-btn svg {
    transition: transform 0.3s ease;
  }

  .submit-btn:hover svg {
    transform: translateX(4px);
  }
  
  .form-success {
    margin-top: 24px;
    padding: 16px;
    background: rgba(195, 211, 56, 0.15);
    border: 2px solid #c3d338;
    border-radius: 10px;
    color: #1d1d1d;
    text-align: center;
    font-weight: bold;
  }

  .form-error {
    margin-top: 16px;
    padding: 12px;
    background: rgba(231, 76, 60, 0.12);
    border: 2px solid #e74c3c;
    border-radius: 10px;
    color: #b33226;
    font-weight: 600;
    display: none;
    text-align: center;
  }
  
  @media (max-width: 768px) {
    #contact {
      padding: 80px 5vw;
    }
    
    .contact-content {
      grid-template-columns: 1fr;
    }
    
    .contact-form {
      padding: 35px 28px;
    }

    footer {
      padding: 60px 5vw 30px;
    }

    .footer-main {
      grid-template-columns: 1fr;
    }
  }
  
  /* FOOTER */
  footer {
    background: linear-gradient(180deg, #1d1d1d 0%, #000000 100%);
    color: #ffffff;
    padding: 80px 6vw 40px;
    position: relative;
    overflow: hidden;
  }

  footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(195, 211, 56, 0.5), transparent);
  }

  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
  }

  .footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
  }

  .footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: #c3d338;
    font-weight: bold;
  }

  .footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 1rem;
  }

  .footer-links h4,
  .footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
  }

  .footer-links ul,
  .footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-links li,
  .footer-contact li {
    margin-bottom: 12px;
  }

  .footer-links a,
  .footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .footer-links a:hover,
  .footer-contact a:hover {
    color: #c3d338;
    transform: translateX(4px);
  }

  .footer-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .footer-social svg {
    width: 16px;
    height: 16px;
  }

  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.95rem;
  }

  .footer-tagline {
    color: rgba(195, 211, 56, 0.8) !important;
    font-style: italic;
    font-weight: 500;
  }

  @media (max-width: 968px) {
    .contact-content {
      grid-template-columns: 1fr;
      gap: 60px;
    }

    .footer-main {
      grid-template-columns: 1fr;
      gap: 40px;
    }

    .footer-bottom {
      flex-direction: column;
    text-align: center;
    }

    #contact h2 {
      font-size: 2.5rem;
    }
  }

  /* PDF CAROUSEL */
  .pdf-carousel-container {
    margin: 50px 0;
    width: 100%;
  }

  .pdf-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6f3ff;
    border-radius: 16px;
    padding: 40px 60px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    min-height: 600px;
  }

  .pdf-carousel-viewer {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
    max-width: 100%;
  }

  .pdf-carousel-viewer canvas {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background: white;
    display: block;
  }

  .pdf-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(154, 137, 192, 0.9);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  .pdf-carousel-btn svg {
    width: 24px;
    height: 24px;
  }

  .pdf-carousel-btn:hover {
    background: #9a89c0;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(154, 137, 192, 0.4);
  }

  .pdf-carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
  }

  .pdf-carousel-prev {
    left: 20px;
  }

  .pdf-carousel-next {
    right: 20px;
  }

  .pdf-carousel-controls {
    text-align: center;
    margin-top: 24px;
  }

  .pdf-page-info {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(154, 137, 192, 0.1);
    border-radius: 20px;
    color: #1d1d1d;
    font-weight: bold;
    font-size: 0.95rem;
  }

  .pdf-zoom-btn {
    margin-left: 15px;
    padding: 10px 20px;
    background: rgba(195, 211, 56, 0.2);
    border: 2px solid rgba(195, 211, 56, 0.5);
    border-radius: 20px;
    color: #1d1d1d;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .pdf-zoom-btn svg {
    width: 20px;
    height: 20px;
  }

  .pdf-zoom-btn:hover {
    background: rgba(195, 211, 56, 0.35);
    border-color: #c3d338;
    transform: translateY(-2px);
  }

  /* Modal plein écran */
  .pdf-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  .pdf-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease;
    z-index: 10001;
  }

  .pdf-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
  }

  .pdf-modal-wrapper {
    position: relative;
    width: 100%;
    height: calc(100% - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 95vw;
  }

  .pdf-modal-viewer {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
    max-width: 100%;
    max-height: 100%;
  }

  .pdf-modal-viewer canvas {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    background: white;
    display: block;
  }

  .pdf-modal-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(154, 137, 192, 0.9);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 10001;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }

  .pdf-modal-btn svg {
    width: 32px;
    height: 32px;
  }

  .pdf-modal-btn:hover {
    background: #9a89c0;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(154, 137, 192, 0.5);
  }

  .pdf-modal-prev {
    left: 20px;
  }

  .pdf-modal-next {
    right: 20px;
  }

  .pdf-modal-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }

  .pdf-modal-page-info {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
  }

  @media (max-width: 768px) {
    .pdf-carousel-wrapper {
      padding: 20px 50px;
      min-height: 400px;
    }

    .pdf-carousel-btn {
      width: 40px;
      height: 40px;
      font-size: 1.5rem;
    }

    .pdf-carousel-prev {
      left: 10px;
    }

    .pdf-carousel-next {
      right: 10px;
    }

    .pdf-carousel-viewer canvas {
      max-width: 95%;
    }

    .pdf-zoom-btn {
      margin-left: 10px;
      padding: 8px 16px;
      font-size: 0.9rem;
    }

    .pdf-modal-close {
      top: 10px;
      right: 15px;
      width: 40px;
      height: 40px;
      font-size: 1.5rem;
    }

    .pdf-modal-btn {
      width: 45px;
      height: 45px;
      font-size: 2rem;
    }

    .pdf-modal-prev {
      left: 10px;
    }

    .pdf-modal-next {
      right: 10px;
    }

    .pdf-modal-page-info {
      padding: 10px 20px;
      font-size: 1rem;
    }
  }
  