
/* Modern site stylesheet: layout, navigation, cards, buttons */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', Tahoma, Arial, sans-serif;
  background: #1a1a1a;
  color: #f0f0f0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Containers */
header, main { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
header { padding: 32px 0 24px; }
main { padding: 48px 0 64px; flex: 1; }
footer { padding: 32px 24px 40px; color: #bbb; width: 100%; margin: 0; }
hr { 
  border: none; 
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(111,211,255,0.3), transparent);
  margin: 20px 0;
  border-radius: 1px;
}

/* Header / Nav */
header h1 { 
  text-align: center; 
  margin: 16px 0 32px; 
  background: linear-gradient(135deg, #6FD3FF, #4FC3F7, #0288d1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.8rem; 
  letter-spacing: 2px;
  font-weight: 800;
  text-shadow: 0 4px 20px rgba(111, 211, 255, 0.3);
}
nav { 
  text-align: center; 
  margin: 32px 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
nav a { 
  color: #e8f4fd; 
  text-decoration: none; 
  padding: 14px 24px; 
  border-radius: 30px;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(111,211,255,0.25);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}
nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(111,211,255,0.2), transparent);
  transition: left 0.6s ease;
}
nav a:hover::before {
  left: 100%;
}
nav a:hover { 
  background: linear-gradient(135deg, #4FC3F7, #0288d1);
  color: #0a1929;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(79, 195, 247, 0.4);
  border-color: #4FC3F7;
}

/* Intro */
.intro { text-align: center; padding: 32px 0; }
.intro .name { 
  font-size: 2.5rem; 
  font-weight: 800; 
  margin: 0 0 8px; 
  background: linear-gradient(90deg, #6FD3FF, #4FC3F7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.intro .subtitle {
  font-size: 1.1rem;
  color: #bbb;
  margin: 0 0 24px;
  font-weight: 400;
}
.center-link { display: block; text-align: center; margin: 20px 0; }
.center-link img { 
  width: 100px; 
  height: auto; 
  border-radius: 50%; 
  box-shadow: 0 8px 25px rgba(111, 211, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.center-link img:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(111, 211, 255, 0.5);
}

/* Skills */
.skills { 
  margin: 64px 0;
  padding: 48px 0;
  position: relative;
}
.skills::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #4FC3F7, transparent);
  border-radius: 1px;
}
.skills h2 { 
  text-align: center; 
  color: #fff; 
  margin-bottom: 48px; 
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.catBlock { 
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
}
.catBlock li { 
  padding: 20px 16px;
  border-radius: 15px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 2px solid rgba(111,211,255,0.2);
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.catBlock li::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(111,211,255,0.2), transparent);
  transition: left 0.5s ease;
}
.catBlock li:hover::before {
  left: 100%;
}
.catBlock li:hover { 
  transform: translateY(-8px) scale(1.05);
  background: linear-gradient(135deg, #4FC3F7, #0288d1);
  color: #08111a;
  border-color: #4FC3F7;
  box-shadow: 0 15px 40px rgba(79, 195, 247, 0.4);
}

/* CV */
.cv {
  margin: 64px 0;
  padding: 48px 0;
  text-align: center;
  position: relative;
}
.cv::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #4FC3F7, transparent);
  border-radius: 1px;
}
.cv h2 { 
  text-align: center; 
  color: #fff; 
  margin-bottom: 48px; 
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.cv img { 
  display: block; 
  margin: 0 auto 32px; 
  max-width: 300px;
  width: 100%;
  border-radius: 15px; 
  box-shadow: 0 15px 40px rgba(0,0,0,0.6); 
  border: 3px solid rgba(111,211,255,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cv img:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 50px rgba(111,211,255,0.2);
}
.btn-wrap { 
  text-align: center; 
  margin-top: 24px; 
}
button { 
  background: linear-gradient(135deg, #4FC3F7, #0288d1); 
  color: #04121a; 
  border: none; 
  padding: 16px 32px; 
  border-radius: 25px; 
  cursor: pointer; 
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(79, 195, 247, 0.3); 
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
button:hover::before {
  left: 100%;
}
button:hover { 
  transform: translateY(-4px) scale(1.05); 
  box-shadow: 0 15px 40px rgba(79, 195, 247, 0.5);
}

/* Text / contact */
p, h3 { color: #ddd; }
h3 { margin: 12px 0; font-weight: 600; }
.intro-text, .stage-description { text-align: center; }

/* Global improvements */
section {
  margin-bottom: 32px;
}

h2 {
  position: relative;
  padding-bottom: 12px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #4FC3F7, #0288d1);
  border-radius: 2px;
}

/* Contact Page */
.social-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 24px 0;
  flex-wrap: wrap;
}
.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}
.social-link img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(111, 211, 255, 0.3);
}
.social-link:hover img {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(111, 211, 255, 0.5);
}

/* Footer */
footer {
  border-top: 1px solid rgba(111,211,255,0.1);
  background: rgba(0,0,0,0.2);
}
footer p { 
  text-align: center; 
  color: #aaa; 
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  header h1 { font-size: 1.8rem; }
  .intro .name { font-size: 2rem; }
  .catBlock { 
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
  }
  .catBlock li { padding: 16px 12px; font-size: 1rem; }
  .center-link img { width: 80px; }
  nav { gap: 4px; }
  nav a { padding: 10px 16px; font-size: 0.9rem; }
  .cv img { max-width: 250px; }
  button { padding: 14px 24px; font-size: 1rem; }
}

@media (max-width: 480px) {
  .intro .name { font-size: 1.6rem; }
  .skills h2, .cv h2 { font-size: 1.6rem; }
  .catBlock { grid-template-columns: repeat(2, 1fr); }
}

/* === PAGE VEILLE === */
.veille-intro {
  text-align: center;
  padding: 32px 0 48px;
}

.veille-intro h2 {
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.veille-intro .intro-text {
  color: #bbb;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.veille-document {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}

.document-card {
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(111,211,255,0.25);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.document-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(111,211,255,0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.document-card:hover::before {
  opacity: 1;
}

.document-card:hover {
  transform: translateY(-8px);
  border-color: #4FC3F7;
  box-shadow: 0 20px 50px rgba(79, 195, 247, 0.3);
}

.card-icon {
  font-size: 4rem;
  margin-bottom: 24px;
  filter: drop-shadow(0 4px 15px rgba(111, 211, 255, 0.4));
}

.document-card h3 {
  background: linear-gradient(90deg, #6FD3FF, #4FC3F7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.card-description {
  color: #ddd;
  line-height: 1.7;
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.button-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.doc-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.doc-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}

.doc-btn:hover::before {
  left: 100%;
}

.btn-view {
  background: linear-gradient(135deg, #4FC3F7, #0288d1);
  color: #04121a;
  box-shadow: 0 10px 30px rgba(79, 195, 247, 0.3);
}

.btn-view:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 40px rgba(79, 195, 247, 0.5);
}

.btn-download {
  background: rgba(255,255,255,0.08);
  color: #e8f4fd;
  border: 2px solid rgba(111,211,255,0.25);
}

.btn-download:hover {
  background: rgba(111,211,255,0.15);
  border-color: #4FC3F7;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 25px rgba(79, 195, 247, 0.3);
}

/* === PAGE CONTACT === */
.contact-intro {
  text-align: center;
  padding: 32px 0 48px;
}

.contact-intro h2 {
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.contact-intro .intro-text {
  color: #bbb;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.contact-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.contact-card {
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(111,211,255,0.25);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
  transform: translateY(-8px);
  border-color: #4FC3F7;
  box-shadow: 0 20px 50px rgba(79, 195, 247, 0.3);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(111,211,255,0.2);
}

.card-header h3 {
  background: linear-gradient(90deg, #6FD3FF, #4FC3F7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(111,211,255,0.1);
}

.contact-item:last-child {
  border-bottom: none;
}

.item-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.item-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.item-content strong {
  color: #6FD3FF;
  font-size: 0.9rem;
  font-weight: 600;
}

.item-content a {
  color: #e8f4fd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.item-content a:hover {
  color: #4FC3F7;
}

.item-content span {
  color: #ddd;
  line-height: 1.6;
}

.social-label {
  color: #6FD3FF;
  font-weight: 600;
  font-size: 1.1rem;
}

.contact-cta {
  margin-top: 48px;
}

.cta-content {
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(111,211,255,0.25);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-content:hover {
  border-color: #4FC3F7;
  box-shadow: 0 20px 50px rgba(79, 195, 247, 0.3);
}

.cta-content h3 {
  background: linear-gradient(90deg, #6FD3FF, #4FC3F7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-content p {
  color: #ddd;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: linear-gradient(135deg, #4FC3F7, #0288d1);
  color: #04121a;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(79, 195, 247, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.contact-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}

.contact-button:hover::before {
  left: 100%;
}

.contact-button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 40px rgba(79, 195, 247, 0.5);
}

@media (max-width: 768px) {
  .veille-intro h2, .contact-intro h2 {
    font-size: 1.8rem;
  }
  
  .document-card {
    padding: 36px 24px;
  }
  
  .button-group {
    flex-direction: column;
    gap: 12px;
  }
  
  .doc-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-card {
    padding: 24px;
  }

  .cta-content {
    padding: 36px 24px;
  }

  .contact-button {
    width: 100%;
    justify-content: center;
  }
}

/* === PAGE PROJETS === */
.projects-intro {
  text-align: center;
  padding: 32px 0 48px;
}

.projects-intro h2 {
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.projects-intro .intro-text {
  color: #bbb;
  font-size: 1.1rem;
}

.projects-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.project-card {
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(111,211,255,0.25);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 32px;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: #4FC3F7;
  box-shadow: 0 20px 50px rgba(79, 195, 247, 0.3);
}

.project-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.project-icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 2px 8px rgba(111, 211, 255, 0.4));
}

.project-header h3 {
  background: linear-gradient(90deg, #6FD3FF, #4FC3F7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  flex: 1;
}

.project-tag {
  background: rgba(111,211,255,0.2);
  color: #6FD3FF;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(111,211,255,0.3);
}

.project-context {
  color: #ddd;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
  font-style: italic;
}

.project-section {
  margin-bottom: 24px;
}

.project-section h4 {
  color: #6FD3FF;
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.project-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-section li {
  color: #ddd;
  padding: 8px 0 8px 24px;
  position: relative;
  line-height: 1.6;
}

.project-section li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: #4FC3F7;
  font-weight: bold;
}

.project-skills {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid rgba(111,211,255,0.2);
}

.project-skills strong {
  color: #6FD3FF;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 16px;
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  background: rgba(79,195,247,0.15);
  color: #e8f4fd;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(111,211,255,0.3);
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: rgba(79,195,247,0.25);
  border-color: #4FC3F7;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .projects-intro h2 {
    font-size: 1.8rem;
  }

  .project-card {
    padding: 28px 20px;
  }

  .project-header h3 {
    font-size: 1.6rem;
  }
}