/* ══════════════════════════════════════════════
   style.css — Portfolio Adelphe Borges-Silva
   ══════════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #000;
  color: #fff;
  font-family: 'Outfit', 'DM Sans', sans-serif;
  font-weight: 500;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── GRADIENTS ── */
.grad {
  background: linear-gradient(90deg, #e879f9, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.grad-blue {
  background: linear-gradient(90deg, #818cf8, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.grad-purple {
  background: linear-gradient(90deg, #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.grad-green {
  background: linear-gradient(90deg, #34d399, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.grad, .grad-blue, .grad-green {
  background-size: 200% auto;
  animation: gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .grad, .grad-blue, .grad-green { animation: none; }
}

/* ── SCROLL PROGRESS ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #e879f9, #f97316, #38bdf8);
  z-index: 9999;
  transition: width .1s linear;
}

/* ── NAV ── */
.main-nav {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .3rem .4rem;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(120deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.4) 100%);
  backdrop-filter: blur(16px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .3);
  opacity: 0;
  animation: navIn .8s .3s ease forwards;
}

@keyframes navIn {
  to { opacity: 1; }
}

.nav-links {
  display: flex;
  gap: .1rem;
  list-style: none;
}

.nav-links a {
  color: #999a8d;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  padding: .45rem 1rem;
  border-radius: 1.8rem;
  transition: color .2s, background .2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.nav-sep {
  width: 1px;
  height: 1.2rem;
  background: rgba(255, 255, 255, .15);
}

.nav-cta {
  padding: .4rem 1.2rem;
  border-radius: 1.8rem;
  background: linear-gradient(120deg, rgba(255,255,255,.08) 0%, rgba(200,200,200,.06) 100%);
  border: 1px solid rgba(255, 255, 255, .08);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}

.nav-cta span {
  background: linear-gradient(90deg, rgba(255,240,255,.9), rgba(220,200,255,1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.05), transparent);
  opacity: 0;
  transition: opacity .2s;
}

.nav-cta:hover::after {
  opacity: .6;
}

/* ── BADGE ── */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: 100px;
  padding: .3rem 1rem;
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(120deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.02) 100%);
  backdrop-filter: blur(8px);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.section-badge span {
  background: linear-gradient(90deg, #a855f7, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge-star {
  color: #a855f7;
}

/* ── LAYOUT ── */
section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.text-center {
  text-align: center;
}

/* ── ACCUEIL ── */
#accueil {
  background:
    radial-gradient(ellipse 70% 60% at 15% 50%, rgba(139,92,246,.3) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 85% 30%, rgba(59,130,246,.2) 0%, transparent 60%),
    #000;
  align-items: center;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  border-radius: 100px;
  padding: .4rem 1.3rem;
  background: linear-gradient(120deg, rgba(168,129,255,.05) 0%, rgba(242,99,120,.1) 100%);
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
  font-size: .85rem;
  color: rgba(255, 240, 255, .8);
  text-decoration: none;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp .8s .5s ease forwards;
}

.hero-tag:hover {
  background: linear-gradient(120deg, rgba(168,129,255,.1) 0%, rgba(242,99,120,.18) 100%);
  border-color: rgba(168, 129, 255, .3);
}

.hero-tag-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: rgba(168, 129, 255, .2);
}

.hero-h1 {
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp .9s .65s ease forwards;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: rgba(255, 255, 255, .6);
  font-weight: 500;
  max-width: 640px;
  margin: 0 auto 3rem;
  opacity: 0;
  animation: fadeUp 1s .8s ease forwards;
}

.hero-sub strong {
  color: #fff;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s .95s ease forwards;
}

/* ── BOUTONS ── */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 2rem;
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), background .3s ease, color .3s ease;
}

.btn-pill.btn-small {
  font-size: .85rem;
}

.btn-outline {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .15);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .12);
}

.btn-solid {
  background: #fff;
  color: #000;
}

.btn-solid:hover {
  opacity: .88;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── FADE WORDS ── */
.fade-word {
  opacity: .1;
  transition: opacity .8s cubic-bezier(0.4, 0, 0.2, 1), color .8s ease;
  display: inline-block;
  margin-right: .25rem;
  will-change: opacity;
}

.fade-word.visible {
  opacity: 1;
  color: #fff;
}

/* ── INTRO ── */
.section-intro {
  min-height: auto;
  padding: 10rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.intro-text {
  max-width: 900px;
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.4;
}

.intro-text .fade-word {
  color: rgba(255, 255, 255, .15);
  transition: color .4s;
}

.intro-text .fade-word.visible {
  color: #fff;
}

.intro-cta {
  display: block;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  margin-top: 2rem;
}

/* ── FORMATION ── */
#formation {
  background: #000;
  padding: 7rem 2rem;
}

.formation-header {
  text-align: center;
  margin-bottom: 4rem;
}

.formation-h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: .8rem;
}

.formation-sub {
  color: rgba(255, 255, 255, .5);
  font-size: 1.05rem;
}

.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.option-card {
  border-radius: 1.5rem;
  padding: .5rem;
  position: relative;
}

.option-card.slam {
  background: linear-gradient(135deg, #7c3aed, #be185d);
}

.option-card.sisr {
  background: linear-gradient(135deg, #1d4ed8, #0891b2);
}

.option-inner {
  background: rgba(0, 0, 0, .3);
  backdrop-filter: blur(4px);
  border-radius: 1.2rem;
  padding: 2rem;
}

.option-label {
  display: inline-block;
  background: rgba(255, 255, 255, .15);
  border-radius: .5rem;
  padding: .3rem .8rem;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .05em;
  margin-bottom: 1.2rem;
}

.option-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.option-desc {
  color: rgba(255, 255, 255, .75);
  font-size: .88rem;
  line-height: 1.7;
  margin-bottom: 1.3rem;
}

.option-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.option-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .85rem;
  color: rgba(255, 255, 255, .85);
}

.option-list li::before {
  content: '●';
  font-size: .4rem;
  margin-top: .55em;
  flex-shrink: 0;
}

.option-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 100px;
  padding: .2rem .9rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  z-index: 1;
}

.formation-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: #111;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
}

.stat-icon {
  font-size: 1.8rem;
  margin-bottom: .6rem;
}

.stat-title {
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: .3rem;
}

.stat-val {
  color: rgba(255, 255, 255, .5);
  font-size: .82rem;
}

.formation-quote {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .5);
  font-size: 1rem;
  line-height: 1.8;
}

.formation-quote strong {
  color: #fff;
}

/* ── PROFIL ── */
#profil {
  background: #000;
  padding: 6rem 2rem;
}

.profil-heading {
  margin-bottom: 3rem;
}

.profil-h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -.02em;
}

.profil-sub {
  color: rgba(255, 255, 255, .4);
  margin-top: .8rem;
}

.profil-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.profil-card-outer {
  border: 4px solid #383838;
  border-radius: 1.8rem;
  padding: .5rem;
  background: #222;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .8);
}

.profil-card-inner {
  background: linear-gradient(135deg, #0f172a, #1e1b4b);
  border: 1px solid rgba(99, 102, 241, .3);
  border-radius: 1.3rem;
  overflow: hidden;
}

.profil-top {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.profil-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  flex-shrink: 0;
  border: 3px solid rgba(99, 102, 241, .5);
}

.profil-name {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: .3rem;
}

.profil-name-blue {
  color: #3b82f6;
}

.profil-role {
  font-size: .82rem;
  color: rgba(255, 255, 255, .45);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.profil-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.profil-col {
  padding: 2rem 2.5rem;
}

.profil-col:first-child {
  border-right: 1px solid rgba(255, 255, 255, .06);
}

.profil-col-title {
  font-size: .78rem;
  font-weight: 700;
  color: #3b82f6;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1.2rem;
}

.profil-info-list {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.profil-info-row {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .85rem;
  color: rgba(255, 255, 255, .65);
}

.profil-info-row a {
  color: inherit;
  text-decoration: none;
}

.profil-info-row a:hover {
  color: #fff;
}

.profil-exp-list {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.profil-exp-co {
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
}

.profil-exp-role {
  color: rgba(255, 255, 255, .45);
  font-size: .78rem;
  margin: .1rem 0;
}

.profil-exp-date {
  color: #3b82f6;
  font-size: .72rem;
  letter-spacing: .04em;
}

.profil-strengths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  padding: 1.5rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.profil-str {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255, 255, 255, .65);
}

.profil-str::before {
  content: '✦';
  color: #3b82f6;
  font-size: .55rem;
}

/* ── COMPÉTENCES ── */
#competences {
  background: #000;
  padding: 7rem 2rem;
}

.comp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.comp-badge {
  margin-bottom: 1.5rem;
}

.comp-h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin-bottom: 1.2rem;
}

.comp-desc {
  color: rgba(255, 255, 255, .45);
  font-size: .95rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.comp-scroll-wrap {
  height: 500px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.comp-scroll-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: scrollUp 28s linear infinite;
}

.comp-scroll-col:hover {
  animation-play-state: paused;
}

@keyframes scrollUp {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

.comp-card-tool {
  background: #111;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 1.5rem;
  padding: 1.5rem;
  text-align: center;
}

.comp-card-tool-icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.comp-card-tool-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

.comp-card-tool-desc {
  font-size: .82rem;
  color: rgba(255, 255, 255, .45);
  line-height: 1.5;
}

/* ── PROJETS ── */
#projets {
  background: #000;
  padding: 7rem 2rem;
}

.projets-header {
  text-align: center;
  margin-bottom: 4rem;
}

.projets-h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: .8rem;
}

.projets-sub {
  color: rgba(255, 255, 255, .4);
  margin-bottom: 3rem;
}

.projets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.projet-card-new {
  background: #111;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  padding: 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition: transform .15s ease-out, box-shadow .3s ease;
  text-decoration: none;
  color: #fff;
  transform-style: preserve-3d;
}

.projet-card-new:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(168, 85, 247, .25);
}

.card-status {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #bbf7d0;
  color: #166534;
  font-size: .65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  z-index: 2;
}

.card-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, .03);
  border-radius: 8px;
  margin-bottom: .5rem;
}

.card-img {
  max-width: 85%;
  max-height: 140px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .9;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
}

.card-title-wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.card-icon-blue {
  color: #3b82f6;
  flex-shrink: 0;
}

.card-title {
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
}

.card-year {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .5);
  font-size: .65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.card-arrow {
  position: absolute;
  bottom: 12px;
  right: 12px;
  color: #adb5bd;
}

/* ── VEILLE ── */
#veille {
  background: #000;
  padding: 7rem 2rem;
}

.veille-header {
  text-align: center;
  margin-bottom: 4rem;
}

.veille-h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: .8rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.article-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem;
  background: linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
  backdrop-filter: blur(10px);
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, .4);
  background: linear-gradient(135deg, rgba(168,85,247,.08), rgba(56,189,248,.04));
}

.article-tag {
  display: inline-block;
  align-self: flex-start;
  padding: .35rem .8rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-radius: 999px;
  background: linear-gradient(90deg, #a855f7, #38bdf8);
  color: #fff;
}

.article-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  margin: 0;
}

.article-desc {
  font-size: .92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .72);
  margin: 0;
  flex-grow: 1;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: rgba(255, 255, 255, .5);
  padding-top: .75rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.article-source {
  font-weight: 600;
  color: rgba(255, 255, 255, .75);
}

.article-link {
  font-size: .9rem;
  font-weight: 600;
  background: linear-gradient(90deg, #e879f9, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  align-self: flex-start;
}

/* ── FOOTER ── */
footer {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.footer-top-line {
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,.4), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.footer-name {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-top: 1rem;
}

.footer-sub {
  color: rgba(255, 255, 255, .4);
  font-size: .85rem;
  margin-top: .4rem;
}

.footer-nav-title,
.footer-social-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-social-title {
  text-align: right;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, .4);
  text-decoration: none;
  font-size: .9rem;
  transition: color .2s;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-socials {
  display: flex;
  gap: .8rem;
  justify-content: flex-end;
}

.social-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .2s;
  text-decoration: none;
}

.social-btn:hover {
  background: rgba(255, 255, 255, .12);
}

.footer-copy {
  text-align: center;
  color: rgba(255, 255, 255, .2);
  font-size: .82rem;
  margin-top: 3rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .main-nav {
    padding: .3rem .4rem;
    top: 1rem;
    width: calc(100% - 2rem);
    justify-content: center;
  }

  .nav-links a {
    padding: .4rem .65rem;
    font-size: .78rem;
  }

  section {
    padding: 5rem 1.5rem;
  }

  .options-grid,
  .comp-layout,
  .projets-grid,
  .articles-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .formation-stats {
    grid-template-columns: 1fr 1fr;
  }

  .profil-body {
    grid-template-columns: 1fr;
  }

  .profil-top {
    flex-direction: column;
    text-align: center;
  }

  .profil-col:first-child {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
  }

  .profil-strengths {
    grid-template-columns: 1fr;
  }

  .footer-social-title {
    text-align: left;
  }

  .footer-socials {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .nav-links {
    gap: 0;
  }

  .nav-links a {
    padding: .35rem .5rem;
    font-size: .72rem;
  }

  .nav-sep,
  .nav-cta {
    display: none;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .formation-stats {
    grid-template-columns: 1fr;
  }
}
