@media (max-width: 700px) {
  .cv-cert-flex.responsive-flex {
    flex-direction: column !important;
  }
  .cv-block.responsive-block {
    order: 1 !important;
  }
  .cert-block.responsive-block {
    order: 2 !important;
  }
}
@media (max-width: 700px) {
  .cv-cert-flex.responsive-flex {
    flex-direction: column-reverse !important;
  }
}
/* === Responsive Utility Classes === */
.responsive-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.2rem;
  box-sizing: border-box;
}

.responsive-section {
  width: 100%;
  box-sizing: border-box;
}

.responsive-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.responsive-block {
  flex: 1 1 320px;
  min-width: 0;
  box-sizing: border-box;
}

.responsive-card-half {
  flex: 1 1 180px;
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .projects-grid.responsive-flex {
    grid-template-columns: 1fr 1fr !important;
    display: grid !important;
    gap: 1.5rem 1rem;
  }
  .cv-cert-flex.responsive-flex {
    flex-direction: column !important;
    gap: 1.5rem !important;
  }
}

@media (max-width: 700px) {
  .responsive-flex {
    flex-direction: column !important;
    gap: 1.2rem !important;
  }
  .projects-grid.responsive-flex {
    grid-template-columns: 1fr !important;
    display: grid !important;
    gap: 1.2rem !important;
  }
  .badges-list {
    grid-template-columns: 1fr 1fr !important;
    gap: 1em 0.5em !important;
  }
}

@media (max-width: 500px) {
  .responsive-container {
    padding: 0 0.2rem !important;
  }
  .responsive-section {
    padding: 1rem 0.2rem !important;
  }
  .responsive-block {
    padding: 0.7rem 0.2rem !important;
  }
  .projects-grid.responsive-flex {
    grid-template-columns: 1fr !important;
    gap: 0.7rem !important;
  }
  .badges-list {
    grid-template-columns: 1fr !important;
    gap: 0.7em 0.2em !important;
  }
}

/* Mode dark pour responsive */
body.dark .responsive-section,
body.dark .responsive-block {
  background: var(--card);
  color: var(--text);
  box-shadow: var(--shadow);
}
/* Utilitaire flex pour test */
.flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
}
/* Container principal pour le responsive */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.2rem;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 700px) {
  .container {
    padding: 0 0.3rem;
  }
}
body.dark .footer-flames {
  filter: brightness(0.7) hue-rotate(-20deg) saturate(1.2);
}
body.dark .header-waves {
  filter: brightness(0.7) hue-rotate(-20deg) saturate(1.2);
}
/* === Header Waves === */
.header-waves-container {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  line-height: 0;
  position: relative;
  margin-bottom: 0;
  z-index: 2;
}
.header-waves {
  display: block;
  width: 100%;
  min-width: 0;
  height: 70px;
  max-height: 50px;
  margin: 0;
  position: relative;
  z-index: 2;
}
/* === Footer Flames === */
.footer-flames-container {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  line-height: 0;
  position: relative;
  margin-bottom: 0;
  z-index: 2;
}
.footer-flames {
  display: block;
  width: 100%;
  min-width: 0;
  height: 70px;
  max-height: 50px;
  margin: 0;
  position: relative;
  z-index: 2;
}
/* === Carte de visite moderne === */
.business-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 32px #0002, 0 1.5px 0 #eaf2ff;
  border: 1.5px solid #eaf2ff;
  max-width: 700px;
  margin: 0 auto 2.5em auto;
}
.business-card-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}
.card-front {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0;
}
.card-left {
  flex: 0 0 38%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.profile-circle {
  width: 170px;
  height: 170px;
  width: 170px;
  height: 170px;
  min-width: 170px;
  min-height: 170px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px #0001;
  position: relative;
  margin: 0 auto;
  aspect-ratio: 1/1;
  overflow: hidden;
  border: 4px solid var(--primary);
  transition: background 0.3s, border 0.3s;
  width: 68px;
@media (max-width: 600px) {
  .profile-circle {
    width: 120px;
    height: 120px;
    min-width: 120px;
    min-height: 120px;
  }
}
  height: 68px;
  border-radius: 50%;
  background: #fff3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.7em;
  overflow: hidden;
  border: 2.5px solid #fff;
  box-shadow: 0 1px 6px #0002;
}
.profile-photo img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
}
.profile-name {
  color: #fff;
  font-size: 1.15em;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  display: block;
  text-align: center;
  text-shadow: 0 2px 8px #0002;
}
.card-right {
  flex: 1;
  padding: 2.2em 2em 2.2em 2.5em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
}
.profile-title {
  font-size: 1.18em;
  font-weight: 800;
  color: #232b3a;
  letter-spacing: 0.01em;
}
.profile-title span {
  color: var(--primary);
  font-weight: 800;
}

body.dark .profile-title {
  color: #fff !important;
}
.profile-sep {
  height: 2.5px;
  width: 52px;
  background: var(--primary);
  margin: 0.7em 0 1.1em 0;
  background: var(--card);
}
.profile-contact {
  font-size: 1.07em;
  color: #232b3a;
  opacity: 0.92;
  margin-bottom: 0.7em;
  line-height: 1.5;
}
.profile-contact span {
  display: block;
  font-weight: 500;
}
.profile-logos {
  display: flex;
  gap: 1.1em;
  align-items: center;
}
/* Carte de visite : numéro à côté du logo mail */
.contact-phone-inline {
  font-size: 1em;
  margin-left: 0;
  color: inherit;
  text-decoration: underline;
  transition: color 0.2s;
}
.contact-phone-inline:hover {
  color: var(--primary);
}
/* Carte de visite : ligne logo mail + numéro */
.contact-mail-phone-row {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: 0.2em;
}
/* Carte de visite : ligne mail et téléphone */
.contact-infos-row {
  display: flex;
  align-items: center;
  gap: 1.2em;
  margin-bottom: 0.7em;
}
.contact-info-link {
  color: inherit;
  text-decoration: underline;
  font-size: 1em;
  transition: color 0.2s;
}
.contact-info-link:hover {
  color: var(--primary);
}
.contact-info-sep {
  color: #888;
  font-size: 1em;
  user-select: none;
}
body.dark .contact-logo-btn {
  background: #fff;
  box-shadow: 0 2px 24px #000a;
  border: 1.5px solid #232b3a;
  transition: box-shadow 0.2s, border-color 0.2s, background 0.2s;
}
body.dark .contact-logo-btn:hover {
  background: #eaeaea;
  box-shadow: 0 6px 36px #000c;
  border-color: #181a20;
}
body.dark .contact-logo-img {
  filter: none;
  transition: filter 0.2s;
}
/* Carte de visite : boutons logos verticaux */
.contact-logos-vertical {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1em;
  margin-top: 1.2em;
}
.contact-logo-btn {
  background: #232b3a;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px #0003;
  transition: box-shadow 0.2s, background 0.2s;
  margin: 0;
  padding: 0;
}
.contact-logo-btn:hover {
  background: #4e8cff;
  box-shadow: 0 4px 24px #0004;
}
.contact-logo-img {
  width: 1.7em;
  height: 1.7em;
  filter: grayscale(0) brightness(1.2) invert(1);
}
body.dark .contact-logo-btn {
  background: #fff;
  box-shadow: 0 2px 24px #000a;
  border: 1.5px solid #232b3a;
  transition: box-shadow 0.2s, border-color 0.2s, background 0.2s;
}
body.dark .contact-logo-btn:hover {
  background: #eaeaea;
  box-shadow: 0 6px 36px #000c;
  border-color: #181a20;
}
body.dark .contact-logo-img {
  filter: none;
  transition: filter 0.2s;
}
/* Bloc bleu pour harmoniser les sections (ex: carte de visite) */
.blue-block {
  background: var(--accent);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Overlay du langage dominant sur l'image projet */
.project-lang-overlay {
  position: absolute;
  bottom: 0.7em;
  left: 0.9em;
  z-index: 3;
}
.project-lang-overlay span {
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  padding: 0.18em 0.9em;
  font-size: 1em;
  font-weight: 600;
  box-shadow: 0 2px 8px #0002;
  opacity: 0.93;
}
/* Skills compact (ligne unique) */
.skills-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7em;
  font-size: 1em;
  margin: 0.2em 0 0.2em 0;
  align-items: center;
}
.skills-compact strong {
  color: var(--primary);
}

body.dark .skills-compact span {
  color: #fff !important;
}
body.dark .skills-compact strong {
  color: var(--primary) !important;
}
.skills-compact span {
  color: var(--primary);
  font-weight: 500;
  white-space: nowrap;
}
.skills-compact .skills-sep {
  color: #aaa;
  font-weight: 400;
  font-size: 1.1em;
  margin: 0 0.2em;
}
/* Skills categories (Langages & Frameworks) */
.skills-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em 2.5em;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.skills-category {
  min-width: 180px;
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}
.skills-category strong {
  color: var(--primary);
  font-size: 1.05em;
  margin-bottom: 0.2em;
}
.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  list-style: none;
  padding: 0;
  margin: 0.2em 0 0 0;
}
.skills-list li span {
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  padding: 0.35em 1em;
  font-weight: 500;
  font-size: 1em;
  box-shadow: 0 1px 4px #0001;
  display: inline-block;
}
/* Badges : grille simple, 3 par ligne, alignement uniforme */
.badges-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2em 0.5em;
  justify-items: center;
  align-items: center;
  margin-bottom: 1em;
}
.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  transition: none;
  text-align: center;
}
.badge-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 0.5em;
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  display: block;
}
.badge-title {
  font-size: 1em;
  font-weight: 500;
  text-align: center;
  color: var(--text, #222);
  word-break: break-word;
  margin: 0;
}
/* Projet GitHub : titre sur l'image */
.project-img-container {
  position: relative;
  width: 100%;
  display: block;
  background: linear-gradient(90deg, #706d70 0%, #b2eaff 50%, #706d70 100%);
  min-height: 140px;
  border-radius: 16px 16px 0 0;
    overflow: hidden;
}
.project-title-overlay {
  position: absolute;
  top: 0.7em;
  left: 0.9em;
  background: rgba(34, 44, 64, 0.82);
  color: #fff;
  padding: 0.25em 0.8em 0.25em 0.7em;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  box-shadow: 0 2px 8px #0002;
  z-index: 2;
  max-width: 80%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.project-title-overlay h3 {
  margin: 0;
  font-size: 1;
  font-weight: 700;
  color: inherit;
}
:root {
  --bg: #f7f8fa;
  --text: #222;
  --card: #fff;
  --primary: #2b4b7c;
  --accent: #eaf2ff;
  --tag-bg: #23272f;
  --tag-text: #fff;
  --shadow: 0 2px 8px #0001;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  transition: background 0.3s, color 0.3s;
}
body.dark {
  --bg: #181a20;
  --text: #eaf2ff;
  --card: #23272f;
  --primary: #7bbcff;
  --accent: #232b3a;
  --tag-bg: #2b4b7c;
  --tag-text: #eaf2ff;
  --shadow: 0 2px 12px #0008;
}

body.dark header,
body.dark footer {
  background: var(--primary);
  color: #fff;
}
body.dark section {
  background: var(--card);
  color: var(--text);
  box-shadow: var(--shadow);
}
body.dark .project-card {
  background: var(--accent);
  color: var(--text);
  box-shadow: var(--shadow);
}
body.dark .project-title-overlay {
  background: rgba(34, 44, 64, 0.92);
  color: #fff;
}
body.dark .project-actions a {
  background: linear-gradient(90deg, #232b3a 0%, #2b4b7c 100%);
  color: #eaf2ff;
}
body.dark .project-actions a:last-child {
  background: linear-gradient(90deg, #2b4b7c 0%, #232b3a 100%);
}
body.dark .project-actions a:hover {
  background: linear-gradient(90deg, #4e8cff 0%, #7bbcff 100%);
  color: #23272f;
}
body.dark .project-actions a:last-child:hover {
  background: linear-gradient(90deg, #7bbcff 0%, #4e8cff 100%);
}
body.dark .business-card-inner {
  background: #232b3a;
  color: #eaf2ff;
}
body.dark .business-card-inner a {
  color: #7bbcff;
}
body.dark .business-card-inner a:hover {
  color: #232b3a;
}

#theme-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: var(--card);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 100;
}
/* Modern Header */

/* Header minimaliste */
/* Modern Header avec dégradé comme le footer */
.modern-header {
  background: linear-gradient(100deg, #4e8cff 0%, #b2eaff 50%, #f7b2ff 100%);
  color: #fff;
  padding: 2.2rem 1rem 1.2rem 1rem;
  text-align: center;
  border-bottom: none;
  box-shadow: 0 4px 32px #0002;
  border-radius: 0;
}
.modern-header h1 {
  margin: 0;
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 2px 8px #0002;
}
.modern-header p {
  margin: 0.7rem 0 0 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  opacity: 0.92;
  text-shadow: 0 2px 8px #0002;
}
body.dark .modern-header {
  background: linear-gradient(100deg, #232b3a 0%, #2b4b7c 50%, #7bbcff 100%);
  color: #eaf2ff;
}
body.dark .modern-header h1,
body.dark .modern-header p {
  color: #eaf2ff;
  text-shadow: 0 2px 8px #000a;
}
/* === Footer Flow === */
.footer-flow {
  background: linear-gradient(100deg, #4e8cff 0%, #b2eaff 50%, #f7b2ff 100%);
  color: #fff;
  margin-top: 0;
  box-shadow: 0 -4px 32px #0002;
  padding: 1.2rem 1rem 1.7rem 1rem;
  position: relative;
  overflow: hidden;
  border-radius: 0;
}
.footer-flow-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2em;
}
.footer-socials {
  display: flex;
  gap: 2.2em;
  margin-bottom: 0.2em;
}
.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.13);
  border-radius: 50%;
  box-shadow: 0 2px 12px #0002;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  border: 2px solid rgba(255,255,255,0.18);
}
.footer-social-link img {
  width: 2em;
  height: 2em;
  filter: brightness(1.2) drop-shadow(0 2px 8px #0002);
  transition: filter 0.2s;
}
.footer-social-link:hover {
  background: #fff;
  transform: translateY(-4px) scale(1.08) rotate(-6deg);
  box-shadow: 0 6px 24px #0003;
}
.footer-social-link:hover img {
  filter: none;
}
.footer-flow-text {
  font-size: 1.13em;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px #0002;
  text-align: center;
}
@media (max-width: 600px) {
  .footer-flow-inner {
    gap: 0.7em;
  }
  .footer-social-link {
    width: 38px;
    height: 38px;
  }
  .footer-social-link img {
    width: 1.3em;
    height: 1.3em;
  }
  .footer-flow-text {
    font-size: 1em;
  }
}
main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

section {
  background: var(--card);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 2rem;
  margin-bottom: 2.5rem;
}
section:last-of-type {
  margin-bottom: 0;
}
h2 {
  color: var(--primary);
  margin-top: 0;
}
.presentation-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}
.business-card {
  background: var(--accent);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 1.2rem;
  min-width: 220px;
  max-width: 800px;
}
.business-card h3 {
  margin-top: 0;
  color: var(--primary);
}
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7em;
  list-style: none;
  padding: 0;
  margin: 1em 0 0 0;
}
.skills li {
  background: var(--accent);
  color: var(--primary);
  border-radius: 6px;
  padding: 0.4em 1em;
  font-weight: bold;
  font-size: 1em;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
  width: 100%;
}

.project-card {
  background: #23272f;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 16px;
  box-shadow: 0 2px 16px #0004;
  padding: 0;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
}
body:not(.dark) .project-card {
  background: var(--accent);
  color: var(--primary);
  box-shadow: var(--shadow);
}
.project-tags {
  display: flex;
  gap: 0.5em;
  margin-bottom: 0.7em;
  flex-wrap: wrap;
    position: absolute;
    left: 0.9em;
    bottom: 0.7em;
    z-index: 3;
    margin-bottom: 0;
}
.project-tags span {
  background: var(--tag-bg);
  color: var(--tag-text);
  border-radius: 6px;
  padding: 0.2em 0.7em;
  font-size: 0.85em;
  font-weight: 500;
}
body:not(.dark) .project-tags span {
  background: var(--primary);
  color: #fff;
}
.project-desc {
  margin: 0.5em 0 1em 0;
  text-align: center;
}
.project-img {
  width: 100%;
  height: 140px;
  max-width: 100%;
  border-radius: 16px 16px 0 0;
  margin-bottom: 0;
  background: linear-gradient(90deg, #f7b2ff 0%, #b2eaff 100%);
  object-fit: contain;
  object-position: center;
  background: transparent;
  display: block;
}
.project-actions {
  display: flex;
  gap: 0;
  justify-content: stretch;
  width: 100%;
  margin-top: 0;
    border-top: none;
    padding-top: 0;
    border-radius: 0 0 16px 16px;
    position: relative;
    top: 0;
    left: 0;
    z-index: 2;
    margin-bottom: 0;
    background: none;
}
.project-actions a {
  font-size: 1.1em;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  border: none;
  background: linear-gradient(90deg, #eaf2ff 0%, #b2eaff 100%);
  border-radius: 0;
  padding: 0.9em 0;
  box-shadow: 0 1px 8px #0001;
  display: flex;
  align-items: center;
  gap: 0.5em;
  flex: 1 1 0;
  justify-content: center;
  margin: 0;
}
.project-actions a:first-child {
  border-bottom-left-radius: 16px;
}
.project-actions a:last-child {
  border-bottom-right-radius: 16px;
  background: linear-gradient(90deg, #b2eaff 0%, #eaf2ff 100%);
}
.project-actions a:last-child:hover {
  background: linear-gradient(90deg, #2b4b7c 0%, #4e8cff 100%);
}
.project-actions a:hover {
  background: linear-gradient(90deg, #4e8cff 0%, #2b4b7c 100%);
  color: #fff;
  box-shadow: 0 4px 16px #0002;
  transform: none;
}
.cv-cert-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.cv-block, .cert-block {
  flex: 1 1 220px;
  background: var(--accent);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 1.2rem;
}
.cv-block h3, .cert-block h3 {
  margin-top: 0;
  color: var(--primary);
}
.cv-link {
  display: inline-block;
  margin-top: 1em;
  font-size: 1.1em;
  color: var(--primary);
  text-decoration: none;
  font-weight: bold;
}
.cv-link:hover {
  text-decoration: underline;
}
.cert-block ul {
  padding-left: 1em;
}
.cert-block li {
  margin-bottom: 0.7em;
}
footer {
  text-align: center;
  padding: 1rem;
  background: var(--primary);
  color: #fff;
  margin-top: 2rem;
  border-radius: 0 0 12px 12px;
}
.presentation-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}
.presentation-block, .business-card-block {
  background: var(--accent);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.presentation-block h3, .business-card-block h3 {
  margin-top: 0;
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
  list-style: none;
  padding: 0;
  margin: 0;
}
.skills-list li span {
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  padding: 0.4em 1em;
  font-weight: bold;
  font-size: 1em;
  box-shadow: 0 1px 4px #0001;
}
.business-card-inner {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 1rem;
  text-align: center;
}
.business-card-inner p {
  margin: 0.5em 0;
}
.business-card-inner a {
  color: var(--primary);
  text-decoration: none;
  font-weight: bold;
}
.business-card-inner a:hover {
  text-decoration: underline;
}
/* Harmonisation dark mode carte de visite */
body.dark .business-card {
  background: var(--card) !important;
  border: 1.5px solid var(--card) !important;
  box-shadow: 0 4px 32px #0008, 0 1.5px 0 var(--card) !important;
}
body.dark .business-card-bg {
  opacity: 0.50 !important;
  filter: brightness(0.5) grayscale(0.3) !important;
}
.profile-circle {
  width: 170px;
  height: 170px;
  width: 170px;
  height: 170px;
  min-width: 170px;
  min-height: 170px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px #0001;
  position: relative;
  margin: 0 auto;
  aspect-ratio: 1/1;
  overflow: hidden;
  border: 4px solid var(--primary);
  transition: background 0.3s, border 0.3s;
  width: 68px;
@media (max-width: 600px) {
  .profile-circle {
    width: 120px;
    height: 120px;
    min-width: 120px;
    min-height: 120px;
  }
}
  height: 68px;
  border-radius: 50%;
  background: #fff3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.7em;
  overflow: hidden;
  border: 2.5px solid #fff;
  box-shadow: 0 1px 6px #0002;

}
body.dark .profile-sep {
  background: var(--primary) !important;
}
body.dark .profile-contact {
  color: var(--text) !important;
}
body.dark .contact-logo-btn {
  background: var(--primary) !important;
  box-shadow: 0 2px 24px #000a !important;
  border: 1.5px solid var(--primary) !important;
  transition: box-shadow 0.2s, border-color 0.2s, background 0.2s;
}
body.dark .contact-logo-btn:hover {
  background: var(--accent) !important;
  box-shadow: 0 6px 36px #000c !important;
  border-color: var(--accent) !important;
}

body.dark .profile-title {
  font-size: 1.18em;
  font-weight: 800;
  color: #eaf2ff;
  letter-spacing: 0.01em;
}