@font-face {
  font-family: 'F37Bella';
  src: url('../Typo/F37 Bella/F37Bella.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'SuisseI';
  src: url('../Typo/suissefont/SuisseIntl-LightItalic.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
  @font-face {
  font-family: 'Suisse';
  src: url('../Typo/suissefont/SuisseIntl-Light.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}* 

{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}
html, body {
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: 'Suisse', serif;
  color: #111;
  background: #fff7f0;
opacity: 1;
  transition: opacity 0.4s ease;
  overflow-x: hidden;
}

body.fade-out {
  opacity: 0;
}
/* HEADER */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 44px 2px;
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 100;
  background: #fff7f0;
}
header .right {
  outline: 1.5px solid #111;
  background: #fff7f0;
  cursor: pointer; /* ou crosshair, grab, etc. */
}

header .left,
header .right {
  font-family: 'F37Bella';
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: #111;
  padding: 6px 14px;
  border-radius: 999px;
  transition: all 0.25s ease;
}

header .header-line {
  flex: 1;
  height: 1px;
  background: #111;
  opacity: 0.4;
}

header .left:hover,
header .right:hover {
  outline: 1.5px solid #111;
  background: #fff7f0;
  cursor: pointer; /* ou crosshair, grab, etc. */

}

/* Chrome / Edge / Safari */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #111;
  border-radius: 10px;
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #111 transparent;
}

.right {
  border: 1px solid #111;
  padding: 6px 14+px;
  border-radius: 20px;
}

/* LAYOUT */
.container {
  padding: 140px 60px 60px;
}

/* HERO */
.hero {
  text-align: center;
  margin-bottom: 60px;
}

.hero-title {
  font-family: 'F37Bella';
  font-size: 80px;
  font-weight: 400 !important; /* 🔥 FIX PRINCIPAL */
  letter-spacing: 0.01em;
  text-rendering: geometricPrecision;
}

.subtitle {
  font-family: 'SuisseI';
  font-size: 20px;
  opacity: 0.7;
}

.age {
  margin-top: 8px;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: 1fr 280px 1fr;
  gap: 60px;
}

/* IMAGE */
.center {
  display: grid;
  place-items: top, center;
}

.center img {
  width: 13%;
}
#preview {
  position: fixed;          /* ou absolute selon ton layout */
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  transition: transform 0.15s ease-out;
  will-change: transform;
  pointer-events: none;     /* IMPORTANT pour ne pas bloquer la souris */
}
/* SECTIONS */
.section {
  margin-bottom: 50px;
  border-radius: 6%;
}

.section-title {
  font-family: 'F37Bella';
  font-size: 34px;
  font-weight: 400 !important; /* 🔥 FIX */
  margin-bottom: 10px;
}

.line {
  height: 1px;
  background: #111;
  opacity: 0.3;
  margin-bottom: 20px;
}

/* CONTENT */
.item {
  margin-bottom: 18px;
}

.date {
  font-size: 13px;
  opacity: 0.6;
}

.item p {
  font-size: 14px;
  line-height: 1.5;
}

/* SKILLS */
.skills p {
  font-size: 13px;
  opacity: 0.6;
  }
.skills ul {
  list-style: none;
  margin-top: 10px;
}

.skills li {
  font-size: 14px;
  margin-bottom: 4px;
}

.adobe p {
  margin-top: 17px;
  font-size: 13px;
  opacity: 0.6;
}

.adobe ul {
  list-style: none;
  margin-top: 10px;
}

.adobe li {
  font-size: 14px;
  margin-bottom: 4px;
}

/* CONTACT */
.contact {
  margin-top: 80px;
}

.contact-grid {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  font-size: 14px;
}

.fade-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.fade-item.show {
  opacity: 1;
  transform: translateY(0);
}

.zoom-hover {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1);
  transform-origin: center;
  cursor: default;
}

.zoom-hover:hover {
  transform: scale(1.04);
}

@media (max-width: 768px) {

  /* HEADER / TYPO */
  .hero-title {
    font-size: 36px;
    text-align: center;
  }

  .subtitle {
    font-size: 14px;
    text-align: center;
  }

  .age {
    text-align: center;
    font-size: 13px;
  }

  /* GRID → colonne verticale */
  .grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 0 20px;
  }

  /* IMAGE */
    .center {
    display: none;
  }


  /* SECTIONS ordre swipe */
  .section:nth-child(1) {
    order: 1; /* études */
  }

  .section:nth-child(2) {
    order: 2; /* expériences */
  }

  .section:nth-child(3) {
    order: 3; /* skills */
  }

  /* CONTACT */
  .contact {
    order: 4;
    margin-top: 40px;
    text-align: center;
  }

  .contact-grid {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}