:root {
  --bg: #0b0c10;
  --panel: #111318;
  --text: #e8ecf1;
  --muted: #aab3c0;
  --brand: #6ee7b7;
  --brand-2: #60a5fa;
  --ring: 0 0 0 2px color-mix(in srgb, var(--brand) 35%, transparent);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial;
  background: radial-gradient(1200px 800px at 80% -10%, rgba(96,165,250,.12), transparent 60%),
              radial-gradient(900px 600px at -10% 20%, rgba(110,231,183,.10), transparent 50%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-width: none;       /* Firefox */
}
body::-webkit-scrollbar { display: none; } /* Chrome/Safari */

.container { width: min(1100px, 92vw); margin-inline: auto; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(8px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid rgba(255,255,255,.06);
  animation: fadeDown .8s ease forwards;
  opacity: 0;
}
@keyframes fadeDown { from{opacity:0; transform:translateY(-20px)} to{opacity:1; transform:translateY(0)} }
.nav { display: flex; justify-content: space-between; align-items: center; padding: 14px 8px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 0 4px rgba(110,231,183,.15);
  animation: pulse 2s infinite alternate;
}
@keyframes pulse { from{transform:scale(1)} to{transform:scale(1.3)} }

.main-menu { display: flex; gap: 18px; }
.main-menu a { opacity: .8; padding: 8px 10px; border-radius: 10px; transition: .3s; }
.main-menu a:hover { background: rgba(255,255,255,.06); opacity: 1; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  padding: 8px 12px;
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-weight: 700;
}

.menu-toggle span {
  font-size: 1.2rem;
  line-height: 1;
}

.foot .menu { display: flex; gap: 18px; }
.foot .menu a { opacity: .8; padding: 8px 10px; border-radius: 10px; transition: .3s; }
.foot .menu a:hover { background: rgba(255,255,255,.06); opacity: 1; }

.cta, .ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 12px;
  transition: .3s;
}
.cta {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #0b1020; font-weight: 700;
}
.cta:hover { transform: translateY(-2px) scale(1.02); }
.cta:focus-visible { outline: none; box-shadow: var(--ring); }
.ghost {
  border: 1px solid rgba(255,255,255,.12); background: transparent; color: var(--text);
}
.ghost:hover { background: rgba(255,255,255,.05); }

/* Hero */
.hero-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center; height: 100%;
}
.kicker { color: var(--brand); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: .78rem; animation: fadeUp .8s ease .2s forwards; opacity: 0; }
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.4rem); line-height: 1.1; margin: .4rem 0 1rem; animation: fadeUp .8s ease .4s forwards; opacity: 0; }
.lead { color: var(--muted); font-size: clamp(1rem, .6vw + .9rem, 1.125rem); animation: fadeUp .8s ease .6s forwards; opacity: 0; }
.hero-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; animation: fadeUp .8s ease .8s forwards; opacity: 0; }
@keyframes fadeUp { from{opacity:0; transform:translateY(30px)} to{opacity:1; transform:translateY(0)} }

.portrait {
  aspect-ratio: 4/5;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(96,165,250,.25), rgba(110,231,183,.25));
  border: 1px solid rgba(255,255,255,.14);
  display: grid; 
  place-items: center;
  font-weight: 600; 
  color: #0b1020;
  transform: scale(1);
}
@keyframes zoomIn { from{opacity:0; transform:scale(.9)} to{opacity:1; transform:scale(1)} }

/* Sections */
section { padding: 54px 0; opacity: 0; transform: translateY(40px); transition: all 1s ease; }
section.visible { opacity: 1; transform: translateY(0); }
.section-header { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }
.section-header h2 { font-size: 1.8rem; margin: 0; }
.muted { color: var(--muted); }

/* Cards */
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--panel); padding: 18px; border-radius: 18px;
  border: 1px solid rgba(255,255,255,.06);
  opacity: 0; transform: translateY(30px); transition: .8s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.card.visible { opacity: 1; transform: translateY(0); }
.card h3 { margin: 0 0 6px; font-size: 1.1rem; }

/* Timeline */
.timeline { position: relative; margin: 10px 0 0 6px; }
.timeline:before {
  content: ""; position: absolute; left: 10px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(var(--brand), transparent);
}
.tl-item { position: relative; padding-left: 34px; margin: 22px 0; opacity: 0; transform: translateX(-20px); transition: all .8s ease; }
.tl-item.visible { opacity: 1; transform: translateX(0); }
.tl-item:before {
  content: ""; position: absolute; left: 2px; top: .35rem;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 4px rgba(110,231,183,.15);
}

/* Footer */
footer {
  padding: 40px 0 80px; border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px;
  animation: fadeUp .8s ease 1.2s forwards; opacity: 0;
}
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }

/* Responsif */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  .nav { flex-wrap: wrap; row-gap: 10px; }
  .menu-toggle { display: inline-flex; margin-left: auto; }

  section,
  #veille-techno,
  footer {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .main-menu {
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    background: color-mix(in srgb, var(--panel) 88%, transparent);
  }

  .main-menu.is-open { display: flex; }

  .main-menu a,
  .main-menu .cta {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .main-menu a { white-space: normal; }
  .foot .menu { width: 100%; justify-content: center; flex-wrap: wrap; gap: 8px; }
  .foot .menu a { white-space: nowrap; }
  section { padding: 42px 0; }
  .social-links { gap: 1rem; }
  .social-links a { width: 54px; height: 54px; }
  .social-links svg { width: 26px; height: 26px; }
}

.card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--brand);
}

.card p.desc {
  margin-top: 6px;
  min-height: 20px;
  font-size: 0.95rem;
  color: var(--brand);
  white-space: pre-wrap;
}

/* Animation typewriter pour la description */
@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

/* Section contact avec icônes */
.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #1e1e1e;
  color: white;
  transition: transform 0.3s ease, background 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-5px) scale(1.1);
}

.social-links svg {
  width: 32px;
  height: 32px;
}

.email-feedback {
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
  min-height: 22px;
  font-size: 0.9rem;
}

/* couleurs spécifiques */
.social-links a[aria-label="Email"]:hover { background: #d93025; }     /* Gmail rouge */
.social-links a[aria-label="LinkedIn"]:hover { background: #0a66c2; } /* LinkedIn bleu */
.social-links a[aria-label="GitHub"]:hover { background: #5afd44; }      /* GitHub noir */

/* Section compétences */
#competences {
  padding: 80px 0;
  color: var(--text); /* texte clair */
}

.skills li,
.certifications li,
h3 {
  color: var(--text);
}

/* Modal */
        .modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); justify-content: center; align-items: center; z-index: 1000; animation: fadeIn .3s ease; }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
        .modal-content { background: var(--panel); padding: 28px 24px; border-radius: 16px; width: 400px; max-width: 92%; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 8px 32px rgba(0,0,0,0.4); color: var(--text); animation: slideUp .4s ease; position: relative; }
        @keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
        .modal-content h2 { margin-bottom: 18px; font-size: 1.4rem; color: var(--brand); text-align: center; }
        .close { position: absolute; top: 14px; right: 18px; font-size: 26px; cursor: pointer; color: var(--muted); transition: color .2s; }
        .close:hover { color: var(--brand); }
        .modal-content label { display: block; margin: 10px 0 4px; font-size: .9rem; color: var(--muted); }
        .modal-content input, .modal-content textarea { width: 100%; padding: 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: #1e1f25; color: var(--text); resize: none; transition: border-color .2s, box-shadow .2s; }
        .modal-content input:focus, .modal-content textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 2px rgba(110,231,183,.2); }
        .modal-content button { margin-top: 14px; width: 100%; padding: 12px; font-weight: 600; border: none; border-radius: 12px; cursor: pointer; background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #0b1020; transition: transform .2s, box-shadow .2s; }
        .modal-content button:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(96,165,250,.3); }

        /* Flou du fond quand modal ouverte */
        body.modal-open > *:not(.modal) { filter: blur(4px); pointer-events: none; user-select: none; }

/* Section Veille Technologique */
#veille-techno {
  padding: 60px 0;
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}
#veille-techno.visible { opacity: 1; transform: translateY(0); }

/* Header */
#veille-techno .section-header h2 { 
  font-size: 2rem; 
  margin-bottom: 8px; 
  color: var(--brand); 
}
#veille-techno .section-header h3 {
  color: var(--brand);
}
#veille-techno .section-header p { 
  color: var(--muted); 
  font-size: 1rem; 
}

/* Grilles */
#veille-techno .grid-2, #veille-techno .grid-3 { display: grid; gap: 20px; }
#veille-techno .grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
#veille-techno .grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
@media (max-width: 920px) { #veille-techno .grid-2, #veille-techno .grid-3 { grid-template-columns: 1fr; } }

/* Cartes */
#veille-techno .card {
  background: var(--panel);
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .3s ease, border-color .3s ease;
  color: var(--text);
  position: relative;
  overflow: hidden;
}
#veille-techno .card:hover { 
  transform: translateY(-6px) scale(1.02); 
  border-color: var(--brand); 
}

/* Titres des cartes */
#veille-techno .card h3, #veille-techno .card h4 { 
  color: var(--brand); 
  margin-bottom: 10px; 
}
#veille-techno .card p, #veille-techno .card li { 
  color: var(--text); 
  font-size: 0.95rem; 
  line-height: 1.5; 
}
#veille-techno .card ul { padding-left: 18px; margin-top: 6px; }

/* Ajustement pour les listes dans les compétences et certifications */
#competences .card ul { padding-left: 20px; margin-top: 6px; }

/* Sources interactives */
.sources-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.source-item {
  display: flex; align-items: center;
  background: rgba(255,255,255,.05);
  padding: 6px 12px;
  border-radius: 12px;
  gap: 6px;
  position: relative;
  transition: transform 0.2s ease, background 0.2s ease;
}
.source-item img { width: 20px; height: 20px; border-radius: 4px; }
.source-item a { color: var(--text); font-size: 0.88rem; text-decoration: underline dotted; }
.source-item:hover { transform: translateY(-2px); background: rgba(110,231,183,.15); }
.source-info {
  display: none;
  position: absolute;
  bottom: 110%; left: 50%;
  transform: translateX(-50%);
  background: var(--panel);
  color: var(--text);
  font-size: 0.75rem;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.source-item:hover .source-info { display: block; }

@media (max-width: 700px) {
  .source-info {
    white-space: normal;
    width: min(78vw, 240px);
    text-align: center;
  }
}

/* Note filtrage */
.filtered-note { font-size: 0.75rem; color: var(--muted); margin-top: 8px; }

#veille-techno .veille-mutualisee-card {
  margin-top: 26px;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(110,231,183,.45);
  background:
    radial-gradient(circle at 20% 20%, rgba(110,231,183,.22), transparent 45%),
    linear-gradient(135deg, rgba(110,231,183,.1), rgba(96,165,250,.1));
  box-shadow: 0 14px 30px rgba(0,0,0,.28);
}

#veille-techno .veille-mutualisee-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(4,26,18,.78);
  border: 1px solid rgba(110,231,183,.75);
  color: #cbffe8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

#veille-techno .veille-mutualisee-card h3 {
  margin: 10px 0 8px;
  color: #f4fffb;
  font-size: clamp(1.18rem, 2.5vw, 1.45rem);
}

#veille-techno .veille-mutualisee-card p {
  margin: 0;
  max-width: 70ch;
  color: #ecfff7;
}

#veille-techno .veille-mutualisee-link {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(0,0,0,.3);
  border: 1px solid rgba(255,255,255,.2);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

#veille-techno .veille-mutualisee-link:hover {
  transform: translateY(-2px);
  background: rgba(0,0,0,.45);
  border-color: rgba(110,231,183,.65);
}

#veille-techno .theme-articles-list,
#veille-techno .latest-articles-grid {
  display: grid;
  gap: 14px;
}

#veille-techno .latest-articles-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

#veille-techno .theme-article-item,
#veille-techno .latest-article-item {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
}

#veille-techno .theme-article-item h5,
#veille-techno .latest-article-item h5 {
  margin: 0 0 6px;
  font-size: 0.98rem;
}

#veille-techno .theme-article-item a,
#veille-techno .latest-article-item a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

#veille-techno .theme-article-item a:hover,
#veille-techno .latest-article-item a:hover {
  color: var(--brand);
}

#veille-techno .article-meta {
  margin: 0 0 8px;
  font-size: 0.78rem;
  color: var(--muted) !important;
}

#veille-techno .theme-article-item p,
#veille-techno .latest-article-item p {
  margin: 0;
}

#veille-techno .card-actualite {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
  display: grid;
  gap: 8px;
}

#veille-techno .card-date {
  font-size: 0.78rem;
  color: var(--muted);
}

#veille-techno .card-titre {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.4;
}

#veille-techno .card-lien {
  color: var(--brand);
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Easter egg mobile */
#mobile-easter-egg {
  display: none;
  padding-top: 12px;
}

.mobile-egg-card {
  margin-top: 10px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(110,231,183,.18);
  background: linear-gradient(160deg, rgba(17,19,24,.96), rgba(12,14,18,.98));
  box-shadow: 0 18px 36px rgba(0,0,0,.28);
}

.mobile-egg-selector {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 12px;
}

.mobile-egg-switch {
  padding: 12px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: var(--text);
  font-size: .95rem;
  font-weight: 800;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.mobile-egg-switch:hover,
.mobile-egg-switch:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(110,231,183,.45);
  background: rgba(110,231,183,.08);
  outline: none;
}

.mobile-egg-switch.is-active {
  background: linear-gradient(135deg, rgba(43,197,139,.24), rgba(17,19,24,.94));
  border-color: rgba(43,197,139,.9);
  color: #ffffff;
}

.mobile-egg-game.is-hidden {
  display: none;
}

.mobile-egg-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.mobile-egg-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #0b3a28;
  border: 1px solid #2bc58b;
  color: #ffffff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mobile-egg-status {
  color: var(--muted);
  font-size: .9rem;
  text-align: right;
}

.mobile-egg-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mobile-egg-cell {
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-size: clamp(1.8rem, 8vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.mobile-egg-cell:hover,
.mobile-egg-cell:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(110,231,183,.45);
  background: rgba(110,231,183,.08);
  outline: none;
}

.mobile-egg-cell.is-x { color: #8be9fd; }
.mobile-egg-cell.is-o { color: #ffd166; }

.mobile-egg-actions {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.mobile-egg-card-alt {
  margin-top: 14px;
}

.mobile-egg-title {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
}

.mobile-egg-note {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.4;
}

.match-egg-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.match-egg-stick {
  display: block;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffd166 0%, #f9a826 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset;
}

.match-egg-stick.is-taken {
  opacity: .16;
  filter: grayscale(1);
}

.match-egg-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.match-egg-take {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  padding: 12px 0;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.match-egg-take:hover,
.match-egg-take:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255,209,102,.5);
  background: rgba(255,209,102,.12);
  outline: none;
}

.match-egg-take:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}

.connect4-actions {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 10px;
}

.connect4-drop {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-size: .9rem;
  font-weight: 800;
  padding: 10px 0;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.connect4-drop:hover,
.connect4-drop:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(110,231,183,.45);
  background: rgba(110,231,183,.08);
  outline: none;
}

.connect4-drop:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}

.connect4-board {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 12px;
}

.connect4-cell {
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.1), rgba(255,255,255,.03) 58%, rgba(255,255,255,.02) 100%);
  box-shadow: inset 0 -6px 12px rgba(0,0,0,.18);
}

.connect4-cell.is-x {
  background: radial-gradient(circle at 35% 30%, #b8f3ff 0%, #8be9fd 38%, #2fa8db 100%);
}

.connect4-cell.is-o {
  background: radial-gradient(circle at 35% 30%, #ffe59a 0%, #ffd166 38%, #f0a500 100%);
}

@media (max-width: 760px) {
  #mobile-easter-egg {
    display: block;
  }

  .mobile-egg-card {
    padding: 16px;
  }
}

#veille-techno .card-lien:hover {
  color: var(--brand-2);
}

#veille-techno .veille-more-wrap {
  margin-top: 20px;
  text-align: center;
}

#projectsModal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

#projectsModal .modal-content {
  background: var(--panel);
  margin: 15% auto;
  padding: 28px 24px;
  border-radius: 16px;
  width: 400px;
  max-width: 92%;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  color: var(--text);
  animation: slideUp 0.4s ease;
  position: relative;
  text-align: center;
}

#projectsModal h2 {
  margin-bottom: 18px;
  font-size: 1.4rem;
  color: var(--brand);
}

#projectsModal p {
  margin-bottom: 1rem;
  color: var(--muted);
}

#projectsModal .close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 26px;
  cursor: pointer;
  color: var(--muted);
  transition: color .2s;
}

#projectsModal .close:hover {
  color: var(--brand);
}

#closeProjectsModal {
  margin-top: 1rem;
}
