@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');
 
/* --- VARIABLES --- */
:root {
  --c1: #FF6B6B;
  --c2: #FFE66D;
  --c3: #4ECDC4;
  --c4: #A855F7;
  --dark: #0D0D1A;
  --dark2: #1A1A2E;
  --text: #1C1C2E;
  --text-muted: #6B7280;
  --white: #FFFFFF;
--f-head: 'Space Grotesk', sans-serif;
--f-body: 'Inter', sans-serif;
  --r: 16px;
  --r-lg: 32px;
  --trans: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
 
/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--f-body); color: var(--text); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
 
/* --- UTILITAIRES --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.gradient-text {
  background: linear-gradient(135deg, var(--c1) 0%, var(--c4) 60%, var(--c3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-tag {
  display: inline-block;
  font-family: var(--f-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c1);
  border: 1.5px solid var(--c1);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.section-tag.center { display: block; text-align: center; width: fit-content; margin: 0 auto 1rem; }
.section-tag.light { color: var(--c2); border-color: var(--c2); }
.section-title {
  font-family: var(--f-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2.5rem;
  color: var(--text);
}
.section-title.center { text-align: center; }
.section-title.light { color: var(--white); }
section { padding: 100px 0; }
 
/* --- BOUTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem 2rem;
  border-radius: var(--r-lg);
  border: none;
  cursor: pointer;
  transition: var(--trans);
  letter-spacing: 0.5px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--c1), var(--c4));
  color: var(--white);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(255, 107, 107, 0.5); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--c3); color: var(--c3); transform: translateY(-3px); }
.btn-accent {
  background: linear-gradient(135deg, var(--c3), #2D9CDB);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(78, 205, 196, 0.35);
}
.btn-accent:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(78, 205, 196, 0.5); }
.btn-small { padding: 0.6rem 1.4rem; font-size: 0.8rem; background: var(--white); color: var(--text); }
.btn-small:hover { background: var(--c1); color: var(--white); }
 
/* --- NAVIGATION --- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--trans);
}
#navbar.scrolled {
  background: rgba(13, 13, 26, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--f-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
}
.logo span { color: var(--c1); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  transition: var(--trans);
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--c1);
  border-radius: 2px;
  transition: var(--trans);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--trans); }
 
/* --- HERO --- */
#hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 60px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: blobFloat 8s ease-in-out infinite;
}
.blob-1 { width: 500px; height: 500px; background: var(--c1); top: -150px; right: -100px; animation-delay: 0s; }
.blob-2 { width: 350px; height: 350px; background: var(--c4); bottom: -80px; left: -60px; animation-delay: -3s; }
.blob-3 { width: 250px; height: 250px; background: var(--c3); top: 40%; left: 40%; animation-delay: -5s; }
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(20px, -30px) scale(1.05); }
  66%  { transform: translate(-15px, 20px) scale(0.95); }
}
.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(78, 205, 196, 0.12);
  border: 1px solid rgba(78, 205, 196, 0.3);
  color: var(--c3);
  font-family: var(--f-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c3); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }
.hero-title {
  font-family: var(--f-head);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.hero-role {
  font-family: var(--f-head);
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-tools { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.tool-tag {
  font-family: var(--f-head);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  letter-spacing: 0.5px;
}
.hero-right { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.avatar-wrap { position: relative; width: 220px; height: 220px; }
.avatar-ring {
    position: absolute;
    inset: -44px;
    border-radius: 40%;
    background: conic-gradient(var(--c1), var(--c4), var(--c3), var(--c1));
    animation: spin 6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.avatar {
  position: absolute;
  inset: 4px;
  border-radius: var(--r); /* carré arrondi léger */
  background: var(--dark2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar img {
  object-position: 50% 20%;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.avatar-placeholder {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--f-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--c1);
}
.social-links { display: flex; gap: 0.75rem; padding-top:20%; }
.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans);
}
.social-btn:hover { background: var(--c1); border-color: var(--c1); color: var(--white); transform: translateY(-4px); }
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
  letter-spacing: 2px;
  font-family: var(--f-head);
  z-index: 1;
}
.scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollDown 1.5s ease-in-out infinite;
}
@keyframes scrollDown { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
 
/* --- ABOUT --- */
#about { background: #F9FAFB; }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-deco {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 20px; left: 20px;
  border-radius: var(--r);
  background: linear-gradient(135deg, var(--c1), var(--c4));
  opacity: 0.15;
}
.about-img {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img-placeholder {
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--f-head);
  font-size: 4rem;
  font-weight: 800;
  color: var(--c1);
  width: 100%;
  height: 100%;
}
.about-text p { font-size: 1rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 1rem; }
.about-text strong { color: var(--text); font-weight: 500; }
 
/* --- SKILLS --- */
.skills-section { background: var(--white); }
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.skill-card {
  padding: 2rem;
  border-radius: var(--r);
  border: 1.5px solid #F0F0F5;
  transition: var(--trans);
  background: var(--white);
}
.skill-card:hover { border-color: var(--c1); transform: translateY(-6px); box-shadow: 0 16px 40px rgba(255,107,107,0.1); }
.skill-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.design-icon { background: rgba(255,107,107,0.1); color: var(--c1); }
.photo-icon  { background: rgba(168,85,247,0.1); color: var(--c4); }
.code-icon   { background: rgba(78,205,196,0.1); color: var(--c3); }
.skill-card h3 { font-family: var(--f-head); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; }
.skill-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }
.skill-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.skill-tags span {
  font-size: 0.72rem;
  font-family: var(--f-head);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  background: #F3F4F6;
  color: var(--text-muted);
}
.skills-bars { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.2rem; }
.skill-bar-item {}
.skill-bar-label { display: flex; justify-content: space-between; font-family: var(--f-head); font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; }
.skill-bar-track { height: 8px; background: #F0F0F5; border-radius: 10px; overflow: hidden; }
.skill-bar-fill { height: 100%; width: 0; border-radius: 10px; background: linear-gradient(90deg, var(--c1), var(--c4)); transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1); }
 
/* --- PROJECTS --- */
#projects { background: #F9FAFB; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.project-card { background: var(--white); border-radius: var(--r); overflow: hidden; border: 1.5px solid #F0F0F5; transition: var(--trans); }
.project-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); border-color: transparent; }
.project-img { position: relative; aspect-ratio: 16/10; background: #E5E7EB; overflow: hidden; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--trans); }
.project-card:hover .project-img img { transform: scale(1.06); }
.project-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--f-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-muted);
  background: linear-gradient(135deg, #F0F0F5, #E5E7EB);
}
.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,26,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--trans);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-info { padding: 1.5rem; }
.project-tag {
  display: inline-block;
  font-family: var(--f-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c1);
  margin-bottom: 0.6rem;
}
.project-info h3 { font-family: var(--f-head); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.project-info p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
 
/* --- CV --- */
.cv-section { background: var(--dark); }
.cv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-bottom: 3rem; }
.cv-col-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c2);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.timeline { display: flex; flex-direction: column; gap: 1.8rem; }
.timeline-item { display: flex; gap: 1.2rem; position: relative; }
.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c1);
  flex-shrink: 0;
  margin-top: 6px;
  box-shadow: 0 0 0 4px rgba(255,107,107,0.2);
}
.timeline-content {}
.timeline-date { font-family: var(--f-head); font-size: 0.75rem; font-weight: 700; color: var(--c1); letter-spacing: 1px; display: block; margin-bottom: 4px; }
.timeline-content h4 { font-family: var(--f-head); font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.timeline-content p { font-size: 0.88rem; color: rgba(255,255,255,0.45); line-height: 1.6; }
.cv-download { text-align: center; }
 
/* --- CONTACT --- */
#contact { background: var(--white); }
.contact-intro { text-align: center; color: var(--text-muted); max-width: 500px; margin: -1.5rem auto 3rem; font-size: 1rem; line-height: 1.7; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,107,107,0.08);
  color: var(--c1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-label { display: block; font-family: var(--f-head); font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 2px; }
.contact-item a { color: var(--text); font-size: 0.95rem; transition: var(--trans); }
.contact-item a:hover { color: var(--c1); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-family: var(--f-head); font-size: 0.8rem; font-weight: 700; color: var(--text); }
.form-group input,
.form-group textarea {
  padding: 0.85rem 1.1rem;
  border: 1.5px solid #E5E7EB;
  border-radius: var(--r);
  font-family: var(--f-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: var(--trans);
  outline: none;
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--c1); box-shadow: 0 0 0 3px rgba(255,107,107,0.1); }
.form-note { font-size: 0.85rem; color: var(--c3); text-align: center; min-height: 20px; }
 
/* --- FOOTER --- */
footer { background: var(--dark); color: rgba(255,255,255,0.4); text-align: center; padding: 2.5rem 1rem; font-size: 0.88rem; }
.footer-logo { font-family: var(--f-head); font-size: 2rem; font-weight: 800; color: var(--white); margin-bottom: 0.5rem; }
.footer-logo span { color: var(--c1); }
 
/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--c1), var(--c4)); border-radius: 3px; }
::selection { background: var(--c1); color: var(--white); }
 
/* --- ANIMATIONS ENTRÉE --- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
 
/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero-right { order: -1; }
  .hero-ctas { justify-content: center; }
  .hero-tools { justify-content: center; }
  .badge { margin: 0 auto 1.5rem; }
  .hero-desc { margin: 0 auto 2rem; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-wrap { max-width: 340px; margin: 0 auto; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .cv-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(13,13,26,0.98); padding: 1.5rem 2rem; gap: 1.2rem; border-top: 1px solid rgba(255,255,255,0.06); }
  .nav-links.open { display: flex; }
  .burger { display: flex; }
}
@media (max-width: 600px) {
  .skills-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .avatar-wrap { width: 160px; height: 160px; }
  section { padding: 70px 0; }
}
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.project-card,
.skill-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-card:hover,
.skill-card:hover {
  transform: translateY(-10px) scale(1.02);
}
.hero-title {
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

    :root{
   
      --radius:24px;
      
    }

    *{
      margin:0;
      padding:0;
      box-sizing:border-box;
    }

    body{
      background:var(--bg);
      color:var(--text);
      font-family:'Inter',sans-serif;
      overflow-x:hidden;
    }

    a{
      text-decoration:none;
      color:inherit;
    }

    img{
      max-width:100%;
      display:block;
    }

    .container{
      width:min(1200px,90%);
      margin:auto;
    }

    /* HERO */

    .hero{
      padding:120px 0 80px;
      text-align:center;
      position:relative;
      overflow:hidden;
    }

    .hero::before{
      content:'';
      position:absolute;
      width:500px;
      height:500px;
      border-radius:50%;
      background:linear-gradient(135deg,var(--accent),var(--accent2));
      filter:blur(120px);
      opacity:.18;
      top:-200px;
      left:50%;
      transform:translateX(-50%);
    }

    .hero h1{
      position:relative;
      z-index:2;
      font-family:'Space Grotesk',sans-serif;
      font-size:clamp(2.8rem,6vw,5rem);
      margin-bottom:1rem;
    }

    .hero p{
      position:relative;
      z-index:2;
      color:var(--muted);
      max-width:700px;
      margin:auto;
      line-height:1.8;
      font-size:1rem;
    }

    .back-btn{
      display:inline-flex;
      align-items:center;
      gap:10px;
      margin-top:2rem;
      background:linear-gradient(135deg,var(--accent),var(--accent2));
      padding:14px 28px;
      border-radius:999px;
      font-weight:600;
      transition:var(--transition);
      position:relative;
      z-index:2;
    }

    .back-btn:hover{
      transform:translateY(-4px);
    }

    /* GALLERY */

    .gallery{
      padding-bottom:100px;
    }

    .gallery-grid{
      display:grid;
      grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
      gap:28px;
    }

    .card{
      background:var(--card);
      border-radius:var(--radius);
      overflow:hidden;
      position:relative;
      border:1px solid rgba(255,255,255,0.05);
      transition:var(--transition);
    }

    .card:hover{
      transform:translateY(-10px);
      box-shadow:0 25px 60px rgba(0,0,0,.45);
    }

    .card img{
      width:100%;
      height:340px;
      object-fit:cover;
      transition:var(--transition);
    }

    .card:hover img{
      transform:scale(1.05);
    }

    .overlay{
      position:absolute;
      inset:0;
      background:linear-gradient(to top, rgba(0,0,0,.85), transparent);
      display:flex;
      align-items:flex-end;
      justify-content:center;
      padding-bottom:25px;
      opacity:0;
      transition:var(--transition);
    }

    .card:hover .overlay{
      opacity:1;
    }

    .view-btn{
      border:none;
      background:white;
      color:#111;
      padding:12px 20px;
      border-radius:999px;
      font-weight:600;
      cursor:pointer;
      transition:var(--transition);
    }


    .card-content{
      padding:22px;
    }

    .card-content h3{
      font-family:'Space Grotesk',sans-serif;
      margin-bottom:10px;
      font-size:1.1rem;
    }

    .card-content p{
      color:var(--muted);
      line-height:1.7;
      font-size:.95rem;
    }

    /* LIGHTBOX */

    .lightbox{
      position:fixed;
      inset:0;
      background:rgba(0,0,0,.93);
      display:none;
      align-items:center;
      justify-content:center;
      z-index:9999;
      padding:40px;
      animation:fadeIn .3s ease;
    }

    .lightbox img{
      max-width:90%;
      max-height:90vh;
      border-radius:20px;
      object-fit:contain;
      animation:zoomIn .35s ease;
      box-shadow:0 20px 80px rgba(0,0,0,.5);
    }

  
    @keyframes zoomIn{
      from{
        transform:scale(.7);
        opacity:0;
      }
      to{
        transform:scale(1);
        opacity:1;
      }
    }

    @keyframes fadeIn{
      from{
        opacity:0;
      }
      to{
        opacity:1;
      }
    }

    /* RESPONSIVE */

    @media(max-width:768px){

      .hero{
        padding-top:100px;
      }

      .card img{
        height:280px;
      }

      .lightbox{
        padding:20px;
      }

      .close-lightbox{
        top:10px;
        right:20px;
      }

    }
    /* Overlay centré */
.card-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-image-wrapper img {
  transform: scale(1.04);
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover .overlay {
  opacity: 1;
}

/* Bouton — remplacez #E63F6B par votre couleur */
.btn.btn-small {
  background-color: #E63F6B;
  color: #fff;
  padding: 10px 22px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn.btn-small:hover {
  background-color: #c8304f;
  transform: scale(1.05);
}
