@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Special+Elite&family=Anton&family=Space+Grotesk:wght@300;400;700&display=swap');

/* PUNK VARIABLES – same as portfolio */
:root {
  --poppy-pink: #F33083;
  --punch-pink: #FF80B4;
  --pastel-pink: #FFADD7;
  --bubblegum-pink: #FFCCE5;
  --white: #FFFFFF;
  --off-white: #F9F9F9;
  --black: #000000;
  --gray: #DCDBD9;

  --font-punk: 'Anton', 'Bebas Neue', sans-serif;
  --font-grunge: 'Special Elite', 'Courier New', monospace;
  --font-body: 'Space Grotesk', sans-serif;

  --grunge-overlay: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.2) 0px,
    rgba(0, 0, 0, 0.2) 1px,
    transparent 1px,
    transparent 2px
  );
  --punk-transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--black);
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    var(--grunge-overlay),
    radial-gradient(circle at 20% 80%, rgba(243, 48, 131, 0.15) 0%, transparent 50%);
  position: relative;
}

/* TORN TOP EDGE like portfolio */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: var(--poppy-pink);
  z-index: 1000;
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 100%,
    95% 100%,
    90% 50%,
    85% 100%,
    80% 50%,
    75% 100%,
    70% 50%,
    65% 100%,
    60% 50%,
    55% 100%,
    50% 50%,
    45% 100%,
    40% 50%,
    35% 100%,
    30% 50%,
    25% 100%,
    20% 50%,
    15% 100%,
    10% 50%,
    5% 100%,
    0% 50%
  );
}

/* DESKTOP WRAPPER */
.desktop {
  min-height: 100vh;
  padding: 40px 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Barre “navigateur” punk */
.layout {
  width: 100%;
  max-width: 1100px;
}

/* LAYOUT PRINCIPAL */
.layout {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 2fr 1.4fr;
  grid-template-rows: repeat(6, auto);
  gap: 20px;
  grid-template-areas:
    "main    main"
    "contact exp"
    "edu     exp"
    "skills  exp"
    "soft    exp"
    "lang    hobbies"
;
}

/* Fenêtres */
.window {
  background: rgba(0, 0, 0, 0.9);
  border-radius: 8px;
  border: 3px solid var(--poppy-pink);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  position: relative;
}

.window::before {
  content: '';
  position: absolute;
  inset: 1px;
  border: 1px solid var(--punch-pink);
  opacity: 0.3;
  pointer-events: none;
}

.window-header {
  height: 26px;
  background: linear-gradient(90deg, var(--poppy-pink), var(--punch-pink));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
}

.wh-left,
.wh-right {
  display: flex;
  gap: 4px;
}

.wh-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--black);
}

.wh-dot.red    { background: #ff4b77; }
.wh-dot.yellow { background: #ffd45a; }
.wh-dot.green  { background: #54e696; }

.wh-icon {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  border: 2px solid var(--bubblegum-pink);
}

.window-body {
  padding: 18px 20px 22px;
}

/* Placement des fenêtres */
.window-main    { grid-area: main; }
.window-contact { grid-area: contact; }
.window-soft    { grid-area: soft; }     /* compétences logiciels */
.window-hab     { grid-area: skills; }   /* compétences générales */
.window-edu     { grid-area: edu; }
.window-exp     { grid-area: exp; }
.window-lang    { grid-area: lang; }
.window-hobbies { grid-area: hobbies; }

/* Fenêtre principale */
.main-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr; /* gauche / droite */
  column-gap: 40px;
  align-items: flex-start;
}

/* Colonne gauche : nom au-dessus, avatar en dessous */
.main-left {
  grid-column: 1 / 2;
  display: flex;
  flex-direction: column;   /* empile name puis avatar */
  align-items: center;
  gap: 16px;
}

/* Avatar */
.avatar {
  width: 180px;
  height: 230px;
  border-radius: 16px;
  object-fit: cover;
  border: 4px solid var(--poppy-pink);
}

/* Nom au-dessus de l'avatar */
.name {
  font-family: var(--font-punk);
  font-size: 2.6rem;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 2px var(--poppy-pink);
  text-stroke: 2px var(--poppy-pink);
  text-shadow: 4px 4px 0 var(--black), 6px 6px 0 rgba(0, 0, 0, 0.8);
  letter-spacing: 4px;
  text-align: center;
}

/* Colonne droite : rôle  + intro */
.main-middle {
  grid-column: 2 / 3;
}

/* main-full n'est plus utilisé */
.main-full {
  display: none;
}

/* Intro juste sous l'adresse */
.intro {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray);
  background: rgba(0, 0, 0, 0.7);
  padding: 14px 16px;
  border-left: 4px solid var(--poppy-pink);
  margin-top: 20px;  /* mets 0 si tu veux collé */
}




.role {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--off-white);
}


/* Titres de sections (lisibles) */
.section-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--punch-pink);
  margin-bottom: 10px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--poppy-pink), var(--pastel-pink));
}

/* Expériences */
.job {
  margin-bottom: 14px;
}

.job h4,
.edu-item h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.job-role {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--pastel-pink);
  margin: 4px 0 3px;
}

.job ul {
  padding-left: 16px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  color: var(--gray);
}

/* Éducation */
.edu-item {
  margin-bottom: 10px;
}

.edu-role {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--gray);
}

.edu-date {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--pastel-pink);
}

/* Contact */
.window-contact p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: var(--gray);
}

/* Compétences générales / hobbies */
.hab-list,
.hobbies-list {
  list-style: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gray);
}

.hab-list li + li,
.hobbies-list li + li {
  margin-top: 4px;
}

/* Langues */
.lang-list {
  list-style: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gray);
}

.lang-list li + li {
  margin-top: 4px;
}

/* Grille des compétences logiciels : 2 colonnes, 4 lignes */
.window-soft .soft-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
  gap: 10px 30px;                        /* espace lignes / colonnes */
}

/* Une ligne = icône + nom du logiciel */
.window-soft .soft-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
}

/* Icône carrée */
.soft-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 2px solid var(--poppy-pink);
  position: relative;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-body);
}

/* labels */
.soft-icon::after { content: attr(data-label); }
.ai::after   { content: "Ai"; }
.ps::after   { content: "Ps"; }
.in::after   { content: "Id"; }
.ae::after   { content: "Ae"; }
.pr::after   { content: "Pr"; }
.lr::after   { content: "Lr"; }
.canva::after{ content: "Ca"; }
.figma::after{ content: "Fg"; }

/* Nom du logiciel */
.soft-hearts {
  font-size: 0.85rem;
  color: var(--pastel-pink);
  letter-spacing: 0.5px;
  font-family: var(--font-body);
}


/* Responsive */
@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(7, auto);
    grid-template-areas:
      "main"
      "contact"
      "edu"
      "soft"
      "skills"
      "lang"
      "exp"
      "hobbies";
  }
}

