
  :root {
    --rose: #D4537E;
    --rose-light: #FBEAF0;
    --rose-deep: #72243E;
    --violet: #7F77DD;
    --violet-light: #EEEDFE;
    --violet-deep: #3C3489;
    --gold: #EF9F27;
    --mint: #1D9E75;
    --cream: #FFF8F5;
    --white: #ffffff;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Lato', sans-serif;
    background: var(--cream);
    color: var(--rose-deep);
    overflow-x: hidden;
  }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px 60px;
    position: relative;
    background: linear-gradient(160deg, #fff0f7 0%, #f5eeff 50%, #fff4e6 100%);
    overflow: hidden;
  }

  #canvas3d {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
  }

  .hero-content {
    position: relative;
    z-index: 1;
  }

  .hero-eyebrow {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    letter-spacing: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--rose);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 1s ease 0.3s forwards;
  }

  .hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 12vw, 6rem);
    font-weight: 700;
    color: var(--rose-deep);
    line-height: 1.1;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 1s ease 0.6s forwards;
  }

  .hero-title em {
    font-style: italic;
    color: var(--rose);
  }

  .hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    font-weight: 300;
    color: var(--rose-deep);
    max-width: 480px;
    line-height: 1.8;
    margin: 0 auto 40px;
    opacity: 0;
    animation: fadeUp 1s ease 0.9s forwards;
  }

  .hearts-row {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeUp 1s ease 1.2s forwards;
  }

  .heart {
    width: 32px;
    height: 32px;
    animation: heartbeat 2s ease-in-out infinite;
  }

  .heart:nth-child(2) { animation-delay: 0.2s; }
  .heart:nth-child(3) { animation-delay: 0.4s; }
  .heart:nth-child(4) { animation-delay: 0.6s; }
  .heart:nth-child(5) { animation-delay: 0.8s; }

  @keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
  }

  .scroll-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeUp 1s ease 1.5s forwards;
  }

  .scroll-cta span {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rose);
  }

  .scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--rose), transparent);
    animation: scrollPulse 1.5s ease-in-out infinite;
  }

  @keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.1); }
  }

  /* ── SECTIONS COMMUNES ── */
  .section {
    padding: 100px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .section-tag {
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--rose);
    margin-bottom: 16px;
    font-weight: 700;
  }

  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 700;
    text-align: center;
    color: var(--rose-deep);
    margin-bottom: 48px;
    line-height: 1.2;
  }

  /* ── MESSAGE ── */
  .message-section {
    background: var(--white);
    position: relative;
    overflow: hidden;
  }

  .message-section::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 24px;
    font-family: 'Playfair Display', serif;
    font-size: 14rem;
    color: var(--rose-light);
    line-height: 1;
    pointer-events: none;
    user-select: none;
  }

  .message-card {
    max-width: 600px;
    width: 100%;
    position: relative;
    z-index: 1;
  }

  .message-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    font-style: italic;
    line-height: 1.9;
    color: var(--rose-deep);
    text-align: center;
    margin-bottom: 32px;
  }

  .message-signature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rose);
    font-weight: 700;
  }

  .sig-line {
    flex: 1;
    max-width: 80px;
    height: 1px;
    background: var(--rose);
    opacity: 0.4;
  }

  /* ── SKILLS 3D CARDS ── */
  .skills-section {
    background: linear-gradient(160deg, var(--violet-light) 0%, var(--cream) 100%);
  }

  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    max-width: 640px;
    width: 100%;
    perspective: 1000px;
  }

  .skill-card {
    background: var(--white);
    border: 1px solid rgba(127, 119, 221, 0.2);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    cursor: default;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
  }

  .skill-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--violet), var(--rose));
    border-radius: 16px 16px 0 0;
  }

  .skill-card:hover {
    transform: translateY(-8px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(127, 119, 221, 0.15);
  }

  .skill-emoji {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
  }

  .skill-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--violet-deep);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
  }

  .skill-bar-wrap {
    height: 5px;
    border-radius: 3px;
    background: var(--violet-light);
    overflow: hidden;
  }

  .skill-bar {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--violet), var(--rose));
    width: 0;
    transition: width 1.4s cubic-bezier(.25,.46,.45,.94);
  }

  .skill-level {
    font-size: 0.7rem;
    color: var(--violet);
    margin-top: 6px;
    font-weight: 700;
    letter-spacing: 1px;
  }

  /* ── PHOTOS ── */
  .photos-section {
    background: var(--cream);
  }

  .photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 480px;
    width: 100%;
  }

  .photo-box {
    aspect-ratio: 1;
    border-radius: 12px;
    border: 2px dashed rgba(212, 83, 126, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .photo-box:hover {
    border-color: var(--rose);
    background: var(--rose-light);
    transform: scale(1.04);
  }

  .photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: none;
    position: absolute;
    top: 0; left: 0;
  }

  .photo-box .ph-icon {
    font-size: 1.5rem;
  }

  .photo-box .ph-label {
    font-size: 0.65rem;
    color: var(--rose);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
  }

  .photo-input { display: none; }

  /* ── TIMELINE ── */
  .timeline-section {
    background: var(--white);
  }

  .timeline {
    max-width: 500px;
    width: 100%;
    position: relative;
    padding-left: 40px;
  }

  .timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--rose), transparent);
  }

  .tl-item {
    position: relative;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.7s ease;
  }

  .tl-item.visible {
    opacity: 1;
    transform: translateX(0);
  }

  .tl-dot {
    position: absolute;
    left: -34px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--rose);
    border: 2px solid var(--white);
    box-shadow: 0 0 0 2px var(--rose);
  }

  .tl-year {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rose);
    font-weight: 700;
    margin-bottom: 4px;
  }

  .tl-text {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--rose-deep);
  }

  /* ── FINALE ── */
  .finale-section {
    min-height: 80vh;
    background: linear-gradient(160deg, #fff0f7 0%, #f5eeff 50%, #fff4e6 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
  }

  #canvas-finale {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
  }

  .finale-content {
    position: relative;
    z-index: 1;
  }

  .finale-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 10vw, 5rem);
    font-weight: 700;
    color: var(--rose-deep);
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .finale-title em { color: var(--rose); font-style: italic; }

  .finale-sub {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rose);
    margin-bottom: 40px;
  }

  .finale-hearts {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  /* ── ANIMATIONS SCROLL ── */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(.25,.46,.45,.94);
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-scale {
    opacity: 0;
    transform: scale(0.88);
    transition: all 0.9s cubic-bezier(.34,1.2,.64,1);
  }

  .reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
  }

  @keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
    from { opacity: 0; transform: translateY(30px); }
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 480px) {
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
    .photos-grid { grid-template-columns: repeat(2, 1fr); }
    .message-section::before { font-size: 8rem; }
  }