/* ═══════════════════════════════════════════════════════════
   PORTFOLIO — UI/UX Designer · style.css
   ═══════════════════════════════════════════════════════════ */

/* ─── VARIABLES ─────────────────────────────────────────── */
:root {
  --bg:          #121212;
  --bg-card:     #1a1a1a;
  --bg-card-2:   #1f1f1f;
  --border:      rgba(255,255,255,0.08);
  --border-h:    rgba(0,163,196,0.35);
  --cyan:        #00A3C4;
  --cyan-dim:    rgba(0,163,196,0.15);
  --cyan-glow:   rgba(0,163,196,0.4);
  --white:       #ffffff;
  --grey-1:      #e8e8e8;
  --grey-2:      #a0a0a0;
  --grey-3:      #555;
  --font-head:   'Preahvihear', sans-serif;
  --font-body:   'Poppins', sans-serif;
  --r-sm:        16px;
  --r-md:        24px;
  --r-lg:        32px;
  --nav-h:       72px;
  --trans:       0.35s cubic-bezier(.25,.46,.45,.94);
}

/* ─── RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--grey-1);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.15; }

/* ─── CUSTOM CURSOR ──────────────────────────────────────── */
.cursor {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .25s, height .25s, border-color .25s, opacity .25s;
  mix-blend-mode: normal;
}
.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform .08s;
}
body:has(a:hover) .cursor,
body:has(.btn:hover) .cursor { width: 56px; height: 56px; border-color: var(--cyan-glow); background: var(--cyan-dim); }

/* ─── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 4px; }

/* ─── HELPERS ────────────────────────────────────────────── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 120px 0; }
.accent { color: var(--cyan); }

.section-label {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  opacity: .8;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 3.5rem;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 2rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  transition: var(--trans);
  cursor: none;
}
.btn-primary {
  background: var(--cyan);
  color: #000;
}
.btn-primary:hover { background: #00c4ee; transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,163,196,.45); }
.btn-ghost {
  background: transparent;
  color: var(--grey-1);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn-sm { padding: .6rem 1.4rem; font-size: .82rem; }
.btn-full { width: 100%; justify-content: center; border-radius: var(--r-sm); }

/* ─── NAVIGATION ─────────────────────────────────────────── */
/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: auto;
  max-width: calc(100vw - 48px);
  transition: top var(--trans);
  /* On s'assure qu'aucune bordure parasite n'existe sur la barre elle-même */
  border: none; 
}

/* Supprime le trait d'accentuation spécifique au logo */
.nav-logo::after {
  display: none !important;
}

/* Optionnel : évite que le logo change d'opacité au survol si tu préfères qu'il reste net */
.nav-logo:hover {
  opacity: 1 !important;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 8px 10px 8px 16px;
  background: rgba(0, 55, 68, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 163, 196, 0.25);
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.05);
  height: 52px;
}
.nav-logo { display: flex; align-items: center; margin-right: 1.5rem; }
.nav-logo img { transition: opacity var(--trans); }
.nav-logo:hover img { opacity: .7; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-links a {
  display: block;
  padding: 6px 15px;
  font-size: .84rem;
  font-weight: 400;
  color: rgba(255,255,255,.7);
  border-radius: 100px;
  transition: color var(--trans), background var(--trans);
  white-space: nowrap;
}
.nav-links a::after { display: none; }
.nav-logo::after { display: none !important; }
.nav-logo:hover { opacity: 1; }
.nav-links a.active { color: var(--cyan); }
.nav-cta {
  background: var(--cyan) !important;
  color: #000 !important;
  padding: 7px 18px !important;
  border-radius: 100px;
  font-weight: 600 !important;
  margin-left: 6px;
  border: none !important;
  transition: background var(--trans), box-shadow var(--trans) !important;
}
.nav-cta:hover { background: #00c4ee !important; box-shadow: 0 4px 18px rgba(0,163,196,.45) !important; }
.nav-cta::after { display: none !important; }
.nav-burger { display: none; }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}
.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: .4;
}
/* Subtle radial glow bg */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at 30% 50%, rgba(0,163,196,.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Portrait */
.hero-portrait {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.portrait-halo {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,163,196,.22) 0%, rgba(0,163,196,.06) 50%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
  animation: haloPulse 4s ease-in-out infinite;
}
@keyframes haloPulse {
  0%,100% { opacity: .7; transform: translate(-50%,-50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%,-50%) scale(1.05); }
}
.portrait-ring {
  position: absolute;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(0,163,196,.25);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  animation: ringRotate 20s linear infinite;
  pointer-events: none;
}
.portrait-ring::before {
  content: '';
  position: absolute;
  top: 10px; left: 50%;
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px var(--cyan);
}
@keyframes ringRotate { to { transform: translate(-50%,-50%) rotate(360deg); } }
.portrait-img {
  width: 620px;
  height: 720px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--r-lg);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 60px rgba(0,163,196,.2));
}
.portrait-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(18,18,18,.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-h);
  border-radius: 100px;
  padding: .5rem 1.2rem;
  font-size: .8rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: .5rem;
  z-index: 2;
  box-shadow: 0 8px 30px rgba(0,0,0,.5);
}
.badge-dot {
  width: 8px; height: 8px;
  background: #00d68f;
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* Hero Text */
.hero-text { display: flex; flex-direction: column; gap: 1.5rem; }
.hero-eyebrow {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
}
.hero-title {
  font-size: clamp(3rem, 5vw, 4.5rem);
  color: var(--white);
  line-height: 1.05;
}
.hero-desc { color: var(--grey-2); max-width: 42ch; line-height: 1.8; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: .2rem; }
.stat-num { font-family: var(--font-head); font-size: 1.8rem; color: var(--white); }
.stat-label { font-size: .75rem; color: var(--grey-3); }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  letter-spacing: .15em;
  color: var(--grey-3);
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown { 0% { opacity: 0; transform: scaleY(0); transform-origin: top; } 50% { opacity: 1; } 100% { opacity: 0; transform: scaleY(1); transform-origin: top; } }

/* ─── ABOUT ──────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr .7fr;
  gap: 5rem;
  align-items: center;
}
.about-text h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); color: var(--white); margin-bottom: 1.5rem; }
.about-text p { color: var(--grey-2); margin-bottom: 1rem; }
.about-tools {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 2rem;
}
.about-tools span {
  padding: .4rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .78rem;
  color: var(--grey-2);
  transition: var(--trans);
}
.about-tools span:hover { border-color: var(--cyan); color: var(--cyan); }

.about-img-wrap { position: relative; }
.about-portrait {
  width: 100%;
  border-radius: var(--r-md);
  object-fit: cover;
}
.about-img-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse, rgba(0,163,196,.12) 0%, transparent 65%);
  border-radius: var(--r-lg);
  pointer-events: none;
  z-index: -1;
}

/* ─── BENTO GRID ─────────────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.75rem;
  transition: border-color var(--trans), transform var(--trans), box-shadow var(--trans);
  position: relative;
  overflow: hidden;
}
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 100% 0%, rgba(0,163,196,.05) 0%, transparent 60%);
  pointer-events: none;
}
.bento-card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.bento-card h3 { font-size: 1.1rem; color: var(--white); margin-bottom: .75rem; }
.bento-card p { font-size: .88rem; color: var(--grey-2); line-height: 1.65; }

.bento-wide { grid-column: span 2; display: flex; gap: 1.5rem; align-items: flex-start; }
.bento-tall { grid-row: span 2; }
.bento-accent { background: linear-gradient(135deg, #0f2a35 0%, var(--bg-card) 60%); }

.bento-icon { flex-shrink: 0; width: 60px; }
.bento-icon img { width: 60px; }
.bento-icon-sm { margin-bottom: 1rem; }

.skill-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.tag {
  padding: .3rem .8rem;
  background: var(--cyan-dim);
  border: 1px solid var(--border-h);
  border-radius: 100px;
  font-size: .75rem;
  color: var(--cyan);
}

.skill-bar-wrap { display: flex; flex-direction: column; gap: .75rem; margin-top: 1rem; }
.skill-bar { display: flex; flex-direction: column; gap: .3rem; }
.skill-bar > div { /* bar row */ display: flex; justify-content: space-between; font-size: .78rem; color: var(--grey-2); }
.skill-bar span, .skill-bar b { font-size: .78rem; }
.skill-bar b { color: var(--cyan); font-weight: 500; }
.skill-bar::after {
  content: '';
  display: block;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--cyan) var(--w), var(--bg-card-2) var(--w));
}

.bento-edu-item { font-size: .85rem; color: var(--grey-2); margin-bottom: .5rem; }
.bento-edu-item .accent { font-weight: 500; }

.bento-bg-icon {
  position: absolute;
  right: -10px; top: -10px;
  width: 100px;
  opacity: .12;
  pointer-events: none;
}

.soft-list { display: flex; flex-direction: column; gap: .7rem; margin-top: .5rem; }
.soft-list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .88rem;
  color: var(--grey-2);
}
.dot-accent {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--cyan);
}

.bento-logo-card { display: flex; align-items: center; gap: 1.25rem; }
.club-logo { width: 56px; height: 56px; flex-shrink: 0; }

.lang-item {
  display: grid;
  grid-template-columns: 80px 1fr 50px;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
  font-size: .82rem;
  color: var(--grey-2);
}
.lang-bar {
  height: 4px;
  background: var(--bg-card-2);
  border-radius: 4px;
  overflow: hidden;
}
.lang-bar div { height: 100%; background: linear-gradient(90deg, var(--cyan), #006e87); border-radius: 4px; }
.lang-level { color: var(--cyan); font-size: .75rem; text-align: right; }

/* ─── FILTER BAR ─────────────────────────────────────────── */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px;
  width: fit-content;
  margin: 0 auto 2rem;
  flex-wrap: wrap;
}
.filter-pill {
  padding: .55rem 1.4rem;
  border-radius: 100px;
  border: none;
  background: transparent;
  color: var(--grey-2);
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 400;
  cursor: none;
  transition: var(--trans);
  white-space: nowrap;
}
.filter-pill:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.filter-pill.active { background: var(--cyan); color: #000; font-weight: 500; }

.projet-card.hidden { display: none; }
.projet-card.fade-out { opacity: 0; transform: translateY(10px); }

/* ─── PROJETS ────────────────────────────────────────────── */
.projet-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}
.projet-card:first-of-type { border-top: 1px solid var(--border); }
.projet-card--right { direction: rtl; }
.projet-card--right > * { direction: ltr; }

.projet-img-wrap {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
}
.projet-img-wrap img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform .6s ease;
}
.projet-card:hover .projet-img-wrap img { transform: scale(1.04); }
.projet-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,163,196,.15), rgba(0,0,0,.4));
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  transition: opacity var(--trans);
}
.projet-card:hover .projet-img-overlay { opacity: 1; }
.projet-img-overlay span {
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 500;
}

.projet-info { display: flex; flex-direction: column; gap: 1rem; }
.projet-num { font-family: var(--font-head); font-size: 4rem; color: rgba(0,163,196,.1); line-height: 1; }
.projet-info h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); color: var(--white); margin-top: -.5rem; }
.projet-info p { color: var(--grey-2); font-size: .92rem; }
.projet-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.projet-tags span {
  padding: .3rem .8rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .75rem;
  color: var(--grey-2);
}

/* Gallery */
.photo-gallery {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-top: 4rem;
}
.gallery-item { border-radius: var(--r-md); overflow: hidden; }
.gallery-item img { width: 100%; aspect-ratio: 2/3; object-fit: cover; transition: transform .6s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item--center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 2rem;
  text-align: center;
}
.gallery-label .accent { font-family: var(--font-head); font-size: 2.5rem; display: block; }

/* ─── TIMELINE ───────────────────────────────────────────── */
.timeline {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--cyan), transparent);
  transform: translateX(-50%);
  opacity: .4;
}
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 28px 1fr;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0;
}
.timeline-item--right .timeline-card { grid-column: 3; }
.timeline-item:not(.timeline-item--right) .timeline-card { grid-column: 1; }
.timeline-item:not(.timeline-item--right) .timeline-point { grid-column: 2; }
.timeline-item--right .timeline-point { grid-column: 2; grid-row: 1; }
.timeline-item:not(.timeline-item--right) { }

.timeline-point {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: .25rem;
  position: relative;
  z-index: 1;
}
.timeline-point img {
  width: 28px;
  filter: drop-shadow(0 0 8px rgba(0,163,196,.6));
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.5rem;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.timeline-card:hover { border-color: var(--border-h); box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.timeline-year {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--cyan);
  text-transform: uppercase;
  display: block;
  margin-bottom: .5rem;
}
.timeline-card h3 { font-size: 1.05rem; color: var(--white); margin-bottom: .6rem; }
.timeline-card p { font-size: .85rem; color: var(--grey-2); }

/* ─── RECOMMANDATION ─────────────────────────────────────── */
.recommandation .section-label {
  font-size: .95rem;
  letter-spacing: .18em;
  opacity: 1;
  margin-bottom: 2rem;
}

.reco-card {
  max-width: 2450px;
  margin: 0 auto;
  background: #1a1a1a;
  border: 1px solid rgba(0, 163, 196, 0.3);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.reco-logo-wrap {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #00A3C4, #006e87);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reco-logo-wrap svg {
  width: 36px;
  height: 36px;
}

/* Header */
.reco-header {
  padding: 2rem 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.reco-company {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reco-company-name {
  display: block;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  font-family: var(--font-head);
}
.reco-company-sub {
  display: block;
  font-size: .9rem;
  color: var(--grey-2);
  font-weight: 300;
}

/* Titre centré */
.reco-title-block {
  text-align: center;
  padding: 3.5rem 3rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.reco-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: 1rem;
}
.reco-objet {
  font-size: .88rem;
  color: var(--grey-2);
  font-weight: 300;
}

/* Corps */
.reco-body {
  padding: 3rem 3rem 2.5rem;
}
.reco-body p {
  font-size: .92rem;
  color: #a0a0a0;
  line-height: 2;
  margin-bottom: 1.5rem;
}
.reco-body p:last-child { margin-bottom: 0; }
.reco-body strong {
  color: #e8e8e8;
  font-weight: 600;
}
.reco-closing {
  font-style: italic;
  color: #666 !important;
  margin-top: .5rem;
}

/* Footer */
.reco-footer {
  padding: 2rem 3rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.reco-sign-info {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.reco-sep {
  width: 200px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin-bottom: .75rem;
}
.reco-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.reco-role {
  font-size: .82rem;
  font-weight: 400;
  color: var(--grey-2);
}
.reco-email {
  font-size: .82rem;
  font-weight: 400;
  color: #00A3C4;
  text-decoration: none;
  transition: opacity .3s;
}
.reco-email:hover { opacity: .7; }
.reco-signature {
  height: 70px;
  width: auto;
  filter: invert(1) opacity(.6);
  flex-shrink: 0;
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group label { font-size: .8rem; font-weight: 500; color: var(--grey-2); letter-spacing: .05em; text-transform: uppercase; }
.form-group input,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: .9rem 1.25rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 300;
  outline: none;
  transition: border-color var(--trans), box-shadow var(--trans);
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--grey-3); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,163,196,.12);
}

/* Contact infos */
.contact-infos { display: flex; flex-direction: column; gap: 1rem; }
.contact-info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
}
.contact-intro {
  margin-bottom: 2.5rem;
}
.contact-info-card svg { flex-shrink: 0; }
.info-label { font-size: .72rem; color: var(--grey-3); text-transform: uppercase; letter-spacing: .1em; }
.info-value { font-size: .9rem; color: var(--grey-1); margin-top: .15rem; }

.social-links { display: flex; gap: .75rem; margin-top: .5rem; }
.social-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .82rem;
  color: var(--grey-2);
  transition: var(--trans);
}
.social-link:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }

/* CV Card */
.cv-card {
  background: linear-gradient(135deg, #00A3C4, #006e87);
  border-radius: var(--r-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.cv-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: #fff;
  font-weight: 400;
}
.cv-card p {
  font-size: .85rem;
  color: rgba(255,255,255,.8);
  line-height: 1.6;
}
.cv-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .9rem 1.5rem;
  background: #fff;
  color: #006e87;
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 600;
  font-family: var(--font-body);
  margin-top: .25rem;
  transition: opacity var(--trans), transform var(--trans);
}
.cv-btn:hover {
  opacity: .9;
  transform: translateY(-2px);
}

/* Espace bouton submit / cv-card */
.btn-full { margin-bottom: 1.5rem; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-inner p { font-size: .8rem; color: var(--grey-3); }
.back-top {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--grey-2);
  transition: var(--trans);
}
.back-top:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-3px); }

/* ─── ANIMATIONS ─────────────────────────────────────────── */
[data-aos] { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos].aos-animate { opacity: 1; transform: none; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-portrait { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-desc { margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-wrap { max-width: 360px; margin: 0 auto; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-wide { grid-column: span 2; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .nav-links { display: none; }
  .nav-burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: none;
  }
  .nav-burger span { display: block; width: 24px; height: 2px; background: var(--grey-1); transition: var(--trans); }
  .projet-card { grid-template-columns: 1fr; gap: 2rem; direction: ltr !important; }
  .projet-card--right > * { direction: ltr; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; flex-direction: column; }
  .bento-tall { grid-row: span 1; }
  .timeline-item { grid-template-columns: 1fr; }
  .timeline-line { left: 14px; }
  .timeline-point { grid-column: 1 !important; justify-content: flex-start; }
  .timeline-card { grid-column: 1 !important; margin-left: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .photo-gallery { grid-template-columns: 1fr; }
  .gallery-item--center { aspect-ratio: auto; padding: 3rem; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .stat-divider { display: none; }
}
