/* Liens de contact (email, LinkedIn) */
.contact-methods a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid var(--color-primary);
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s;
  border-radius: 4px;
  padding: 2px 4px;
  background: transparent;
}
.contact-methods a:hover,
.contact-methods a:focus {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-accent);
  outline: none;
}
.logo {
  height: 80px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
  padding-top: 0;
  margin-top: 10px;
}
/* CSS Reset and Base Styles */
:root {
  --color-primary: #fba400;
  --color-secondary: #323332;
  --color-bg: #e9e9e9;
  --color-header-bg: #23272f;
  --color-header-text: #fff;
  --color-main-bg: #f7f8fa;
  --color-section-bg: #fff;
  --color-section-alt-bg: #f5f1f0;
  --color-text: #323332;
  --color-text-light: #666;
  --color-accent: #e69500;
  --color-success: #4bb543;
  --color-error: #ff3b30;
  --color-warning: #ff9500;
  --color-info: #007aff;
  --color-muted: #999999;
  --color-border: #e1e5e9;
  --color-shadow: rgba(0, 0, 0, 0.08);
  --color-overlay: rgba(251, 164, 0, 0.9);
  --color-footer-bg: #222;
  --color-footer-text: #ccc;
  --color-tag-bg: #f1f3f4;
  --color-tag-text: #323332;
  --color-input-focus: rgba(251, 164, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  padding: 8px 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  margin-bottom: 32px;
  margin-top: 10px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-primary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
}

h1 {
  font-size: 48px;
}

p {
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 16px;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, #111 0%, #23272f 60%, #525252 100%);
  color: var(--color-header-text);
  /* text-shadow: 0 1px 4px rgba(0,0,0,0.12); */
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(50, 51, 50, 0.1);
  padding: 8px 0;
}

#about {
  scroll-margin-top: 145px;
}
#contact {
  scroll-margin-top: 145px;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand .brand-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: var(--color-header-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  position: relative;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.nav-link.active {
  color: var(--color-primary);
  text-shadow: 0 2px 8px rgba(251, 164, 0, 0.5);
}
.nav-link:hover {
  color: var(--color-primary);
}
/* base */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

/* hover */
.nav-link:hover::after {
  width: 100%;
}

/* ACTIF – doit être APRÈS les deux blocs ci-dessus */
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  z-index: 1100;
}

.nav-toggle span {
  width: 32px;
  height: 4px;
  background: var(--color-header-text);
  border-radius: 2px;
  margin: 3px 0;
  transition: all 0.3s ease;
}

.nav-toggle.active span {
  background: var(--color-primary);
}
body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

/* Hero Section */
/* D'abord le plus général */
.hero-content {
  flex: 1;
  max-width: 600px;
}

/* Puis le plus spécifique */
.hero .hero-content,
.hero-small .hero-content {
  max-width: 900px; /* plus large pour desktop */
  margin: 0 auto; /* centre horizontalement */
  text-align: center; /* tout centré (titre, sous-titre, stack, CTA) */
}
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  padding-top: calc(80px + 40px);
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-light) 100%);
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--color-primary);
  margin-top: 60px;
}

/* Spécifique à la home page (desktop) */
.home-hero-title {
  margin-top: 90px;
}

.hero-title .highlight {
  color: var(--color-primary);
  background: rgba(251, 164, 0, 0.2);
  padding: 0 4px;
  border-radius: 4px;
  position: relative;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--color-text-light);
  margin-bottom: 0.75rem; /* un peu moins pour coller au stack */
  line-height: 1.5;
}
.hero-small {
  padding: 120px 0;
  background: #f8f9fa;
}

.hero-small .hero-title {
  font-size: 48px;
  color: var(--color-primary);
}

.hero-small .hero-subtitle {
  font-size: 18px;
  color: var(--color-text-light);
  margin: 20px 0;
}
.hero-stack {
  margin-top: 0.75rem;
  margin-bottom: 0; /* on évite le “collé” avec les CTA */
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.tech-badge {
  background: #f3f4f6;
  color: #333;
  font-size: 0.85rem;
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
  border: 1px solid #ddd;
  font-weight: 500;
  transition:
    background 0.2s,
    color 0.2s;
}

.tech-badge:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center; /* centrage garanti */
  margin-top: 1rem; /* espace au-dessus des boutons */
}
/* Mobile : on limite l’affichage */
@media (max-width: 768px) {
  .hero-stack {
    display: none;
  }
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.cursor {
  display: inline-block;
  margin-left: 2px;
  font-weight: 300;
  font-size: 1em;
  color: var(--color-primary);
  animation: blink 0.8s infinite;
}

.cursor.stop {
  animation: none;
  opacity: 1;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  50.1%,
  100% {
    opacity: 0;
  }
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  font-size: 1rem;
  padding: 19px 24px; /* Ajusté pour éviter le débordement */
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--color-primary);
  line-height: 1; /* Correction du débordement vertical */
  white-space: nowrap;
  text-align: center;
  display: inline-block;
  height: 57.6px;
}

.btn-primary:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(251, 164, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-secondary);
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--color-secondary);
  display: inline-block;
  text-align: center;
}

.btn-secondary:hover {
  background: var(--color-secondary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(50, 51, 50, 0.2);
}

.hero-visual {
  flex: 1;
  position: relative;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-card {
  position: absolute;
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  animation: float 6s ease-in-out infinite;
}

.floating-card.card-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-card.card-2 {
  top: 50%;
  right: 20%;
  animation-delay: 2s;
}

.floating-card.card-3 {
  bottom: 20%;
  left: 30%;
  animation-delay: 4s;
}

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

.card-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.card-text {
  font-weight: 600;
  color: var(--color-text);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* About Section */
.about {
  padding: 80px 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: 36px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-heading {
  font-size: 28px;
  margin-bottom: 24px;
  color: #323332;
}

.about-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
  color: #555;
}

.stats {
  display: flex;
  gap: 32px;
}

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

.stat-number {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: var(--color-text-light);
  font-weight: 500;
}

.about-image {
  position: relative;
}

.workspace-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center 30%; /* Ajuste pour centrer sur le haut */
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Services Section */
.services {
  padding: 80px 0;
  background: #f8f9fa;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

/* Centrer la dernière carte si elle est seule */
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .service-card:nth-child(4):last-child {
    grid-column: 2;
  }
}

.service-card {
  background: white;
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(251, 164, 0, 0.1);
}
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-color: var(--color-primary);
}

.service-icon {
  font-size: 48px;
  margin-bottom: 24px;
}

.service-title {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.service-description {
  margin-bottom: 24px;
  color: #555;
  line-height: 1.6;
}

.service-features {
  list-style: none;
}

.service-features li {
  padding: 8px 0;
  color: var(--color-text-light);
  position: relative;
  padding-left: 20px;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

/* Portfolio Section */
.portfolio {
  padding: 80px 0;
  background: white;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.portfolio-item {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(251, 164, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.1);
}

.btn-view {
  background: white;
  color: var(--color-primary);
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-view:hover {
  transform: scale(1.05);
}

.portfolio-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.portfolio-title {
  font-size: 20px;
  margin-bottom: 12px;
}

.portfolio-description {
  color: #555;
  margin-bottom: 16px;
  line-height: 1.5;
  flex: 1;
}

.portfolio-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tech-tag {
  background: #f1f3f4;
  color: var(--color-text);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.portfolio-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: var(--color-bg-light);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-title {
  font-size: 36px;
  margin-bottom: 24px;
  color: var(--color-primary);
}

.contact-description {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.6;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
}

.method-icon {
  font-size: 24px;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-info {
  display: flex;
  flex-direction: column;
}

.method-label {
  font-size: 14px;
  color: var(--color-text-light);
  font-weight: 500;
}

.method-value {
  font-size: 16px;
  color: var(--color-text);
  font-weight: 600;
}

/* Form Styles */
.contact-form {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  color: var(--color-text);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-input,
.form-select,
.form-textarea {
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(251, 164, 0, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.full-width {
  width: 100%;
}

/* Footer */
.footer {
  background: linear-gradient(90deg, #111 0%, #23272f 60%, #525252 100%);
  color: white;
  padding: 48px 0 24px;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.footer-brand .brand-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
}

.footer-tagline {
  color: #999;
  margin-top: 8px;
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  color: #999;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 24px;
  text-align: center;
}

.footer-copyright {
  color: #999;
  font-size: 14px;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding-top: 120px;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100vw;
    width: 100vw;
    height: 100vh;
    background: var(--color-header-bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.3s ease;
    gap: 48px;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
  }
  .nav-menu.active {
    left: 0;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link {
    font-size: 2rem;
    color: var(--color-header-text);
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 120px 0 60px;
  }

  .hero-content {
    margin-bottom: 40px;
  }
  .hero .container {
    padding-top: 120px; /* ou la hauteur réelle du header en mobile */
  }
  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-cta {
    justify-content: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats {
    justify-content: center;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .container {
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .hero-title,
  .hero-small .hero-title {
    font-size: 28px;
  }

  .section-title {
    font-size: 28px;
  }
  .hero .container {
    padding-top: 30px;
  }
  .about-heading {
    font-size: 24px;
  }

  .contact-title {
    font-size: 28px;
  }

  .stats {
    flex-direction: column;
    gap: 16px;
  }

  .service-card {
    padding: 32px 24px;
  }

  .contact-form {
    padding: 32px 24px;
  }
  .btn-primary {
    font-size: 0.9rem;
    padding: 19px 20px;
    max-width: 90%;
    display: inline-block;
  }
  #contact {
    scroll-margin-top: 145px;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

.hidden {
  display: none;
}

/* Logo dans le header */
.logo {
  height: 180px;
  width: auto;
  vertical-align: middle;
  display: inline-block;
}

.hero-icons {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-icons .floating-card {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 20px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  animation: float 6s ease-in-out infinite;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.hero-icons .floating-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow:
    0 0 40px rgba(251, 164, 0, 0.6),
    0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-icons .card-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.hero-icons .card-text {
  font-weight: 600;
  color: var(--color-text);
}

@media (min-width: 769px) {
  .btn-primary {
    font-size: 1rem;
    padding: 19px 28px; /* plus d’espace horizontal */
  }
}

/* ========================================
   Pages légales (Mentions légales & RGPD)
   ======================================== */
.legal-content {
  padding: 60px 0;
  background: var(--color-section-bg);
}

.legal-content .content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.legal-content h2 {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-border);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.legal-content li {
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.legal-content a:hover {
  border-bottom-color: var(--color-primary);
}

.legal-content strong {
  color: var(--color-secondary);
  font-weight: 600;
}

/* ========================================
   Checkbox de consentement RGPD
   ======================================== */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.form-label-inline {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text);
  cursor: pointer;
}

.form-label-inline a {
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.form-label-inline a:hover {
  border-bottom-color: var(--color-primary);
}

/* ========================================
   Footer liens légaux
   ======================================== */
.footer-legal {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
  font-size: 0.9rem;
}

.footer-legal .footer-link {
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-legal .footer-link:hover {
  color: var(--color-primary);
}

.footer-legal span {
  color: var(--color-text-light);
}

/* ========================================
   Portfolio Categories
   ======================================== */
#portfolio-categories {
  margin-top: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  font-size: 0.95rem;
}

#portfolio-categories p {
  margin: 0.25rem 0;
}

/* ========================================
   Portfolio - Rôle et Statut
   ======================================== */
.portfolio-role {
  font-size: 0.9rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.project-status {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.portfolio-section {
  margin-bottom: 60px;
}

.portfolio-section-title {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--color-primary);
  text-align: center;
}

.portfolio-section-intro {
  text-align: center;
  color: var(--color-text-light);
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.portfolio-section-alt {
  background: var(--color-section-alt-bg);
  padding: 60px 0;
  margin-left: -50vw;
  margin-right: -50vw;
  padding-left: 50vw;
  padding-right: 50vw;
}

/* ========================================
   Form hints
   ======================================== */
.form-hint {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-weight: 400;
}
