/* ============================
   PALETTE GLOBALE UNIFIÉE
============================ */

:root {
  /* ==== Light Mode ==== */
  --bg: #f6f8fb;                 /* fond clair moderne */
  --surface: #ffffff;            /* bloc principal */
  --surface-2: #ffffffee;        /* surface translucide */
  --border: #e6eaf0;             /* bordure soft */
  
  --text-main: #1b1f23;          /* texte principal */
  --text-soft: #5c6672;          /* muted text */

  /* Accent = bleu industriel */
  --accent: navy;        /* accent vibrant */
  --accent-soft: rgba(65,105,225,0.12);

  /* Secondary accent */
  --accent-secondary: navy;   /* léger bleu pastel pour highlights */

  /* Radius + Shadows */
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-soft: 
    0 10px 30px rgba(14,25,40,.08),
    0 2px 8px rgba(14,25,40,.06);

  --transition-med: all .25s ease;
  --transition-fast: all .18s ease;
}



/* ============================
   RESET & BASE
============================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Aptos", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition-med), color var(--transition-med);
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
}

/* Layout helper */

.container {
  width: min(1120px, 100% - 2.6rem);
  margin: 0 auto;
}

.section {
  padding: 2rem 0;
}

/* ============================
   HEADER
============================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

.branding {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  box-shadow: var(--shadow-subtle);
}

.branding-text {
  display: flex;
  flex-direction: column;
}

.branding-name {
  font-weight: 700;
  font-size: 0.98rem;
}

.branding-role {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.main-nav {
  display: flex;
  gap: 1.3rem;
  font-size: 0.9rem;
}

.main-nav a {
  position: relative;
  padding-bottom: 0.2rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-fast);
}

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


/* ============================
   home (Version A)
============================ */

.home-section {
  padding-top: 3.5rem;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.4fr);
  gap: 3rem;
  align-items: center;
}

.home-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.home-title {
  font-size: 40px;
  line-height: 1.1;
  color: var(--navy);
}

.home-highlight {
  color: var(--accent-secondary);
  font-size: 25px;
}

.home-subtext {
  font-size: 0.98rem;
  max-width: 40rem;
  color: var(--text-soft);
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.6rem 0 0.8rem;
}

.home-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* Buttons & badges */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast), color var(--transition-fast),
    border-color var(--transition-fast);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-soft);
  width: 180px;
  height: 40px;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  width: 200px;
  height: 40px;
}

.btn-secondary:hover {
  background: var(--accent-soft);
}

.cv {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-soft);
  width: 240px;
  height: 40px;
}

.cv:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}



.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-text {
  font-size: 0.9rem;
  color: var(--accent);
}

.btn-text:hover {
  text-decoration: underline;
}

.tag,
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.23rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  background: color-mix(in srgb, var(--surface) 70%, var(--powder) 30%);
  border: 1px solid var(--border-subtle);
}

.tag-accent {
  background: rgba(200, 111, 167, 0.25);
  color: var(--fuchsia-soft);
}

/* home visuel */

.home-visual {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.profile-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
}

.profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 60px;
  object-fit: cover;
  border: 1px solid rgba(19, 19, 167, 0.418);
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.profile-name {
  font-weight: 700;
  font-size: 20px;
}

.profile-title {
  font-size: 0.86rem;
  color: var(--text-soft);
}

.profile-badges {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.logos-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  opacity: 0.85;
  justify-content: right;
}

.logos-strip img {
  height: 70px;
  filter: grayscale(0.1);
  opacity: 0.9;
}

/* ============================
   ABOUT
============================ */

.about-section {
  background: color-mix(in srgb, var(--bg) 82%, var(--powder) 18%);

}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 2.4rem;
}

.about-pillars {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
}

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

.section-intro {
  max-width: 40rem;
  font-size: 0.98rem;
  color: var(--text-soft);
}

.project-card {
  margin-top: 1.8rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--accent);
}

.project-featured {
  border-left: 4px solid var(--accent);
}

.project-header {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  align-items: flex-start;
}

.project-subtitle {
  margin-top: 0.15rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.project-tag {
  align-self: flex-start;
  padding: 0.18rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent);
  background: var(--accent-soft);
  color: var(--accent);
}

.project-body {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.4fr);
  gap: 1.6rem;
}

.project-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.4rem;
  margin-top: 1.8rem;
}

.tech-list {
  list-style: none;
  padding-left: 0;
}

.tech-list li::before {
  content: "• ";
  color: var(--accent);
}

/* ============================
   SKILLS
============================ */

.skills-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.skill-block {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1.5rem;
  box-shadow: var(--shadow-subtle);
}

/* ============================
   CONTACT – Nouveau design Premium
============================ */

.contact-section {
  padding: 4rem 0;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--bg) 95%, var(--accent) 5%),
    color-mix(in srgb, var(--bg) 90%, var(--accent) 10%)
  );
  position: relative;
  overflow: hidden;
}

/* Halo décoratif (light & dark mode compatible) */
.contact-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -140px;
  width: 380px;
  height: 380px;
  background: radial-gradient(
    330px at center,
    rgba(28,182,216,0.18),
    transparent 70%
  );
  filter: blur(12px);
  pointer-events: none;
  z-index: 0;
}



/* ------- GRID ------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
  gap: 2.2rem;
  position: relative;
  z-index: 2;
}

/* ------- LEFT SIDE ------- */

.contact-list {
  list-style: none;
  padding-left: 0;
  font-size: 0.98rem;
}

.contact-list li {
  margin-bottom: 0.4rem;
  color: var(--text-soft);
}

.contact-list strong {
  color: var(--text-main);
  font-weight: 600;
}

/* ------- FORM CARD ------- */

.contact-form {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px) saturate(140%);
}

/* ------- INPUTS ------- */

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1rem;
}

.form-row label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

input,
textarea {
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 12px 14px;
  font: inherit;
  background: var(--surface);
  color: var(--text-main);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
  transition: var(--transition);
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 0.8;
}

input:hover,
textarea:hover {
  border-color: rgba(28,182,216,0.35);
  box-shadow: 0 1px 4px rgba(28,182,216,0.08);
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  background: #ffffff08;
  box-shadow: 0 0 0 3px rgba(28,182,216,0.25);
}

/* ------- SUBMIT BUTTON ------- */

.contact-form .btn-primary {
  width: 100%;
  margin-top: 0.8rem;
  padding: 0.8rem 1.3rem;
  background: linear-gradient(180deg, navy, rgba(0, 0, 194, 0.87));
  border: 1px solid rgba(28,182,216,0.25);
  border-radius: 999px;
  color: #cfd1d1;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 6px 16px rgba(28,182,216,0.18);
  transition: var(--transition);
}

.contact-form .btn-primary:hover {
  transform: translateY(-1px);
  filter: saturate(1.08);
  box-shadow: 0 8px 22px rgba(28,182,216,0.28);
}

/* ------- RESPONSIVE ------- */

@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .contact-section {
    padding: 3rem 0;
  }
}


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

.site-footer {
  padding: 1.6rem 0;
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.footer-note {
  font-weight: 500;
}

/* ============================
   RESPONSIVE
============================ */

@media (max-width: 960px) {
  .home-grid,
  .about-grid,
  .project-body,
  .skills-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-section {
    padding-top: 3rem;
  }

  .main-nav {
    display: none; /* à remplacer plus tard par un burger si tu veux */
  }
}

@media (max-width: 720px) {
  .section {
    padding: 3rem 0;
  }

  .profile-card,
  .about-pillars,
  .project-card,
  .skill-block,
  .contact-form {
    padding: 1.2rem;
  }

  .home-grid {
    gap: 2.3rem;
  }
}


.logos_info {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  justify-content: center;
}


.logos_info img {
  height: 60px;
  filter: grayscale(0.1);
  margin: 0 0.5rem 0 0.5rem ;
}


.logos_info2 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  justify-content: center;
}


.logos_info2 img {
  height: 90px;
  filter: grayscale(0.1);
  margin: 0 0.5rem 0 0.5rem ;
}


/* Status pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.status-pill.active {
  background: rgba(34,197,94,0.08);
  color: #17a34a;
}

.status-pill.inactive {
  background: rgba(148,163,184,0.12);
  color: #6b7280;
}

/* 🕒 En attente */
.status-pill.pending {
  background: rgba(245,158,11,0.1);
  color: #d97706;
}

/* ⚠️ Avertissement */
.status-pill.warning {
  background: rgba(234,179,8,0.1);
  color: #ca8a04;
}

/* ❌ Erreur */
.status-pill.error {
  background: rgba(239,68,68,0.1);
  color: #dc2626;
}

/* 💬 Info */
.status-pill.info {
  background: rgba(59,130,246,0.1);
  color: #2563eb;
}

/* ✅ Succès (alternative à active) */
.status-pill.success {
  background: rgba(16,185,129,0.1);
  color: #059669;
}

/* 🔵 En cours */
.status-pill.processing {
  background: rgba(37,99,235,0.08);
  color: #2563eb;
}

.section.about-section {
background-color: #eef0f3;
}





.cv-section {
  position: relative;
  background-image: url("assets/images/1\ -\ Copie.png"); /* ← mets ton image ici */
  background-size: cover;      /* remplit sans déformer */
  background-position: center; /* toujours centré */
  background-repeat: no-repeat;
  background-attachment: fixed; /* effet premium "parallax" */
  padding: 4rem 0;
}

/* Optionnel : voile pour lisibilité du texte */
.cv-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(243, 243, 243, 0.555);        /* Intensité du voile */
  backdrop-filter: blur(0px);             /* flou léger (premium) */
  z-index: 1;
}

.cv-section .container {
  position: relative;
  z-index: 2;  /* passe au-dessus du voile */
}



/* Container du slider */
.logos-slider {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 12px 0;
}

/* Bande qui défile */
.logos-track {
  display: flex;
  gap: 2rem;
  width: calc(200%); /* 2x car duplication */
  animation: scroll 60s linear infinite;
}

/* Logos */
.logos-track img {
  height: 70px;
  filter: grayscale(0.1);
  opacity: 0.9;
  transition: transform .3s ease, opacity .3s ease;
}

.logos-track img:hover {
  transform: scale(1.08);
  opacity: 1;
}

/* Animation du défilement infini */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* on défile toute la première copie */
  }
}



/* ==========================
   END OF FILE