/* ========================================
   VARIABLES & RESET
   ======================================== */

:root {
  --color-primary: #4a90e2;
  --color-primary-dark: #357abd;
  --color-secondary: #6c63ff;
  --color-accent: #ff6b6b;
  --color-text: #2c3e50;
  --color-text-light: #7f8c8d;
  --color-bg: #faf9f6;
  --color-bg-light: #ffffff;
  --color-bg-card: #ffffff;
  --color-border: #e8e8e8;
  --color-shadow: rgba(0, 0, 0, 0.08);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;

  --shadow-sm: 0 1px 3px var(--color-shadow);
  --shadow-md: 0 4px 6px var(--color-shadow);
  --shadow-lg: 0 10px 20px var(--color-shadow);

  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
}

body.dark-mode {
  --color-primary: #5ea3f5;
  --color-primary-dark: #4a8fdb;
  --color-secondary: #7d74ff;
  --color-accent: #ff7979;
  --color-text: #e0e0e0;
  --color-text-light: #a0a0a0;
  --color-bg: #1a1a1a;
  --color-bg-light: #242424;
  --color-bg-card: #2a2a2a;
  --color-border: #3a3a3a;
  --color-shadow: rgba(0, 0, 0, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Background fixe (optionnel : j'ai gardé le flow lent car il est très discret en fond) */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.15;
  pointer-events: none;
  background: radial-gradient(circle at 20% 30%, var(--color-primary) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, var(--color-secondary) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, var(--color-accent) 0%, transparent 50%);
}

/* ========================================
   TYPOGRAPHY & LAYOUT
   ======================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
}

h1 {
  font-size: 3.5rem;
}
h2 {
  font-size: 2.5rem;
}

.container {
  max-width: 1200px;
  margin: ;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
}

/* Added animated background shapes with subtle movement */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.15;
  pointer-events: none;
  background: radial-gradient(circle at 20% 30%, var(--color-primary) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, var(--color-secondary) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, var(--color-accent) 0%, transparent 50%);
  animation: backgroundFlow 20s ease-in-out infinite;
}

@keyframes backgroundFlow {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(2%, -2%) scale(1.05);
  }
  50% {
    transform: translate(-2%, 2%) scale(1.02);
  }
  75% {
    transform: translate(2%, 2%) scale(1.03);
  }
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
}

h1 {
  font-size: 3.5rem;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 1.875rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1.125rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

.text-muted {
  color: var(--color-text-light);
  font-size: 0.875rem;
}

.highlight {
  color: var(--color-primary);
}

/* ========================================
   LAYOUT UTILITIES
   ======================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.section {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

.bg-light {
  background-color: var(--color-bg-light);
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  margin-bottom: 3rem;
  font-size: 1.125rem;
}

/* ========================================
   NAVIGATION
   ======================================== */

.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--color-bg-card);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
}

.theme-toggle {
  background: var(--color-bg-light);
  border: 2px solid var(--color-border);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition);
  margin-left: auto;
}

.theme-toggle:hover {
  transform: scale(1.1);
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.theme-icon {
  transition: transform 0.3s ease;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-menu a {
  color: var(--color-text);
  font-size: 0.938rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
  display: inline-block;
  animation: floatNav 3s ease-in-out infinite;
}

.nav-menu li:nth-child(2n) a {
  animation-delay: 0.5s;
}

.nav-menu li:nth-child(3n) a {
  animation-delay: 1s;
}

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

.nav-menu a:hover {
  color: var(--color-primary);
  animation: none;
  transform: translateY(-2px);
}

/* Simple underline hover effect */
.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* ========================================
   INTRO SECTION
   ======================================== */

.intro-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Added top padding to prevent title sticking to header when expanded */
  padding: 8rem 2rem 4rem;
  position: relative;
  z-index: 1;
}

.intro-content {
  max-width: 900px;
  text-align: center;
}

.intro-title {
  font-size: 3rem;
  line-height: 1.4;
  margin-bottom: 2rem;
  font-weight: 700;
  animation: 3s ease-in-out infinite;
}

/* Smooth expansion animation with no empty space when collapsed */
.intro-more {
  max-height: 0;
  overflow: hidden;
  transition: max-height 1.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 1s ease-in-out;
  opacity: 0;
  margin: 0;
  padding: 0;
}

/* Proper spacing when expanded with smooth height transition */
.intro-more.expanded {
  max-height: 3000px;
  opacity: 1;
  margin-top: 2rem;
  padding-top: 1rem;
}

/* ========================================
   CTA & BOUTONS (ALIGNÉS ET FIXES)
   ======================================== */

.intro-cta,
.hero-cta,
.hero-links {
  display: flex;
  gap: 1rem; /* Espace régulier entre les boutons */
  justify-content: center; /* Centre parfaitement le groupe de boutons */
  align-items: center;
  margin-top: 2.5rem;
  opacity: 1 !important; /* Suppression du fondu retardé */
  transform: none !important; /* Suppression du décalage vertical */
}

.btn {
  display: inline-flex; /* Utilisation de flex pour aligner icône + texte */
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 8px; /* Coins légèrement arrondis pour un look pro */
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap; /* Empêche le texte de revenir à la ligne */
  animation: none !important; /* SUPPRESSION TOTALE DU MOUVEMENT */
}

/* Style spécifique pour les boutons de contact (Mail, LinkedIn, CV) */
.btn-primary,
.btn-social {
  background-color: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover,
.btn-social:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px); /* Effet de survol discret et propre */
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: white;
}

/* Bouton CV (Contour ou couleur secondaire) */
.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

.intro-toggle-btn {
  margin-top: 2rem;
  margin-bottom: 0;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 4rem;
}

.hero-content {
  max-width: 800px;
}

.hero-subtitle {
  font-size: 0.938rem;
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  animation: floatTitle 3s ease-in-out infinite;
}

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

.hero-role {
  font-size: 1.5rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  animation: floatSubtitle 3.5s ease-in-out infinite;
}

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

.hero-description {
  font-size: 1.125rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 700px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Centered hero links */
.hero-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* ========================================
   BUTTONS
   ======================================== */

/* Simple, clean button styles inspired by Apple design */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.938rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: buttonPulse 4s ease-in-out infinite;
}

@keyframes buttonPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(74, 144, 226, 0.4);
  }
  50% {
    box-shadow: 0 0 20px 5px rgba(74, 144, 226, 0.2);
  }
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-lg);
  animation: none;
}

/* Consistent button style for social links */
.btn-social {
  background: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-md);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}

.btn-social:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-lg);
  animation: none;
}

.btn-secondary {
  background-color: var(--color-bg-light);
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ========================================
   GLASS BUTTONS
   ======================================== */

.btn-glass {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.938rem;
  transition: var(--transition);
  border: 2px solid rgba(74, 144, 226, 0.3);
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  color: var(--color-text);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  animation: floatButton 4s ease-in-out infinite;
}

.btn-glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-glass:hover::before {
  left: 100%;
}

.btn-glass:hover {
  border-color: var(--color-primary);
  background: rgba(74, 144, 226, 0.15);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
  animation: none;
}

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

/* Dark mode adjustments for glass buttons */
body.dark-mode .btn-glass {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(94, 163, 245, 0.4);
}

body.dark-mode .btn-glass:hover {
  background: rgba(94, 163, 245, 0.2);
  border-color: var(--color-primary);
}

/* ========================================
   TIMELINE
   ======================================== */

.timeline {
  margin-bottom: 3rem;
}

.timeline-heading {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-border);
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--color-border);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

.timeline-period {
  font-size: 0.875rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.timeline-subtitle {
  color: var(--color-text-light);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.timeline-description {
  color: var(--color-text-light);
  line-height: 1.6;
}

.timeline-tasks {
  list-style: none;
  margin-top: 0.75rem;
}

.timeline-tasks li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-light);
}

.timeline-tasks li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

/* ========================================
   TECH CAROUSEL
   ======================================== */

.tech-carousel {
  margin: 3rem 0;
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
}

.tech-carousel::before,
.tech-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.tech-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg) 0%, transparent 100%);
}

.tech-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg) 0%, transparent 100%);
}

.tech-track {
  display: flex;
  gap: 3rem;
  animation: scrollTech 30s linear infinite;
  width: max-content;
}

.tech-track:hover {
  animation-play-state: paused;
}

@keyframes scrollTech {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.tech-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: var(--transition);
  flex-shrink: 0;
}

.tech-logo:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}

/* ========================================
   PROJECTS GRID
   ======================================== */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

/* Clean card design with subtle shadows */
.project-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  animation: floatCard 4s ease-in-out infinite;
}

.project-card:nth-child(2n) {
  animation-delay: 1s;
}

.project-card:nth-child(3n) {
  animation-delay: 2s;
}

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

.project-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
  animation: none;
}

.project-number {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  background-color: rgba(74, 144, 226, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.project-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.project-description {
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

/* Centering the contact buttons container */
.contact-info-centered {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.938rem;
  transition: var(--transition);
  border: 2px solid rgba(74, 144, 226, 0.3);
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  color: var(--color-text);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  animation: floatButton 4s ease-in-out infinite;
  text-decoration: none;
}

.contact-btn:nth-child(2) {
  animation-delay: 0.5s;
}

.contact-btn:nth-child(3) {
  animation-delay: 1s;
}

.contact-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.contact-btn:hover {
  border-color: var(--color-primary);
  background: rgba(74, 144, 226, 0.15);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
  animation: none;
  color: var(--color-primary);
}

body.dark-mode .contact-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(94, 163, 245, 0.4);
}

body.dark-mode .contact-btn:hover {
  background: rgba(94, 163, 245, 0.2);
  border-color: var(--color-primary);
}

/* ========================================
   FOOTER
   ======================================== */


.footer .container {
  display: flex;
  justify-content: center; /* Centre horizontalement */
  align-items: center;     /* Centre verticalement */
  text-align: center;
}

/* ========================================
   SÉPARATION NETTE : VEILLE vs CONTACT
   ======================================== */

/* 1. Bloc VEILLE : Fond Gris Clair (Style Section Grisée) */
#veille {
    background-color: #f4f7f6 !important; /* Gris très clair pour différencier */
    background-image: none !important;
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--color-border);
    padding: 80px 0;
}

/* 2. Bloc CONTACT : Fond Blanc Pur */
#contact {
    background-color: #ffffff !important; /* Blanc pur pour trancher avec le gris */
    background-image: none !important;
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--color-border);
    padding: 80px 0;
}

/* 3. Style des Titres (Bleu pour Technologique) */
#veille .section-title, 
#contact .section-title {
    color: var(--color-text) !important;
    text-align: center;
    font-weight: 700;
}

/* Assure-toi que l'accent bleu fonctionne sur les titres */
.highlight {
    color: var(--color-primary) !important;
}

/* --- MODE SOMBRE --- */
body.dark-mode #veille {
    background-color: #1e1e1e !important; /* Gris anthracite */
}
body.dark-mode #contact {
    background-color: #121212 !important; /* Noir pur */
}
/* ========================================
   ESPACEMENT ET SÉPARATION DES BLOCS FINAUX
   ======================================== */

/* Bloc Veille : Fond gris très clair pour différencier */
#veille {
    background-color: #f8f9fa !important;
    background-image: none !important;
    position: relative;
    z-index: 1;
    margin-bottom: 0; /* Collé au bloc suivant pour l'instant */
}

/* Bloc Contact : Fond blanc pur avec une ombre pour le détacher */
#contact {
    background-color: #ffffff !important;
    background-image: none !important;
    position: relative;
    z-index: 2; /* Passe au-dessus pour l'ombre */
    border-top: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* FOOTER : Création de l'espace avec le bloc Contact */
.footer {
    background-color: transparent !important; /* On laisse voir le fond du site ou blanc */
    margin-top: 4rem; /* C'est ici que se crée l'espace (le vide) */
    padding: 3rem 0;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-text {
    color: var(--color-text-light);
    margin: 0;
}

/* ========================================
   FIN DE PAGE SANS LIGNES ET AVEC ESPACE
   ======================================== */

/* Bloc Veille : Gris très clair */
#veille {
    background-color: #f8f9fa !important;
    background-image: none !important;
    border: none !important; /* Supprime la ligne */
    position: relative;
    z-index: 1;
}

/* Bloc Contact : Blanc pur */
#contact {
    background-color: #ffffff !important;
    background-image: none !important;
    border: none !important; /* Supprime la ligne */
    position: relative;
    z-index: 2;
    /* On enlève l'ombre si tu veux un truc vraiment plat */
    box-shadow: none !important; 
}

/* FOOTER : L'espace vide sans ligne */
.footer {
    background-color: transparent !important;
    border: none !important; /* Supprime la ligne du haut */
    margin-top: 5rem;        /* L'espace entre contact et copyright */
    padding-bottom: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-text {
    color: var(--color-text-light);
    opacity: 0.8;
}