@charset "UTF-8";
/* ===============================
   style.scss — GLOBAL
================================ */
/* ============================================================
   DEVELLIA - VARIABLES SASS 
============================================================ */
/* ========================================
   COULEURS - LIGHT MODE (par défaut)
======================================== */
/* ========================================
   COULEURS - DARK MODE
======================================== */
/* ========================================
   OVERLAYS & BACKDROPS
======================================== */
/* ========================================
   BORDURES
======================================== */
/* ========================================
   OMBRES (SHADOWS)
======================================== */
/* ========================================
   RADIUS (BORDER RADIUS)
======================================== */
/* ========================================
   SPACING (PADDING & MARGIN)
======================================== */
/* ========================================
   TYPOGRAPHIE
======================================== */
/* ========================================
   BREAKPOINTS (RESPONSIVE)
======================================== */
/* ========================================
   Z-INDEX LAYERS
======================================== */
/* ========================================
   TRANSITIONS
======================================== */
/* ========================================
   ANIMATIONS
======================================== */
/* ========================================
   LAYOUT
======================================== */
/* ========================================
   ACCESSIBILITÉ
======================================== */
/* ========================================
   HELPERS - Maps pour itération
======================================== */
/* ===============================
   style.scss — GLOBAL
================================ */
/* ============================================================
   DEVELLIA - MIXINS SASS (CORRIGÉ & COMPLET)
   Tous les mixins réutilisables du projet
============================================================ */
/* ========================================
   RESPONSIVE - MEDIA QUERIES
======================================== */
/* ========================================
   LAYOUT - CONTAINERS & GRIDS
======================================== */
/* ========================================
   TYPOGRAPHIE
======================================== */
/* ========================================
   BOUTONS - BASE & VARIANTS (REACT STYLE)
======================================== */
/* ========================================
   BADGES & PILLS (REACT STYLE)
======================================== */
@keyframes pulseDot {
  0%, 100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}
/* ========================================
   CARDS & CONTAINERS
======================================== */
/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideInBottom {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInTop {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@keyframes glow {
  from {
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.3);
  }
  to {
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.6);
  }
}
/* ========================================
   LIGNES ANIMÉES (ORANGE FLASH)
======================================== */
/* ========================================
   FORMS
======================================== */
/* ========================================
   ACCESSIBILITÉ
======================================== */
/* ========================================
   UTILITAIRES
======================================== */
/* ========================================
   DARK MODE
======================================== */
/* ========================================
 AJOUTÉ - THEME EXPORT
======================================== */
html {
  font-size: 16px; /* verrouille la base rem */
  text-size-adjust: 100%;
}

body {
  font-size: 1rem;
  line-height: 1.6;
}

/* ==========================
   THEME (runtime vars)
========================== */
:root {
  --bg: #FFFDF9;
  --bg-secondary: #FAF8F3;
  --card: #FFFDF9;
  --muted: #F5F1E8;
  --fg: #2C2416;
  --muted-fg: #8B7E6A;
  --accent: rgb(255, 140, 0);
  --orange-flash: rgb(255, 140, 0);
  --accent-soft: rgba(255, 140, 0, 0.1);
  --accent-border: rgba(255, 140, 0, 0.3);
  --color-accent-foreground: white;
  --orange-flash-rgb: 255, 140, 0;
  --border: rgba(44, 36, 22, 0.12);
  --border-medium: rgba(44, 36, 22, 0.2);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-modal: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --r-xs: 0.25rem;
  --r-sm: 0.5rem;
  --r-md: 0.75rem;
  --r-lg: 1rem;
  --r-xl: 1.5rem;
  --r-2xl: 2rem;
}

html[data-theme=dark] {
  --bg: #050807;
  --bg-secondary: #0F1D2A;
  --card: #0F1D2A;
  --muted: #0F1810;
  --fg: #F5F1E8;
  --muted-fg: #D4D0C8;
  --accent: rgb(255, 140, 0);
  --orange-flash: rgb(255, 140, 0);
  --accent-soft: rgba(255, 140, 0, 0.1);
  --accent-border: rgba(255, 140, 0, 0.3);
  --color-accent-foreground: white;
  --orange-flash-rgb: 255, 140, 0;
  --border: rgba(253, 251, 247, 0.25);
  --border-medium: rgba(253, 251, 247, 0.35);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.4), 0 1px 2px -1px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -2px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -4px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.7), 0 8px 10px -6px rgba(0, 0, 0, 0.7);
  --shadow-modal: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --r-xs: 0.25rem;
  --r-sm: 0.5rem;
  --r-md: 0.75rem;
  --r-lg: 1rem;
  --r-xl: 1.5rem;
  --r-2xl: 2rem;
}

/* ==========================
   BASE RESET
========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ================================
   FIX LAYOUT
================================ */
body {
  background: #FFFDF9;
  margin: 0;
  padding: 0;
}
html[data-theme=dark] body {
  background: #0a1220;
}

.about-brief,
.about-values,
.about-journey,
.about-softskills,
.about-skills,
.about-hobbies,
.about-stats,
.page-contact {
  background: transparent !important;
}

.app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.dev-shell {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.dev-main,
main {
  flex: 1 0 auto;
}

.site-footer {
  position: sticky;
  bottom: 0;
  z-index: 40;
  flex-shrink: 0;
  border-top: 1px solid rgba(26, 47, 66, 0.1);
}
html[data-theme=dark] .site-footer {
  background: #0a1220;
  border-top-color: rgba(255, 255, 255, 0.1);
}

/* ================================
   DESKTOP LOCK
   Même rendu à partir de lg (peu importe 1920/2560/4K)
================================ */
@media (min-width: 1024px) {
  /* 1) On fixe le "gabarit" desktop */
  .app {
    max-width: 1440px;
    margin: 0 auto;
  }
  /* 2) On évite que des éléments full-width débordent */
  .dev-shell,
  .dev-main,
  main {
    width: 100%;
  }
}
.landing {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 0;
  min-height: calc(100vh - 200px);
}

/* Typo reset minimal */
h1, h2, h3, h4, p {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

/* Utilities */
.hidden {
  display: none !important;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================
   SPA PAGES (si tu utilises .dev-page)
========================== */
.dev-page {
  display: none !important;
}

.dev-page.is-active {
  display: block !important;
}

/* ==========================
   GLOBAL UI (Buttons / Pills)
========================== */
/* Button classes compatibles avec ton HTML */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  min-height: 2.75rem;
  min-width: 120px;
}
@media (min-width: 768px) {
  .btn {
    min-width: 180px;
  }
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Classes de boutons principales */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  min-height: 2.75rem;
  min-width: 120px;
}
@media (min-width: 768px) {
  .btn-primary {
    min-width: 180px;
  }
}
.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn-primary {
  background: #1A2F42;
  color: white;
}
.btn-primary:hover:not(:disabled) {
  background: #1A2F42;
  border: 0.5px solid rgb(255, 140, 0);
}
.btn-primary:active:not(:disabled) {
  transform: translateY(1px);
}

.btn-ivory {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  min-height: 2.75rem;
  min-width: 120px;
}
@media (min-width: 768px) {
  .btn-ivory {
    min-width: 180px;
  }
}
.btn-ivory:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-ivory:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn-ivory {
  background: #F5F1E8;
  color: #1A2F42;
  border: 0.5px solid rgb(255, 140, 0);
}
.btn-ivory:hover:not(:disabled) {
  background: #1A2F42;
  color: #FAF8F3;
  border-color: 0.5px solid rgb(255, 140, 0);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  min-height: 2.75rem;
  min-width: 120px;
}
@media (min-width: 768px) {
  .btn-outline {
    min-width: 180px;
  }
}
.btn-outline:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-outline:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 2px solid var(--border);
}
.btn-outline:hover:not(:disabled) {
  background: var(--muted);
  border-color: var(--accent);
}

/* Bouton avec effet orange ring */
.btn-orange-ring:hover:not(:disabled) {
  box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.3);
}

/* Pills / badges */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.pill-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s ease;
  background: rgba(26, 47, 66, 0.1);
  color: #1A2F42;
  border: 1px solid rgba(26, 47, 66, 0.3);
}
.pill-primary:hover {
  background: rgba(26, 47, 66, 0.15);
  border-color: rgba(26, 47, 66, 0.5);
}

.pill-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s ease;
  background: rgba(255, 140, 0, 0.1);
  color: rgb(255, 140, 0);
  border: 1px solid rgba(255, 140, 0, 0.3);
}
.pill-accent:hover {
  background: rgba(255, 140, 0, 0.15);
  border-color: rgba(255, 140, 0, 0.45);
}

.pill-solid {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s ease;
  background: #1A2F42;
  color: white;
}
.pill-solid:hover {
  background: #0F1D2A;
  box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.3);
}

.pill-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s ease;
  background: rgba(26, 47, 66, 0.1);
  backdrop-filter: blur(4px);
  color: #1A2F42;
}
html[data-theme=dark] .pill-status {
  background: rgba(145, 168, 186, 0.1);
  color: #91A8BA;
}

/* Pill avec dot (pour badges "disponible", "urgent", etc.) */
.pill-with-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.pill-with-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(255, 140, 0);
  animation: pulseDot 1.4s infinite;
}

/* Variantes de taille pour les boutons */
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  min-height: 2.25rem;
  min-width: 100px;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  min-height: 3.25rem;
  min-width: 200px;
}

/* Variantes de taille pour les pills */
.pill-sm {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  gap: 0.25rem;
}

.pill-lg {
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  gap: 0.625rem;
}

/* Icônes dans les boutons */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-icon svg, .btn-icon i {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* Pills interactives (cliquables) */
.pill-interactive {
  cursor: pointer;
  user-select: none;
}
.pill-interactive:active {
  transform: translateY(1px);
}

/* Animation du dot pour pill-with-dot */
@keyframes pulseDot {
  0%, 100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}
/* ==========================
   SCROLL ANIMATIONS (React-like)
========================== */
@keyframes scroll-right {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes scroll-left {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}
.animate-scroll-right {
  animation: scroll-right 30s linear infinite;
}
.animate-scroll-right:hover {
  animation-play-state: paused;
}

.animate-scroll-left {
  animation: scroll-left 30s linear infinite;
}
.animate-scroll-left:hover {
  animation-play-state: paused;
}

/* ==========================
   HEADER
========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  margin-top: 0;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(26, 47, 66, 0.1);
}

.site-header__container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 70px;
  background: #FFFDF9;
  padding: 0 2rem;
  gap: 5rem;
}
html[data-theme=dark] .site-header__inner {
  background: #0a1220;
}
@media (min-width: 1024px) {
  .site-header__inner {
    height: 80px;
    padding: 0 3rem;
    gap: 8rem;
    background: #FFFDF9;
  }
  html[data-theme=dark] .site-header__inner {
    background: #0a1220;
  }
}

/* ========================================
   1. NAVIGATION - COLONNE GAUCHE
======================================== */
.site-header__nav {
  display: none;
}
@media (min-width: 1024px) {
  .site-header__nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
    padding-right: 2rem;
  }
}

.site-header__link {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1A2F42;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
  padding: 0.75rem 1.25rem;
  border-radius: 1rem;
  white-space: nowrap;
}
html[data-theme=dark] .site-header__link {
  color: #FFFDF9;
}
.site-header__link:hover {
  color: var(--accent);
}
.site-header__link:focus-visible {
  outline: 2px solid #91A8BA;
  outline-offset: 2px;
  border-radius: 0.5rem;
}

/* ========================================
   2. BRAND - COLONNE CENTRE
======================================== */
.site-header__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  border-radius: 1rem;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #1A2F42;
  transition: color 0.2s ease-in-out;
  white-space: nowrap;
}
html[data-theme=dark] .site-header__brand {
  color: #FFFDF9;
}
.site-header__brand:focus-visible {
  outline: 2px solid #91A8BA;
  outline-offset: 2px;
  border-radius: 0.5rem;
}
@media (min-width: 1024px) {
  .site-header__brand {
    font-size: 1.125rem;
  }
}

.site-header__brand-name {
  transition: color 0.2s ease-in-out;
  font-family: "Mr De Haviland", cursive;
  font-size: 50px;
  font-weight: 400;
  margin: 10px;
  transform: translateY(-5px);
  color: var(--accent);
}

.site-header__brand:hover .site-header__brand-name {
  color: var(--accent);
  opacity: 0.8;
}

/* ========================================
   3. ACTIONS - COLONNE DROITE
======================================== */
.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding-left: 2rem;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) {
  .site-header__actions {
    gap: 1rem;
  }
}

.icon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 54px;
  min-height: 54px;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 1.5rem;
  background: transparent;
  color: #1A2F42;
  cursor: pointer;
  transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}
html[data-theme=dark] .icon-pill {
  color: #FFFDF9;
}
.icon-pill:hover {
  color: var(--accent);
  transform: scale(1.05);
}
.icon-pill:active {
  transform: scale(0.98);
}
.icon-pill:focus-visible {
  outline: 2px solid #91A8BA;
  outline-offset: 2px;
  border-radius: 0.5rem;
}

.icon-pill__label {
  font-size: 1rem;
  font-weight: 700;
}

.theme-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  color: var(--accent);
}

.icon svg {
  width: 20px;
  height: 20px;
}

/* Menu mobile button */
.site-header__menu-btn {
  display: inline-flex;
}
@media (min-width: 1024px) {
  .site-header__menu-btn {
    display: none;
  }
}

/* ========================================
   RESPONSIVE MOBILE
======================================== */
@media (max-width: 1023px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
    justify-items: center;
  }
  .site-header__brand {
    grid-column: 1;
    justify-self: start;
  }
  .site-header__actions {
    grid-column: 2;
    justify-self: end;
    padding-left: 0;
  }
}
/* ========================================
   MOBILE MENU
======================================== */
.mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
}
.mobile-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-panel {
  position: fixed;
  top: 80px;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 320px;
  z-index: 41;
  background: var(--card);
  border-left: 1px solid var(--border);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-panel.is-open {
  transform: translateX(0);
}

@media (min-width: 640px) {
  .mobile-panel {
    width: 320px;
  }
}
@media (min-width: 1024px) {
  .mobile-backdrop,
  .mobile-panel {
    display: none !important;
  }
}
.mobile-panel__nav {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 0.5rem;
}

.mobile-panel__link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1A2F42;
}
html[data-theme=dark] .mobile-panel__link {
  color: #FFFDF9;
}
.mobile-panel__link {
  background: transparent;
  transition: all 0.2s ease-in-out;
  opacity: 0;
  transform: translateX(20px);
}
.mobile-panel.is-open .mobile-panel__link {
  opacity: 1;
  transform: translateX(0);
}
.mobile-panel__link:hover {
  background: var(--muted);
  color: var(--accent);
}
.mobile-panel__link:focus-visible {
  outline: 2px solid #91A8BA;
  outline-offset: 2px;
  border-radius: 0.5rem;
}

.mobile-panel.is-open .mobile-panel__link:nth-child(1) {
  transition-delay: 0.05s;
}

.mobile-panel.is-open .mobile-panel__link:nth-child(2) {
  transition-delay: 0.1s;
}

/* ==========================
   LANDING
========================== */
.landing {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 640px) {
  .landing {
    padding: 0 24px;
  }
}
@media (min-width: 1024px) {
  .landing {
    padding: 0 32px;
  }
}

/* top-right controls */
.landing-controls {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 20;
}

.icon-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.icon-control:hover {
  background: color-mix(in srgb, var(--muted) 65%, transparent);
}
.icon-control:active {
  transform: translateY(1px);
}
.icon-control:focus-visible {
  border-color: var(--accent-border);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.lang-label {
  font-size: 14px;
  font-weight: 800;
  opacity: 0.9;
}

.landing-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.3;
  z-index: 0;
}

.landing-blob {
  position: absolute;
  width: 384px;
  height: 384px;
  border-radius: 999px;
  filter: blur(60px);
  background: var(--accent-soft);
}

.landing-blob--left {
  top: 25%;
  left: -128px;
}

.landing-blob--right {
  bottom: 25%;
  right: -128px;
}

.landing-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 896px;
  margin: 0 auto;
}

.landing-title {
  margin-bottom: 0;
}
.landing-title span:first-child {
  display: block;
  font-family: "Mr De Haviland", cursive;
  font-weight: 400;
  font-size: 2em;
  letter-spacing: 0.02em;
  color: #2A4458;
  margin-bottom: 0;
  line-height: 1;
}
@media (min-width: 768px) {
  .landing-title span:first-child {
    font-size: 2em;
  }
}
@media (min-width: 1024px) {
  .landing-title span:first-child {
    font-size: 3em;
  }
}
.landing-title .accent {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.45em;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: -8px;
}
@media (min-width: 768px) {
  .landing-title .accent {
    font-size: 0.45em;
    margin-top: -10px;
  }
}
@media (min-width: 1024px) {
  .landing-title .accent {
    font-size: 0.5em;
    margin-top: -12px;
  }
}

.landing-subtitle {
  margin: 32px auto 40px;
  max-width: 768px;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  color: var(--muted-fg);
  opacity: 1 !important;
  transform: none !important;
}
@media (min-width: 640px) {
  .landing-subtitle {
    font-size: 1.125rem;
    margin: 36px auto 44px;
  }
}
@media (min-width: 768px) {
  .landing-subtitle {
    font-size: 1.125rem;
    margin: 40px auto 48px;
  }
}

.subtitle-line {
  display: block;
}

/* CTA (landing) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  min-height: 2.75rem;
  min-width: 120px;
}
@media (min-width: 768px) {
  .btn-primary {
    min-width: 180px;
  }
}
.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn-primary {
  background: #1A2F42;
  color: white;
}
.btn-primary:hover:not(:disabled) {
  background: #1A2F42;
  border: 0.5px solid rgb(255, 140, 0);
}
.btn-primary:active:not(:disabled) {
  transform: translateY(1px);
}
.btn-primary {
  padding: 14px 22px;
  box-shadow: none;
}
.btn-primary:hover {
  box-shadow: 0 0 0 3px var(--accent-soft);
  filter: brightness(0.98);
}
.btn-primary:focus-visible {
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.btn-icon {
  display: inline-flex;
}

/* Entrance animations */
.js-anim-in {
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeDown 0.6s ease forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fadeDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.js-anim-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ==========================
   LANDING MODAL (si utilisé)
========================== */
.modal-root {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.modal-root.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
}

.modal-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 80;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 672px;
  background: color-mix(in srgb, var(--bg) 95%, transparent);
  backdrop-filter: blur(18px);
  border: 2px solid rgba(var(--orange-flash-rgb), 0.2);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-modal);
  overflow: hidden;
  transform: translateY(20px) scale(0.92);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  padding: 32px;
}
@media (min-width: 768px) {
  .modal-card {
    padding: 40px;
  }
}

.modal-root.is-open .modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.06);
  color: var(--muted-fg);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.modal-close:hover {
  background: var(--muted);
  color: var(--fg);
}
.modal-close:focus-visible {
  outline: 2px solid #91A8BA;
  outline-offset: 2px;
  border-radius: 0.5rem;
}
@media (prefers-color-scheme: dark) {
  .modal-close {
    background: rgba(255, 255, 255, 0.08);
  }
}
html[data-theme=dark] .modal-close {
  background: rgba(255, 255, 255, 0.08);
}

/* ==========================
   MODAL STAGE -
========================== */
.modal-card--stage {
  position: relative;
  max-width: 640px;
  background: #FAF8F3;
  backdrop-filter: blur(20px);
  border: 2px solid rgba(var(--orange-flash-rgb), 0.2);
  border-radius: var(--r-3xl);
  padding: 2.5rem 2rem;
  overflow: hidden;
}
@media (min-width: 768px) {
  .modal-card--stage {
    padding: 3rem 2.5rem;
  }
}

.modal-card--stage > *:not(.modal-glow):not(.modal-close) {
  position: relative;
  z-index: 1;
}

.modal-card--stage .modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--muted);
  border: none;
  color: var(--muted-fg);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}
.modal-card--stage .modal-close:hover {
  background: var(--muted);
  color: var(--fg);
  transform: scale(1.05);
}
.modal-card--stage .modal-close:focus-visible {
  outline: 2px solid #91A8BA;
  outline-offset: 2px;
  border-radius: 0.5rem;
}
.modal-card--stage .modal-close i {
  font-size: 18px;
}

.modal-stage-icon-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.modal-stage-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #2A4458;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.modal-stage-icon i {
  font-size: 40px;
  color: white;
}

.modal-stage-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(var(--orange-flash-rgb), 1);
  animation: stagePulse 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes stagePulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
}
.modal-stage-title {
  font-size: 1.125rem;
  text-align: center;
  color: #2A4458;
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) {
  .modal-stage-title {
    font-size: 1.125rem;
  }
}

.modal-stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(26, 47, 66, 0.1);
  border: 1px solid var(--orange-flash-rgb);
  border-radius: 9999px;
  color: #2A4458;
  font-size: 0.75rem;
  font-weight: 600;
  margin: 0 auto 1.5rem;
  width: fit-content;
  display: flex;
  justify-content: center;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

@keyframes badgePulse {
  0%, 100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}
.modal-stage-description {
  text-align: center;
  color: var(--muted-fg);
  line-height: 1.625;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.modal-stage-details {
  background: rgba(232, 237, 242, 0.3);
  border: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
  border-radius: var(--r-2xl);
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stage-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.detail-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(42, 68, 88, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.detail-icon i {
  font-size: 16px;
  color: var(--accent);
}

.detail-content {
  flex: 1;
}

.detail-label {
  font-size: 0.875rem;
  color: var(--muted-fg);
  margin-bottom: 2px;
}

.detail-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin: 0;
}

.modal-stage-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) {
  .modal-stage-actions {
    flex-direction: row;
  }
}

.stage-btn-continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  min-height: 2.75rem;
  min-width: 120px;
}
@media (min-width: 768px) {
  .stage-btn-continue {
    min-width: 180px;
  }
}
.stage-btn-continue:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.stage-btn-continue:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.stage-btn-continue {
  background: #F5F1E8;
  color: #1A2F42;
  border: 0.5px solid rgb(255, 140, 0);
}
.stage-btn-continue:hover:not(:disabled) {
  background: #1A2F42;
  color: #FAF8F3;
  border-color: 0.5px solid rgb(255, 140, 0);
}
.stage-btn-continue {
  flex: 1;
  border: 2px solid #2A4458;
  color: #2A4458;
  font-weight: 600;
  transition: all 0.3s ease;
}
.stage-btn-continue:hover:not(:disabled) {
  background: #2A4458;
  border-color: rgb(255, 140, 0);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 47, 66, 0.2);
}

.stage-btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  min-height: 2.75rem;
  min-width: 120px;
}
@media (min-width: 768px) {
  .stage-btn-contact {
    min-width: 180px;
  }
}
.stage-btn-contact:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.stage-btn-contact:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.stage-btn-contact {
  background: #1A2F42;
  color: white;
}
.stage-btn-contact:hover:not(:disabled) {
  background: #1A2F42;
  border: 0.5px solid rgb(255, 140, 0);
}
.stage-btn-contact:active:not(:disabled) {
  transform: translateY(1px);
}
.stage-btn-contact {
  background: #2A4458;
  border: 2px solid #2A4458;
  color: white;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}
.stage-btn-contact i {
  font-size: 16px;
  color: rgb(255, 140, 0);
  transition: transform 0.3s ease;
}
.stage-btn-contact:hover:not(:disabled) {
  background: #F5F1E8;
  border-color: rgb(255, 140, 0);
  color: #2A4458;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 140, 0, 0.3);
}
.stage-btn-contact:hover:not(:disabled) i {
  color: rgb(255, 140, 0);
  transform: scale(1.15);
}

/* ==========================
   MODAL STAGE - DARK MODE AMÉLIORÉ
========================== */
html[data-theme=dark] .modal-card--stage {
  background: #0a1220;
  backdrop-filter: blur(24px);
  border-color: rgba(255, 140, 0, 0.3);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
html[data-theme=dark] .modal-card--stage .modal-close {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}
html[data-theme=dark] .modal-card--stage .modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}
html[data-theme=dark] .modal-stage-icon {
  background: #91A8BA;
  box-shadow: 0 8px 24px rgba(255, 140, 0, 0.4);
}
html[data-theme=dark] .modal-stage-icon i {
  color: #1A2F42;
}
html[data-theme=dark] .modal-stage-pulse {
  border-color: rgba(255, 140, 0, 0.6);
}
html[data-theme=dark] .modal-stage-title {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
html[data-theme=dark] .modal-stage-badge {
  background: #91A8BA;
  border-color: rgba(255, 140, 0, 0.3);
  color: #1A2F42;
}
html[data-theme=dark] .badge-dot {
  background: rgb(255, 140, 0);
}
html[data-theme=dark] .modal-stage-description {
  color: rgba(255, 255, 255, 0.7);
}
html[data-theme=dark] .modal-stage-details {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}
html[data-theme=dark] .detail-icon {
  background: rgba(255, 140, 0, 0.15);
}
html[data-theme=dark] .detail-label {
  color: rgba(255, 255, 255, 0.5);
}
html[data-theme=dark] .detail-value {
  color: rgba(255, 255, 255, 0.9);
}
html[data-theme=dark] .stage-btn-continue {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}
html[data-theme=dark] .stage-btn-continue:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgb(255, 140, 0);
  color: white;
  box-shadow: 0 0 8px rgba(255, 140, 0, 0.2);
}
html[data-theme=dark] .stage-btn-contact {
  background: #1A2F42;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  transition: all 0.3s ease;
}
html[data-theme=dark] .stage-btn-contact i {
  color: rgb(255, 140, 0);
}
html[data-theme=dark] .stage-btn-contact:hover:not(:disabled) {
  background: #0a1220;
  border-color: rgb(255, 140, 0);
  box-shadow: 0 0 12px rgba(255, 140, 0, 0.4);
  transform: translateY(-2px);
}
html[data-theme=dark] .stage-btn-contact:hover:not(:disabled) i {
  transform: scale(1.1);
}

/* ================================
   BANDEAU DE COOKIES
================================ */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  background: #FFFDF9;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  max-width: 680px;
  width: calc(100% - 2.5rem);
  z-index: 50;
  animation: slideUp 0.3s cubic-bezier(0, 0, 0.2, 1);
  border: 1px solid rgba(44, 36, 22, 0.12);
}
.site-shell:not([hidden]) ~ * .cookie-banner, [data-shell]:not([hidden]) .cookie-banner {
  display: none;
}
@media (max-width: 639px) {
  .cookie-banner {
    padding: 1.5rem;
    bottom: 0.75rem;
    width: calc(100% - 1.25rem);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
.cookie-banner.hidden {
  display: none;
}

.cookie-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 140, 0, 0.1);
  border-radius: 9999px;
}
.cookie-icon svg {
  width: 28px;
  height: 28px;
  fill: rgb(255, 140, 0);
}

.cookie-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1A1510;
  text-align: center;
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
}

.cookie-description {
  font-size: 0.875rem;
  line-height: 1.625;
  color: #8B7E6A;
  text-align: center;
  margin-bottom: 1.5rem;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
}
.cookie-btn:hover {
  transform: translateY(-1px);
}
.cookie-btn:active {
  transform: translateY(0);
}
.cookie-btn:focus-visible {
  outline: 2px solid #91A8BA;
  outline-offset: 2px;
  border-radius: 0.5rem;
}

.cookie-btn-customize {
  background: transparent;
  color: #2C2416;
  border: 1px solid rgba(44, 36, 22, 0.2);
}
.cookie-btn-customize:hover {
  background: rgba(44, 36, 22, 0.05);
  border-color: rgba(44, 36, 22, 0.3);
}

.cookie-btn-refuse {
  background: transparent;
  color: #2C2416;
  border: 1px solid rgba(44, 36, 22, 0.2);
}
.cookie-btn-refuse:hover {
  background: rgba(44, 36, 22, 0.05);
  border-color: rgba(44, 36, 22, 0.3);
}

.cookie-btn-accept {
  background: #1A2F42;
  color: #F5F1E8;
  border: none;
}
.cookie-btn-accept:hover {
  background: #0a1220;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

/* ========================================
   DARK MODE - COOKIES
======================================== */
html[data-theme=dark] .cookie-banner {
  background: #0F1D2A;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -4px rgba(0, 0, 0, 0.6);
  border-color: rgba(253, 251, 247, 0.25);
}
html[data-theme=dark] .cookie-title {
  color: #FDFBF7;
}
html[data-theme=dark] .cookie-description {
  color: #D4D0C8;
}
html[data-theme=dark] .cookie-icon {
  background-color: rgba(var(--orange-flash-rgb), 0.15);
}
html[data-theme=dark] .cookie-btn-customize,
html[data-theme=dark] .cookie-btn-refuse {
  color: #F5F1E8;
  border-color: rgba(253, 251, 247, 0.35);
}
html[data-theme=dark] .cookie-btn-customize:hover,
html[data-theme=dark] .cookie-btn-refuse:hover {
  background: rgba(253, 251, 247, 0.05);
  border-color: rgba(253, 251, 247, 0.45);
}
html[data-theme=dark] .cookie-btn-accept {
  background: #91A8BA;
  color: #050807;
}
html[data-theme=dark] .cookie-btn-accept:hover {
  background: #91A8BA;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 639px) {
  .cookie-buttons {
    flex-direction: column;
  }
  .cookie-btn {
    width: 100%;
  }
}
/* ================================
   PAGE À PROPOS
================================ */
.page-about {
  color: var(--fg);
}

.about-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 768px) {
  .about-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .about-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.about-container.center {
  text-align: center;
}

.about-hero {
  padding: 2.5rem 1rem;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
@media (min-width: 768px) {
  .about-hero {
    padding: 2.5rem 1.5rem;
  }
}
@media (min-width: 1024px) {
  .about-hero {
    padding: 2.5rem 2rem;
  }
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) {
  .about-hero-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
  }
}

.about-hero-content {
  text-align: center;
}
@media (min-width: 1024px) {
  .about-hero-content {
    text-align: left;
    padding-right: 2rem;
  }
}

.about-hero-photo {
  display: flex;
  justify-content: center;
}
@media (min-width: 1024px) {
  .about-hero-photo {
    justify-content: flex-end;
  }
}

.about-photo {
  position: relative;
  width: 280px;
  height: 340px;
  animation: fadeInScale 0.8s ease-out;
}
@media (min-width: 768px) {
  .about-photo {
    width: 320px;
    height: 400px;
  }
}
@media (min-width: 1024px) {
  .about-photo {
    width: 400px;
    height: 500px;
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.about-photo__border {
  position: absolute;
  inset: -8px;
  border: 2px solid var(--accent);
  border-radius: 2rem;
  opacity: 0.3;
  transition: opacity 0.4s ease, inset 0.4s ease;
}
.about-photo:hover .about-photo__border {
  opacity: 0.6;
  inset: -12px;
}

.about-photo__frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(var(--orange-flash-rgb), 0.1);
  transition: box-shadow 0.4s ease;
}
.about-photo:hover .about-photo__frame {
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(var(--orange-flash-rgb), 0.3);
}

.about-photo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-photo:hover .about-photo__img {
  transform: scale(1.08);
}

.about-photo__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.about-photo:hover .about-photo__overlay {
  opacity: 0.7;
}

.about-photo__corner--tl,
.about-photo__corner--br {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 3px solid var(--accent);
  transition: all 0.4s ease;
}
@media (min-width: 768px) {
  .about-photo__corner--tl,
  .about-photo__corner--br {
    width: 50px;
    height: 50px;
  }
}

.about-photo__corner--tl {
  top: -15px;
  left: -15px;
  border-right: none;
  border-bottom: none;
  border-radius: 8px 0 0 0;
}
.about-photo:hover .about-photo__corner--tl {
  top: -20px;
  left: -20px;
}

.about-photo__corner--br {
  bottom: -15px;
  right: -15px;
  border-left: none;
  border-top: none;
  border-radius: 0 0 8px 0;
}
.about-photo:hover .about-photo__corner--br {
  bottom: -20px;
  right: -20px;
}

.about-photo__square {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 60px;
  height: 60px;
  border-radius: 1rem;
  opacity: 0.15;
  z-index: -1;
  transition: all 0.4s ease;
}
@media (min-width: 768px) {
  .about-photo__square {
    width: 80px;
    height: 80px;
    bottom: -25px;
    left: -25px;
  }
}
.about-photo:hover .about-photo__square {
  transform: rotate(10deg) scale(1.1);
  opacity: 0.25;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: #2A4458;
  border: 1px solid rgba(255, 140, 0, 0.3);
  border-radius: 9999px;
  color: #F5F1E8;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}
.about-badge:hover {
  border-color: rgba(255, 140, 0, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.2);
}
.about-badge span:first-child {
  font-size: 1rem;
}

.about-badge__dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(var(--orange-flash-rgb), 0.6);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 8px rgba(var(--orange-flash-rgb), 0.6);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
    box-shadow: 0 0 12px rgba(var(--orange-flash-rgb), 0.8);
  }
}
.about-title {
  font-family: "Mr De Haviland", cursive;
  font-size: 2.25rem;
  font-weight: 400;
  color: #1A2F42;
  margin-bottom: 0.75rem;
  margin-left: 20px;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
@media (min-width: 768px) {
  .about-title {
    font-size: 3rem;
    margin-left: 28px;
  }
}
@media (min-width: 1024px) {
  .about-title {
    font-size: 3.75rem;
    margin-left: 36px;
  }
}

.about-role {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 0;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
@media (min-width: 768px) {
  .about-role {
    font-size: 1.5rem;
  }
}

.about-intro {
  font-size: 1.25rem;
  line-height: 1.625;
  color: var(--muted-fg);
  max-width: 540px;
  text-align: left;
}
@media (min-width: 1024px) {
  .about-intro {
    margin: 0;
    font-size: 1.25rem;
    max-width: 600px;
    line-height: 1.8;
  }
}
.about-intro::first-letter {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--accent);
  float: left;
  line-height: 1;
  margin-right: 4px;
}

.about-stats {
  padding: 4rem 1rem;
}
@media (min-width: 768px) {
  .about-stats {
    padding: 5rem 1.5rem;
  }
}

.stats-grid {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 768px) {
  .stats-grid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .stats-grid {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}

.stat {
  text-align: center;
  padding: 1.5rem;
  transition: all 0.2s ease-in-out;
}
.stat:hover {
  transform: translateY(-2px);
}

.stat-value {
  font-size: 4%;
  font-weight: 700;
  color: #2A4458;
  margin-bottom: 0.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
}
@media (min-width: 768px) {
  .stat-value {
    font-size: 5rem;
  }
}
.stat-value--infinity {
  font-size: 5rem;
  color: var(--accent);
  line-height: 0.6;
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) {
  .stat-value--infinity {
    font-size: 6rem;
    line-height: 0.5;
    margin-bottom: 1rem;
  }
}

.stat-label {
  font-size: 1rem;
  color: var(--muted-fg);
  font-weight: 500;
  margin-top: 0;
}
@media (min-width: 768px) {
  .stat-label {
    font-size: 1.25rem;
  }
}

/* ==========================
   SECTION — EN BREF (Scanner ribbon)
========================== */
.about-brief {
  position: relative;
  padding: 6rem 0;
  background: var(--bg);
  overflow: hidden;
}
@media (min-width: 768px) {
  .about-brief {
    padding: 8rem 0;
  }
}

.brief-header {
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .brief-header {
    margin-bottom: 2rem;
  }
}

.brief-header .section-title {
  margin-bottom: 10px;
  font-size: 1.875rem;
}
.brief-header .section-subtitle {
  margin-top: 0;
  font-size: 1.125rem;
}
@media (min-width: 768px) {
  .brief-header .section-title {
    margin-bottom: 14px;
  }
}

.brief-label {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(255, 140, 0);
  margin: 0 0 0.75rem;
}

.brief-wrapper {
  position: relative;
}

.brief-ribbon {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent 0%, rgba(var(--orange-flash-rgb), 0.4) 5%, rgba(var(--orange-flash-rgb), 0.6) 50%, rgba(var(--orange-flash-rgb), 0.4) 95%, transparent 100%);
  transform: translateY(-50%);
  z-index: 0;
}

.brief-track {
  position: relative;
  display: grid;
  gap: 1.5rem;
  z-index: 1;
}
@media (max-width: 767px) {
  .brief-track {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .brief-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 720px;
    margin: 0 auto;
  }
}
@media (min-width: 1024px) {
  .brief-track {
    display: block;
    max-width: 1500px;
    margin: 0 auto;
    height: 650px;
    position: relative;
  }
}

.brief-item {
  position: relative;
  padding: 1.5rem;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 2rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}
@media (max-width: 1023px) {
  .brief-item::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 1.5rem;
    right: 1.5rem;
    height: 2px;
    background: var(--border);
    transition: all 0.3s ease;
  }
}
@media (min-width: 1024px) {
  .brief-item {
    position: absolute;
    width: 280px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
  }
  .brief-item:nth-child(1) {
    left: 0%;
    top: 50px;
  }
  .brief-item:nth-child(3) {
    left: 26%;
    top: 50px;
  }
  .brief-item:nth-child(5) {
    left: 52%;
    top: 50px;
  }
  .brief-item:nth-child(7) {
    left: 78%;
    top: 50px;
  }
  .brief-item:nth-child(2) {
    left: 13%;
    bottom: 50px;
  }
  .brief-item:nth-child(4) {
    left: 39%;
    bottom: 50px;
  }
  .brief-item:nth-child(6) {
    left: 65%;
    bottom: 50px;
  }
  .brief-item::before {
    content: "";
    position: absolute;
    left: 50%;
    width: 2px;
    background: var(--border);
    transform: translateX(-50%);
    transition: all 0.3s ease;
  }
  .brief-item:nth-child(1)::before, .brief-item:nth-child(3)::before, .brief-item:nth-child(5)::before, .brief-item:nth-child(7)::before {
    top: 100%;
    height: 58px;
  }
  .brief-item:nth-child(2)::before, .brief-item:nth-child(4)::before, .brief-item:nth-child(6)::before {
    bottom: 100%;
    height: 58px;
  }
}
.brief-item:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgb(255, 140, 0);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(var(--orange-flash-rgb), 0.2);
  z-index: 10;
}
@media (max-width: 1023px) {
  .brief-item:hover {
    transform: translateY(-4px);
  }
  .brief-item:hover::after {
    background: rgb(255, 140, 0);
  }
}
@media (min-width: 1024px) {
  .brief-item:hover::before {
    background: rgb(255, 140, 0);
    width: 3px;
  }
}
.brief-item:hover .brief-item-number {
  color: rgb(255, 140, 0);
  transform: scale(1.1);
}
.brief-item:focus-visible {
  outline: 3px solid rgb(255, 140, 0);
  outline-offset: 4px;
}

.brief-item-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.brief-item-number {
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #2A4458;
  letter-spacing: 0.05em;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brief-item-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg);
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.brief-item-text {
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--muted-fg);
  margin: 0;
}

.brief-item {
  opacity: 0;
}
.brief-item.is-visible {
  opacity: 1;
  animation: briefReveal 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes briefReveal {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.brief-item:nth-child(1).is-visible {
  animation-delay: 0.1s;
}

.brief-item:nth-child(2).is-visible {
  animation-delay: 0.2s;
}

.brief-item:nth-child(3).is-visible {
  animation-delay: 0.3s;
}

.brief-item:nth-child(4).is-visible {
  animation-delay: 0.4s;
}

.brief-item:nth-child(5).is-visible {
  animation-delay: 0.5s;
}

.brief-item:nth-child(6).is-visible {
  animation-delay: 0.6s;
}

.brief-item:nth-child(7).is-visible {
  animation-delay: 0.7s;
}

/* ========================================
   DARK MODE
======================================== */
html[data-theme=dark] .brief-ribbon {
  background: linear-gradient(to right, transparent 0%, rgba(var(--orange-flash-rgb), 0.5) 5%, rgba(var(--orange-flash-rgb), 0.7) 50%, rgba(var(--orange-flash-rgb), 0.5) 95%, transparent 100%);
}
html[data-theme=dark] .brief-item {
  background: #0F1D2A;
  border-color: rgba(253, 251, 247, 0.25);
}
html[data-theme=dark] .brief-item::before {
  background: rgba(253, 251, 247, 0.25);
}
@media (max-width: 1023px) {
  html[data-theme=dark] .brief-item::after {
    background: rgba(253, 251, 247, 0.25);
  }
}
html[data-theme=dark] .brief-item:hover {
  border-color: rgb(255, 140, 0);
}
html[data-theme=dark] .brief-item:hover::before {
  background: rgb(255, 140, 0);
}
@media (max-width: 1023px) {
  html[data-theme=dark] .brief-item:hover::after {
    background: rgb(255, 140, 0);
  }
}
html[data-theme=dark] .brief-item-title {
  color: #91A8BA;
}
html[data-theme=dark] .brief-item-text {
  color: #868788;
}

.about-journey {
  padding: 5rem 1rem;
  background: rgba(var(--orange-flash-rgb), 0.05);
}
@media (min-width: 768px) {
  .about-journey {
    padding: 8rem 1.5rem;
  }
}
.about-journey .journey-label {
  display: block;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(255, 140, 0);
  margin: 0 0 0.75rem;
}
.about-journey .section-title {
  font-size: 1.875rem;
  text-align: center;
  padding: 10px;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  text-align: center;
  padding: 10px;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.125rem;
}

.journey-timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  margin-top: 4rem;
}
@media (min-width: 768px) {
  .journey-timeline {
    margin-top: 5rem;
  }
}
.journey-timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--accent) 20%, var(--accent) 80%, transparent);
}
@media (min-width: 768px) {
  .journey-timeline::before {
    left: 50%;
    transform: translateX(-1px);
  }
}

.journey-item {
  position: relative;
  padding: 1.5rem 1rem 1.5rem 2.5rem;
}
@media (min-width: 768px) {
  .journey-item {
    width: 50%;
    padding: 1.5rem 2rem;
  }
  .journey-item:nth-child(odd) {
    padding-right: 2.5rem;
    text-align: right;
  }
  .journey-item:nth-child(even) {
    margin-left: auto;
    padding-left: 2.5rem;
    text-align: left;
  }
}
.journey-item::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 1.5rem;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--bg);
  z-index: 1;
}
@media (min-width: 768px) {
  .journey-item::before {
    left: auto;
    right: auto;
  }
}
@media (min-width: 768px) {
  .journey-item:nth-child(odd)::before {
    right: -6px;
  }
  .journey-item:nth-child(even)::before {
    left: -6px;
  }
}

.journey-year {
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(var(--orange-flash-rgb), 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.journey-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg);
  margin: 0 0 0.5rem;
}

.journey-desc {
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--muted-fg);
}

/* ==========================
   SOFT SKILLS SECTION
========================== */
.about-softskills {
  padding: 5rem 1rem;
  overflow: visible;
}
@media (min-width: 768px) {
  .about-softskills {
    padding: 6rem 1.5rem 8rem 1.5rem;
  }
}

/* Header centré */
.softskills-header {
  text-align: center;
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .softskills-header {
    margin-bottom: 3rem;
  }
}
.softskills-header .section-title {
  text-align: center;
  padding: 10px;
  font-size: 1.875rem;
}
.softskills-header .section-subtitle {
  font-size: 1.125rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 10px;
}

.softskills-label {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(255, 140, 0);
  margin: 0 0 0.75rem;
}

/* Wrapper badges + séparateurs */
.softskills-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 1rem 80px 1rem;
  overflow: visible;
  /* ✅ Desktop : tout sur 1 ligne */
}
@media (min-width: 768px) {
  .softskills-wrapper {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 0.5rem 120px 0.5rem;
  }
}
@media (min-width: 1024px) {
  .softskills-wrapper {
    max-width: 1600px;
    gap: 0.5rem;
    padding: 2rem 0.25rem 140px 0.25rem;
  }
}
@media (min-width: 1280px) {
  .softskills-wrapper {
    max-width: 1800px;
  }
}

/* Item (wrapper du badge) */
.skill-badge-item {
  position: relative;
  flex-shrink: 0;
}

/* Badge (wrapper) */
.skill-badge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.9);
}
.skill-badge.is-visible {
  opacity: 1;
  animation: badgeReveal 0.4s forwards;
}
.skill-badge:hover .skill-badge-detail {
  opacity: 1;
  visibility: visible;
  max-height: 500px;
  padding: 1rem 1.25rem;
}

@keyframes badgeReveal {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
/* Partie principale (pill) */
.skill-badge-main {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #F0EDE5;
  border: 2px solid #2A4458;
  border-radius: 9999px;
  white-space: nowrap;
  transition: all 0.3s ease;
}
@media (min-width: 768px) {
  .skill-badge-main {
    padding: 1rem 1.5rem;
  }
}
.skill-badge:hover .skill-badge-main {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Icône */
.skill-badge-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: rgb(255, 140, 0);
}
@media (min-width: 768px) {
  .skill-badge-icon {
    width: 18px;
    height: 18px;
  }
}

/* Texte du badge */
.skill-badge-text {
  font-size: 1rem;
  font-weight: 500;
  color: #2A4458;
}
@media (min-width: 768px) {
  .skill-badge-text {
    font-size: 1.125rem;
  }
}

/* Tooltip / détail */
.skill-badge-detail {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  max-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--muted-fg);
  text-align: center;
  background: var(--card);
  border: 2px solid rgb(255, 140, 0);
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@media (min-width: 768px) {
  .skill-badge-detail {
    width: 300px;
    font-size: 1.125rem;
  }
  .skill-badge-item:first-child .skill-badge-detail, .skill-badge-item:nth-child(2) .skill-badge-detail {
    left: 0;
    transform: translateX(0);
  }
  .skill-badge-item:last-child .skill-badge-detail, .skill-badge-item:nth-last-child(2) .skill-badge-detail {
    left: auto;
    right: 0;
    transform: translateX(0);
  }
}

/* Séparateur orange */
.skill-separator {
  width: 2px;
  height: 30px;
  background: linear-gradient(180deg, transparent, rgb(255, 140, 0) 20%, rgb(255, 140, 0) 80%, transparent);
  box-shadow: 0 0 8px rgba(255, 140, 0, 0.6);
  flex-shrink: 0;
  display: block;
}
@media (min-width: 768px) {
  .skill-separator {
    height: 40px;
  }
}
@media (min-width: 1024px) {
  .skill-separator {
    height: 50px;
  }
}

/* === RESPONSIVE MOBILE === */
@media (max-width: 767px) {
  .about-softskills {
    padding: 4rem 1rem;
  }
  .softskills-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem 1rem 60px 1rem;
    overflow: visible;
  }
  .skill-badge-item {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  .skill-badge-main {
    width: 100%;
    justify-content: center;
  }
  .skill-separator {
    display: none;
  }
  .skill-badge-detail {
    width: calc(100% - 32px);
    max-width: 320px;
    top: auto;
    bottom: calc(100% + 12px);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
  .skill-badge:hover .skill-badge-detail {
    transform: translateX(-50%);
  }
}
/* === RESPONSIVE TABLET === */
@media (min-width: 768px) and (max-width: 1023px) {
  .softskills-wrapper {
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    padding-bottom: 110px;
    overflow: visible;
  }
  .skill-badge-item {
    flex: 0 0 auto;
  }
  .skill-separator:nth-of-type(odd) {
    display: none;
  }
}
.about-skills {
  padding: 5rem 1rem;
  background: rgba(var(--orange-flash-rgb), 0.05);
  overflow: hidden;
}
@media (min-width: 768px) {
  .about-skills {
    padding: 8rem 1.5rem;
  }
}
.about-skills .section-title {
  text-align: center;
  padding: 10px;
  font-size: 1.875rem;
}
.about-skills .section-subtitle {
  text-align: center;
  padding: 10px;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.125rem;
}

.skills-label {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(255, 140, 0);
  margin: 0 0 0.75rem;
}

.skills-scroll-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .skills-scroll-container {
    padding: 0 1.5rem;
  }
}
@media (min-width: 1024px) {
  .skills-scroll-container {
    padding: 0 2rem;
  }
}

.skills-scroll {
  display: flex;
  gap: 2rem;
  animation: scroll-infinite 30s linear infinite;
  width: max-content;
  padding: 1rem 0;
}
.skills-scroll:hover {
  animation-play-state: paused;
}

@keyframes scroll-infinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  position: relative;
  padding-top: 1.5rem;
}
.skill-item img {
  width: 70px;
  height: 70px;
  transition: transform 0.2s ease-in-out;
}
.skill-item:hover img {
  transform: scale(1.1);
}
.skill-item .skill-level {
  position: static;
  font-size: 1rem;
  padding: 2px 6px;
  color: #91A8BA;
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
}
.skill-item .skill-name {
  position: absolute;
  top: 0;
  font-size: 0.75rem;
  color: #91A8BA;
  background: transparent;
  padding: 0;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
}
@media (min-width: 768px) {
  .skill-item .skill-name {
    font-size: 1rem;
  }
}
.skill-item:hover .skill-name {
  opacity: 1;
  font-size: 1rem;
}

.about-skills .about-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}
@media (min-width: 768px) {
  .about-skills .about-container {
    padding: 0 1.5rem;
  }
}
@media (min-width: 1024px) {
  .about-skills .about-container {
    padding: 0 2rem;
  }
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s ease;
  background-color: #F5F1E8;
  color: #1A2F42;
  margin-top: 4rem;
}
@media (min-width: 768px) {
  .ai-badge {
    margin-top: 5rem;
    font-size: 1.125rem;
  }
}
.ai-badge svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ==========================
   SECTION PROJETS
   Mobile-first
========================== */
.projects-section {
  padding: 60px 0 80px;
}

.projects-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.projects-header {
  text-align: center;
  margin-bottom: 48px;
}

.projects-label {
  display: block;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(255, 140, 0);
  margin: 0 0 0.75rem;
}

.projects-title {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--fg);
  margin: 0 0 12px;
}

.projects-subtitle {
  font-size: 1.125rem;
  color: var(--muted-fg);
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}
html[data-theme=dark] .projects-subtitle {
  color: #d4d4d4;
}

/* Grille des projets */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

/* Carte projet */
.project-card {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
html[data-theme=dark] .project-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.project-card:hover .project-card__overlay {
  opacity: 1;
}

/* Image du projet */
.project-card__image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, #1a2f42 0%, #0d1b2a 100%);
}
.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.project-card:hover .project-card__image img {
  transform: scale(1.05);
}

/* Overlay avec lien GitHub */
.project-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card__link {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.project-card__link:hover {
  transform: scale(1.1);
  background: #ff8c42;
}

/* Contenu de la carte */
.project-card__content {
  padding: 20px;
}

.project-card__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--fg);
  margin: 0 0 8px;
}

.project-card__desc {
  font-size: 14px;
  color: var(--muted-fg);
  line-height: 1.5;
  margin: 0 0 16px;
}
html[data-theme=dark] .project-card__desc {
  color: #b4b4b4;
}

/* Tags technologies */
.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(var(--orange-flash-rgb), 0.1);
  color: var(--accent);
  border: 1px solid rgba(var(--orange-flash-rgb), 0.2);
}

/* Carte CTA "Votre projet ?" */
.project-card--cta {
  background: linear-gradient(135deg, rgba(var(--orange-flash-rgb), 0.08) 0%, rgba(var(--orange-flash-rgb), 0.02) 100%);
  border: 2px dashed rgba(var(--orange-flash-rgb), 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.project-card--cta:hover {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(var(--orange-flash-rgb), 0.12) 0%, rgba(var(--orange-flash-rgb), 0.04) 100%);
}

.project-card__cta-content {
  text-align: center;
  padding: 32px 24px;
}

.project-card__cta-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(var(--orange-flash-rgb), 0.15);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.project-card--cta:hover .project-card__cta-icon {
  transform: scale(1.1) rotate(90deg);
  background: var(--accent);
  color: #fff;
}

.project-card__cta-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--fg);
  margin: 0 0 8px;
}

.project-card__cta-desc {
  font-size: 14px;
  color: var(--muted-fg);
  line-height: 1.5;
  margin: 0 0 24px;
}
html[data-theme=dark] .project-card__cta-desc {
  color: #b4b4b4;
}

.project-card__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Lien GitHub footer */
.projects-footer {
  text-align: center;
}

.projects-github-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
  padding: 14px 28px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.3s ease;
}
.projects-github-link i:first-child {
  font-size: 22px;
  color: var(--accent);
}
.projects-github-link i:last-child {
  font-size: 14px;
  transition: transform 0.3s ease;
}
.projects-github-link:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(var(--orange-flash-rgb), 0.15);
}
.projects-github-link:hover i:last-child {
  transform: translateX(4px);
}

/* ==========================
   RESPONSIVE - Tablet
========================== */
@media (min-width: 600px) {
  .projects-section {
    padding: 80px 0 100px;
  }
  .projects-title {
    font-size: 1.875rem;
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .project-card__content {
    padding: 24px;
  }
}
/* ==========================
   RESPONSIVE - Desktop
========================== */
@media (min-width: 992px) {
  .projects-section {
    padding: 100px 0 120px;
  }
  .projects-header {
    margin-bottom: 60px;
  }
  .projects-title {
    font-size: 1.875rem;
  }
  .projects-subtitle {
    font-size: 1.125rem;
    max-width: 800px;
  }
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
  }
  .project-card__title {
    font-size: 1.125rem;
  }
  .project-card__desc {
    font-size: 1rem;
  }
  .project-card--cta {
    min-height: auto;
    font-size: 1.125rem;
  }
}
/* ==========================
   HOBBIES SECTION
========================== */
.about-hobbies {
  padding: 5rem 1rem;
  background: var(--bg);
}
@media (min-width: 768px) {
  .about-hobbies {
    padding: 8rem 1.5rem;
  }
}
.about-hobbies .about-container {
  text-align: center;
}
.about-hobbies .hobbies-label {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(255, 140, 0);
  margin-bottom: 0.75rem;
}
.about-hobbies .section-title {
  margin: 0 0 10px;
  font-size: 1.875rem;
}
.about-hobbies .section-subtitle {
  margin: 0 auto 10px;
  max-width: 42rem;
  font-size: 1.125rem;
}

.hobbies-grid {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 768px) {
  .hobbies-grid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .hobbies-grid {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.hobbies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  margin-top: 3rem;
}
@media (min-width: 768px) {
  .hobbies-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}
@media (min-width: 1024px) {
  .hobbies-grid {
    gap: 4rem;
  }
}

.hobbies-list {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .hobbies-list {
    order: 1;
    gap: 2.5rem;
  }
}

.hobby-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.hobby-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2A4458;
  border: none;
  border-radius: 1rem;
}
.hobby-icon svg {
  width: 30px;
  height: 30px;
  color: #F5F1E8;
}
.hobby-icon svg.hobby-icon-heart {
  color: rgb(255, 140, 0);
}

.hobby-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.25rem;
}

.hobby-desc {
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--muted-fg);
  margin: 0;
}

.hobby-image {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  aspect-ratio: 16/9;
  height: 420px;
  width: 100%;
  max-width: 560px;
  justify-self: center;
}

.hobby-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.fun-fact {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 768px) {
  .fun-fact {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .fun-fact {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.fun-fact {
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  font-size: 1.125rem;
}
.fun-fact svg {
  flex-shrink: 0;
  color: var(--accent);
  width: 30px;
  height: 30px;
}
.fun-fact p {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--fg);
  line-height: 1.625;
  margin: 0;
}
@media (min-width: 768px) {
  .fun-fact {
    padding: 1.5rem 2rem;
    gap: 1rem;
  }
  .fun-fact p {
    font-size: 1.25rem;
  }
}

/* ==========================
   CTA INTÉGRÉ DANS HOBBIES
========================== */
.hobbies-cta {
  margin-top: 4rem;
  padding: 3rem 1rem;
  text-align: center;
  border-radius: 2rem;
}
@media (min-width: 768px) {
  .hobbies-cta {
    padding: 4rem 1.5rem;
    margin-top: 5rem;
  }
}
.hobbies-cta .section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--fg);
  margin: 0 0 0.75rem;
  line-height: 1.25;
}
.hobbies-cta .section-subtitle {
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--muted-fg);
  margin: 0 auto 1.5rem;
  max-width: 32rem;
}
@media (min-width: 768px) {
  .hobbies-cta .section-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
  }
}
.hobbies-cta .btn {
  min-width: 180px;
}
@media (min-width: 768px) {
  .hobbies-cta .btn {
    min-width: 220px;
  }
}

/* ==========================
   CTA SECTION (legacy - peut être supprimé)
========================== */
.about-cta {
  padding: 5rem 1rem;
  background: var(--bg);
  text-align: center;
}
@media (min-width: 768px) {
  .about-cta {
    padding: 8rem 1.5rem;
  }
}
.about-cta .about-container {
  max-width: 48rem;
  margin: 0 auto;
}
.about-cta .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--fg);
  margin: 0 0 1rem;
  line-height: 1.25;
}
.about-cta .section-subtitle {
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--muted-fg);
  margin: 0 auto 2rem;
  max-width: 36rem;
}
@media (min-width: 768px) {
  .about-cta .section-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
  }
}
.about-cta .btn {
  min-width: 200px;
}
@media (min-width: 768px) {
  .about-cta .btn {
    min-width: 240px;
  }
}

/* ========================================
   DARK MODE
======================================== */
html[data-theme=dark] .about-badge {
  background: rgba(var(--orange-flash-rgb), 0.15);
}
html[data-theme=dark] .stat {
  background: #0a1220;
  border-color: rgba(253, 251, 247, 0.25);
}
html[data-theme=dark] .brief-point,
html[data-theme=dark] .value-card {
  background: #0F1D2A;
  border-color: rgba(253, 251, 247, 0.25);
}
html[data-theme=dark] .brief-icon,
html[data-theme=dark] .value-icon {
  background: rgba(255, 140, 0, 0.15);
}

/* ==========================
   CONTACT
========================== */
.page-contact {
  position: relative;
}

.contact-wrap {
  padding-top: 35px;
  padding-bottom: 32px;
  padding-left: 16px;
  padding-right: 16px;
}
@media (min-width: 768px) {
  .contact-wrap {
    padding-top: 35px;
    padding-bottom: 48px;
  }
}
@media (min-width: 640px) {
  .contact-wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media (min-width: 1024px) {
  .contact-wrap {
    padding-left: 32px;
    padding-right: 32px;
  }
}

.contact-container {
  max-width: 72rem;
  margin: 0 auto;
}

/* header */
.contact-header {
  text-align: center;
  margin-bottom: 64px;
  /* ✅ Visible par défaut (important) */
  opacity: 1;
  transform: none;
  /* Animation uniquement si possible */
}
@media (prefers-reduced-motion: no-preference) {
  .contact-header {
    opacity: 0;
    transform: translateY(20px);
    animation: cFadeUp 0.6s ease forwards;
  }
}

@keyframes cFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  margin-bottom: 24px;
}

.contact-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.contact-badge__text {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
}

.contact-title {
  margin-bottom: 16px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--fg);
  font-size: 1.125rem;
}

.contact-subtitle {
  font-size: 1.125rem;
  color: var(--muted-fg);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.6;
}
html[data-theme=dark] .contact-subtitle {
  color: var(--fg);
  opacity: 0.8;
}

/* grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 2fr 1fr;
  }
}

/* cards */
.contact-card {
  background-color: #FFFDF9;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(44, 36, 22, 0.12);
  transition: all 0.2s ease-in-out;
}
@media (min-width: 768px) {
  .contact-card {
    padding: 2rem;
  }
}

.contact-card--form {
  padding: 32px;
}

.contact-card--info {
  padding: 24px;
}

.contact-card--availability {
  padding: 24px;
  background: linear-gradient(135deg, rgba(var(--orange-flash-rgb), 0.08) 0%, rgba(var(--orange-flash-rgb), 0.12) 100%);
  border: 1px solid rgba(var(--orange-flash-rgb), 0.25);
  border-radius: var(--r-2xl);
  position: relative;
  overflow: hidden;
}
.contact-card--availability::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--orange-flash) 0%, rgba(var(--orange-flash-rgb), 0.6) 100%);
}
html[data-theme=dark] .contact-card--availability {
  background: linear-gradient(135deg, rgba(var(--orange-flash-rgb), 0.12) 0%, rgba(var(--orange-flash-rgb), 0.16) 100%);
  border-color: rgba(var(--orange-flash-rgb), 0.35);
}

.availability-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.availability-dot {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}
.availability-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #22c55e;
  animation: pulse-ring 2s ease-in-out infinite;
}
.availability-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #22c55e;
  opacity: 0.2;
  filter: blur(4px);
}

@keyframes pulse-ring {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.2);
  }
}
.availability-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--fg);
  margin: 0;
  letter-spacing: -0.02em;
}

.availability-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.availability-period {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(var(--orange-flash-rgb), 0.15);
  border-radius: var(--r-lg);
  font-size: 15px;
  font-weight: 700;
  color: var(--orange-flash);
  border: 1px solid rgba(var(--orange-flash-rgb), 0.25);
}
html[data-theme=dark] .availability-period {
  background: rgba(var(--orange-flash-rgb), 0.2);
  border-color: rgba(var(--orange-flash-rgb), 0.35);
}

.availability-icon {
  flex-shrink: 0;
  opacity: 0.9;
}

.availability-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg);
  margin: 0;
  opacity: 0.9;
}
.availability-desc strong {
  color: var(--orange-flash);
  font-weight: 700;
}
html[data-theme=dark] .availability-desc {
  opacity: 0.85;
}

.availability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.availability-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(var(--orange-flash-rgb), 0.15);
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--fg);
  white-space: nowrap;
}
.availability-tag svg {
  width: 12px;
  height: 12px;
  opacity: 0.7;
}
html[data-theme=dark] .availability-tag {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(var(--orange-flash-rgb), 0.25);
}

.availability-future {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(var(--accent-rgb, 59, 130, 246), 0.08);
  border-radius: var(--r-lg);
  border-left: 3px solid var(--accent);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-fg);
  margin-top: 4px;
}
html[data-theme=dark] .availability-future {
  background: rgba(var(--accent-rgb, 59, 130, 246), 0.12);
  color: var(--fg);
  opacity: 0.8;
}

.availability-future-icon {
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.8;
}

@media (max-width: 640px) {
  .contact-card--availability {
    padding: 20px;
  }
  .availability-title {
    font-size: 16px;
  }
  .availability-period {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 14px;
  }
  .availability-tags {
    gap: 6px;
  }
  .availability-tag {
    font-size: 11px;
    padding: 5px 10px;
  }
}
/* form */
.contact-form {
  display: grid;
  gap: 24px;
}

.field__label {
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--fg);
}
html[data-theme=dark] .field__label {
  color: #1A2F42;
}

.field__req {
  color: var(--accent);
}

.field__control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(44, 36, 22, 0.12);
  background-color: #FFFDF9;
  color: #2C2416;
  font-size: 1rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: all 0.2s ease-in-out;
}
.field__control::placeholder {
  color: #8B7E6A;
}
.field__control:focus {
  outline: none;
  border-color: #91A8BA;
  box-shadow: 0 0 0 3px rgba(145, 168, 186, 0.1);
}
.field__control:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: rgba(44, 36, 22, 0.05);
}
.field__control[aria-invalid=true] {
  border-color: #C44536;
}
.field__control[aria-invalid=true]:focus {
  box-shadow: 0 0 0 3px rgba(196, 69, 54, 0.1);
}

.field__control--textarea {
  resize: none;
}

/* consent */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.consent__box {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 6px;
  border: 2px solid var(--border);
  accent-color: var(--accent);
  cursor: pointer;
}

.consent__label {
  font-size: 14px;
  color: var(--muted-fg);
  cursor: pointer;
  line-height: 1.5;
}
html[data-theme=dark] .consent__label {
  color: #1A2F42;
}

/* GDPR accordion */
.gdpr {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(var(--orange-flash-rgb), 0.05);
  border: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
}
html[data-theme=dark] .gdpr {
  background: #91A8BA;
  border-color: rgba(var(--orange-flash-rgb), 0.25);
}

.gdpr__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s ease;
}
.gdpr__toggle:focus-visible {
  outline: 2px solid #91A8BA;
  outline-offset: 2px;
  border-radius: 0.5rem;
}

.gdpr__toggle:hover {
  background: rgba(var(--orange-flash-rgb), 0.1);
}

.gdpr__title {
  font-size: 13px;
  font-weight: 900;
  margin: 0;
  color: var(--fg);
}
html[data-theme=dark] .gdpr__title {
  color: #1A2F42;
}

.gdpr__chev {
  transition: transform 0.3s ease;
  opacity: 0.8;
  color: var(--muted-fg);
}

.gdpr.is-open .gdpr__chev {
  transform: rotate(180deg);
}

.gdpr__content {
  border-top: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
}

.gdpr__body {
  padding: 16px 24px 24px;
  font-size: 12px;
  color: var(--muted-fg);
  display: grid;
  gap: 12px;
  line-height: 1.6;
}
html[data-theme=dark] .gdpr__body {
  color: #2A4458;
  opacity: 0.85;
}

.gdpr__link {
  color: var(--accent);
  font-weight: 900;
  text-decoration: none;
}
.gdpr__link:hover {
  text-decoration: underline;
}

.gdpr__foot {
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
}

/* submit */
.contact-actions {
  display: flex;
  justify-content: flex-end;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-submit__icon {
  color: var(--accent);
}

/* success */
.contact-success {
  text-align: center;
  padding: 48px 0;
  display: grid;
  gap: 16px;
}

.contact-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--accent);
  font-size: 28px;
}

.contact-success__title {
  color: var(--accent);
  font-size: 24px;
  font-weight: 900;
}

.contact-success__text {
  color: var(--muted-fg);
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.6;
}
html[data-theme=dark] .contact-success__text {
  color: var(--fg);
  opacity: 0.85;
}

.contact-success__hint {
  color: color-mix(in srgb, var(--muted-fg) 80%, transparent);
  font-size: 13px;
}
html[data-theme=dark] .contact-success__hint {
  color: var(--fg);
  opacity: 0.6;
}

/* right info */
.contact-right {
  display: grid;
  gap: 24px;
}

.contact-info-title {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 24px;
  color: var(--fg);
}
html[data-theme=dark] .contact-info-title {
  color: #1A2F42;
}

.contact-info-list {
  display: grid;
  gap: 16px;
}

.info-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.info-item:last-child {
  border-bottom: none;
}

.info-ico {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #91A8BA;
  border-radius: 1rem;
  color: #4A5D6F;
  font-size: 1.25rem;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
.info-ico i {
  font-size: 1.25rem;
  display: inline-block;
}
.info-ico:hover {
  background: rgb(255, 140, 0);
  transform: scale(1.05);
}

.info-body {
  flex: 1;
  min-width: 0;
}

.info-k {
  font-size: 0.875rem;
  color: #2A4458;
  margin-bottom: 0.25rem;
  font-weight: 500;
}
html[data-theme=dark] .info-k {
  color: #2A4458;
}

.info-v {
  font-size: 1rem;
  color: #1A2F42;
  font-weight: 600;
  word-break: break-word;
}
.info-v a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}
.info-v a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.contact-success__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--orange-flash-rgb), 0.1);
  border-radius: 50%;
  color: var(--accent);
  font-size: 2rem;
}
.contact-success__icon i {
  font-size: inherit;
}

.contact-submit__icon {
  font-size: 1rem;
  display: inline-block;
}

.gdpr__chev {
  font-size: 1.25rem;
  transition: transform 0.2s ease-in-out;
}

.gdpr[aria-expanded=true] .gdpr__chev,
.gdpr__toggle[aria-expanded=true] .gdpr__chev {
  transform: rotate(180deg);
}

/* ==========================
   FOOTER
========================== */
.site-footer {
  border-top: 1px solid rgba(26, 47, 66, 0.1);
}
html[data-theme=dark] .site-footer {
  background: #0a1220;
  border-top-color: rgba(255, 255, 255, 0.1);
}

.site-footer__container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 768px) {
  .site-footer__container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .site-footer__container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.site-footer__container {
  padding: 20px 16px;
}
@media (min-width: 640px) {
  .site-footer__container {
    padding: 20px 24px;
  }
}
@media (min-width: 768px) {
  .site-footer__container {
    padding: 16px 32px;
  }
}
@media (min-width: 1024px) {
  .site-footer__container {
    padding-right: 48px;
  }
}

/* Mobile / Desktop switch */
.site-footer__mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.site-footer__desktop {
  display: none;
}

@media (min-width: 768px) {
  .site-footer__mobile {
    display: none;
  }
  .site-footer__desktop {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    width: fit-content;
  }
}
/* Footer rows */
.footer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted-fg);
  font-weight: 700;
}
@media (min-width: 768px) {
  .footer-row {
    justify-content: flex-end;
    font-size: 12px;
  }
}

.footer-row--contact {
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Footer icons */
.footer-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.footer-ico--accent {
  color: var(--accent);
}

/* Footer links */
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted-fg);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 14px;
  transition: color 0.2s ease;
}
@media (min-width: 768px) {
  .footer-link {
    font-size: 12px;
  }
}
.footer-link:hover {
  color: var(--accent);
}
.footer-link:focus-visible {
  outline: 2px solid #91A8BA;
  outline-offset: 2px;
  border-radius: 0.5rem;
}

/* Separator */
.footer-sep {
  width: 1px;
  height: 16px;
  background: var(--border);
  display: inline-block;
  opacity: 0.9;
}

/* Social buttons */
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
@media (min-width: 768px) {
  .footer-social {
    gap: 6px;
  }
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--muted);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.2s ease;
}
.social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.social-btn:hover .footer-ico--accent {
  color: var(--bg);
}
.social-btn:focus-visible {
  outline: 2px solid #91A8BA;
  outline-offset: 2px;
  border-radius: 0.5rem;
}
.social-btn:active {
  transform: translateY(1px);
}

.social-btn--mobile {
  width: 48px;
  height: 48px;
}

.social-btn--desktop {
  width: 28px;
  height: 28px;
  border-color: var(--accent);
}

/* Footer line */
.footer-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: 12px;
  color: var(--muted-fg);
  font-weight: 700;
}

.footer-brand,
.footer-contact {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-contact {
  gap: 10px;
}

/* TIMER BORDER */
.timer-border {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

.timer-border.hidden {
  display: none;
}

.timer-border__top,
.timer-border__right,
.timer-border__bottom,
.timer-border__left {
  position: absolute;
  background: #ff6b35;
}

/* GAUCHE: s'efface de haut vers bas (ancré en bas) */
.timer-border__left {
  bottom: 0;
  left: 0;
  width: 6px;
  height: 100%;
}

/* BAS: s'efface de gauche vers droite (ancré à droite) */
.timer-border__bottom {
  bottom: 0;
  right: 0;
  height: 6px;
  width: 100%;
}

/* DROITE: s'efface de bas vers haut (ancré en haut) */
.timer-border__right {
  top: 0;
  right: 0;
  width: 6px;
  height: 100%;
}

/* HAUT: s'efface de droite vers gauche (ancré à gauche) */
.timer-border__top {
  top: 0;
  left: 0;
  height: 6px;
  width: 100%;
}

/* Animations - sens anti-horaire: GAUCHE → BAS → DROITE → HAUT */
@keyframes timer-left {
  from {
    height: 100%;
  }
  to {
    height: 0%;
  }
}
@keyframes timer-bottom {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}
@keyframes timer-right {
  from {
    height: 100%;
  }
  to {
    height: 0%;
  }
}
@keyframes timer-top {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}
/* ==========================
   MODALE TIMER 2 MINUTES
========================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 10000;
}
.modal-overlay.hidden {
  display: none;
}

.modal[data-timer-modal] {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[data-timer-modal].hidden {
  display: none;
}

.modal__card {
  background: var(--card);
  border-radius: 24px;
  padding: 40px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  animation: modal-appear 0.3s ease-out;
}

@keyframes modal-appear {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(var(--orange-flash-rgb), 0.1);
  color: var(--fg);
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.modal__close:hover {
  background: rgba(var(--orange-flash-rgb), 0.2);
  transform: scale(1.1);
}

.modal__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(var(--orange-flash-rgb), 0.2) 0%, rgba(var(--orange-flash-rgb), 0.1) 100%);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 24px;
  border: 2px solid rgba(var(--orange-flash-rgb), 0.3);
}

.modal__title {
  font-size: 24px;
  font-weight: 900;
  color: var(--fg);
  margin: 0 0 12px;
  line-height: 1.3;
}

.modal__text {
  font-size: 15px;
  color: var(--muted-fg);
  line-height: 1.6;
  margin: 0 0 28px;
}
html[data-theme=dark] .modal__text {
  color: #d4d4d4;
}

.modal__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
@media (min-width: 480px) {
  .modal__actions {
    flex-direction: row;
    justify-content: center;
  }
}
.modal__actions .btn {
  flex: 1;
  justify-content: center;
}

.modal__note {
  font-size: 12px;
  color: var(--muted-fg);
  margin: 0;
  opacity: 0.8;
}
html[data-theme=dark] .modal__note {
  color: #b4b4b4;
}

/* ===============================================
   CORRECTIFS MOBILE-FIRST - SAFE UPGRADE
   À ajouter APRÈS votre style.scss existant

   Ce fichier corrige uniquement les problèmes
   sans remplacer tout votre code.
=============================================== */
/* ========================================
   CORRECTIONS CRITIQUES
======================================== */
/* 1. FOOTER - Correction position sticky */
.site-footer {
  position: static !important; /* Override sticky */
  margin-top: auto;
}

/* 2. LANDING - Ajustements mobile */
@media (max-width: 639px) {
  .landing {
    padding: 1.5rem 0;
    min-height: calc(100vh - 120px);
  }
}
/* ========================================
   AMÉLIORATIONS MOBILE (max-width: 639px)
   Uniquement si votre site a des problèmes sur mobile
======================================== */
@media (max-width: 639px) {
  /* Header - Réduction mobile si trop grand */
  .site-header__inner {
    height: 64px;
    padding: 0 1rem;
    gap: 1rem;
  }
  .site-header__brand-name {
    font-size: 36px;
    margin: 6px;
  }
  .icon-pill {
    min-width: 44px;
    min-height: 44px;
    padding: 0.5rem;
  }
  /* Footer - Amélioration mobile */
  .site-footer__container {
    padding: 1.25rem 1rem;
  }
  .footer-row {
    font-size: 0.875rem;
  }
  .social-btn--mobile {
    width: 44px;
    height: 44px;
  }
  /* Cookie Banner - Mobile */
  .cookie-banner {
    padding: 1.5rem;
    width: calc(100% - 2rem);
  }
  .cookie-icon {
    width: 40px;
    height: 40px;
  }
  .cookie-icon svg {
    width: 24px;
    height: 24px;
  }
  .cookie-title {
    font-size: 1rem;
  }
  .cookie-description {
    font-size: 0.8125rem;
  }
  .cookie-buttons {
    flex-direction: column;
  }
  .cookie-btn {
    width: 100%;
    padding: 0.75rem 1.25rem;
    font-size: 0.8125rem;
  }
  /* Modal Stage - Réduction mobile */
  .modal-card--stage {
    max-width: 480px;
    padding: 2rem 1.5rem;
  }
  .modal-stage-icon {
    width: 70px;
    height: 70px;
  }
  .modal-stage-icon i {
    font-size: 32px;
  }
  .modal-stage-pulse {
    width: 70px;
    height: 70px;
  }
  .modal-stage-title {
    font-size: 1.5rem;
  }
  .modal-stage-badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }
  .modal-stage-description {
    font-size: 0.875rem;
  }
  .modal-stage-details {
    padding: 1rem;
    gap: 1rem;
  }
  .detail-icon {
    width: 28px;
    height: 28px;
  }
  .detail-icon i {
    font-size: 14px;
  }
  .detail-label {
    font-size: 0.75rem;
  }
  .detail-value {
    font-size: 0.875rem;
  }
  .modal-stage-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  .modal-stage-actions .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }
  /* About Photo - Plus petit sur mobile */
  .about-photo {
    width: 240px;
    height: 300px;
  }
  /* About Stats - Ajustements */
  .about-stats {
    padding: 3rem 1rem;
  }
  .stats-grid {
    gap: 1.5rem;
  }
  .stat-value {
    font-size: 2.5rem;
  }
  .stat-value--infinity {
    font-size: 3.5rem;
  }
  .stat-label {
    font-size: 0.875rem;
  }
  /* About Brief - Mobile */
  .about-brief {
    padding: 4rem 0;
  }
  .brief-header {
    padding: 0 1rem;
    margin-bottom: 3rem;
  }
  .brief-wrapper {
    padding: 2rem 1rem;
  }
  .brief-track {
    gap: 1.5rem;
  }
  .brief-card {
    padding: 1.5rem;
  }
  /* About Journey - Mobile */
  .about-journey {
    padding: 4rem 1rem;
  }
  .journey-timeline {
    margin-top: 3rem;
  }
  .journey-item {
    padding: 1.5rem 1rem 1.5rem 2.5rem;
  }
  .journey-year {
    font-size: 0.875rem;
  }
  .journey-title {
    font-size: 1.25rem;
  }
  /* About Values - Mobile */
  .about-values {
    padding: 4rem 1rem;
  }
  .values-grid {
    gap: 1.5rem;
  }
  .value-card {
    padding: 1.5rem;
  }
  .value-icon {
    width: 48px;
    height: 48px;
  }
  .value-icon svg {
    width: 24px;
    height: 24px;
  }
  /* Tablette (768px - 1023px) - 2 colonnes */
}
@media (max-width: 639px) and (min-width: 768px) and (max-width: 1023px) {
  /* About Skills - Mobile */
  .about-skills {
    padding: 4rem 0;
  }
  .about-skills .section-title {
    font-size: 1.5rem;
  }
  .about-skills .section-subtitle {
    font-size: 1.125rem;
  }
  /* About Hobbies - Mobile */
  .about-hobbies {
    padding: 4rem 1rem;
  }
  .about-hobbies .section-title {
    font-size: 1.5rem;
  }
  .about-hobbies .section-subtitle {
    font-size: 1.125rem;
  }
  .hobbies-grid {
    gap: 2rem;
    margin: 2rem 0;
  }
  .hobbies-list {
    gap: 1.5rem;
  }
  .hobby-icon {
    width: 36px;
    height: 36px;
  }
  .hobby-icon svg {
    width: 24px;
    height: 24px;
  }
  .hobby-title {
    font-size: 1rem;
  }
  .hobby-desc {
    font-size: 0.875rem;
  }
  /* Projects - Mobile */
  .projects-grid {
    gap: 1.5rem;
  }
  .project-card__content {
    padding: 1.25rem;
  }
  .project-card__title {
    font-size: 1rem;
  }
  .project-card__desc {
    font-size: 0.8125rem;
  }
  .project-tag {
    font-size: 0.6875rem;
    padding: 0.25rem 0.625rem;
  }
  .project-card--cta {
    min-height: 280px;
  }
  .project-card__cta-icon {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }
  .project-card__cta-title {
    font-size: 1.25rem;
  }
  .projects-github-link {
    font-size: 0.875rem;
    padding: 0.875rem 1.5rem;
  }
  /* Contact - Mobile */
  .contact-wrap {
    padding: 2rem 1rem;
  }
  .contact-header {
    margin-bottom: 3rem;
  }
  .contact-badge__text {
    font-size: 1rem;
  }
  .contact-title {
    font-size: 1.75rem;
  }
  .contact-subtitle {
    font-size: 1rem;
  }
  .contact-grid {
    gap: 2rem;
  }
  .contact-card--form {
    padding: 1.5rem;
  }
  .contact-card--info,
  .contact-card--availability {
    padding: 1.25rem;
  }
  .contact-form {
    gap: 1.25rem;
  }
  .field__label {
    font-size: 0.8125rem;
  }
  .field__control--textarea {
    min-height: 120px;
  }
  .consent__box {
    width: 18px;
    height: 18px;
  }
  .consent__label {
    font-size: 0.8125rem;
  }
  .gdpr__toggle {
    padding: 0.875rem;
  }
  .gdpr__title {
    font-size: 0.75rem;
  }
  .gdpr__chev {
    font-size: 1rem;
  }
  .gdpr__body {
    padding: 1rem 1rem 1.25rem;
    font-size: 0.6875rem;
  }
  .contact-actions {
    justify-content: stretch;
  }
  .contact-submit {
    width: 100%;
  }
  .contact-success {
    padding: 2.5rem 0;
  }
  .contact-success__icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }
  .contact-success__title {
    font-size: 1.375rem;
  }
  .info-ico {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .info-ico i {
    font-size: 1rem;
  }
  .info-k {
    font-size: 0.75rem;
  }
  .info-v {
    font-size: 0.875rem;
  }
  /* Titres globaux - Mobile */
  .section-title {
    font-size: 1.5rem;
  }
  .section-subtitle {
    font-size: 1.125rem;
  }
  /* Labels globaux - Mobile */
  .brief-label,
  .skills-label,
  .journey-label,
  .hobbies-label {
    font-size: 1rem;
  }
  /* Containers - Mobile */
  .about-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
/* =========================================
   DESKTOP LOCK (à partir de lg, design fixe)
   Objectif : même rendu sur 1920, 2560, 4K
========================================= */
@media (min-width: 1024px) {
  /* 1) On limite la largeur du contenu (le plus important) */
  .app {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
  }
  /* Si tu utilises une classe container partout */
  .container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
  }
  /* 2) On “freeze” la typo desktop (plus de fluide) */
  .section-title {
    font-size: 2.25rem;
  }
  .section-subtitle {
    font-size: 1rem;
  }
  /* 3) On override les 2 clamps repérés dans ton fichier */
  .hobbies-cta .section-title {
    font-size: 2.25rem;
  }
  .about-cta .section-title {
    font-size: 2.5rem;
  }
  /* 4) Image hobbies : fixe desktop (optionnel) */
  .hobby-image {
    height: 420px;
  }
}

/*# sourceMappingURL=style.css.map */
