/* patsoocloudlab.fr — V6 top nav + footer, shared by index.html and profil.html.
   Prefixed tn-/sf- classes so it sits next to site.css (CV page) without clashes. */

.topnav {
  position: sticky; top: 0; z-index: 50;
  background: rgb(12 13 13 / .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid #232726;
  font-family: "Sora", system-ui, sans-serif;
}
.topnav .tn-in {
  margin: 0 auto; padding-inline: 20px;
  height: 60px; display: flex; align-items: center; gap: 8px;
}
.tn-brand { display: flex; gap: 12px; align-items: center; font-weight: 800; font-size: 1rem; letter-spacing: -.03em; color: #EDEFEB; text-decoration: none; }
.tn-brand i {
  width: 32px; height: 32px; border-radius: 9px; background: #22E06B; color: #04210F;
  display: grid; place-items: center; font: 700 .8rem "JetBrains Mono", ui-monospace, monospace; font-style: normal;
}
.tn-links { display: flex; gap: 4px; margin: 0 auto 0 16px; padding: 0; list-style: none; font-size: 14px; }
.tn-links a { display: block; padding: 2px 10px; border-radius: 999px; color: #C3CAC5; text-decoration: none; transition: color .2s; }
.tn-links a:hover { color: #EDEFEB; }
.tn-lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px #232726; }
.tn-lang button {
  border: 0; background: transparent; color: #8E978F; cursor: pointer;
  font: 500 .72rem "JetBrains Mono", ui-monospace, monospace; padding: 5px 9px; border-radius: 999px;
}
.tn-lang button[aria-pressed="true"] { background: #232726; color: #EDEFEB; }
.tn-cta {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; border: 0; cursor: pointer;
  background: #22E06B; color: #04210F; font: 600 14px "Sora", system-ui, sans-serif; text-decoration: none; transition: transform .2s;
}
.tn-cta:hover { transform: translateY(-1px); }
.tn-ghost { background: transparent; color: #EDEFEB; box-shadow: inset 0 0 0 1px #232726; }
.topnav a:focus-visible, .topnav button:focus-visible, .sitefoot a:focus-visible { outline: 2px solid #22E06B; outline-offset: 3px; border-radius: 8px; }
@media (max-width: 860px) {
  .tn-links { display: none; }
  .tn-lang { margin-left: auto; }
  .topnav .tn-in { gap: 12px; }
}
@media (max-width: 420px) { .tn-ghost { display: none; } }

.sitefoot {
  margin: 0 auto; padding: 40px 20px 32px;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  color: #8E978F; font: 400 14px "Sora", system-ui, sans-serif; position: relative; z-index: 2;
}
.sitefoot nav { display: flex; gap: 8px 24px; flex-wrap: wrap; }
@media (min-width: 1024px) {
  .topnav .tn-in { padding-inline: 60px; }
  .sitefoot { padding: 48px 60px 40px; }
}
.sitefoot a { color: inherit; text-decoration: none; }
.sitefoot a:hover { color: #EDEFEB; }

@media print { .topnav, .sitefoot nav { display: none !important; } }
