/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
  --red: #e8192c; --red-glow: rgba(232,25,44,.25);
  --dark: #0d0d0f; --dark2: #141416; --dark3: #1c1c1f;
  --border: rgba(255,255,255,.07);
  --text: #e8e8ec; --muted: #888899;
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  background:var(--dark); color:var(--text);
  font-family:'Outfit',sans-serif; min-height:100vh; overflow-x:hidden;
}
body::before {
  content:''; position:fixed; inset:0; pointer-events:none; z-index:0;
  background: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='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}
a { color:inherit; text-decoration:none; }
::selection { background:rgba(232,25,44,.3); color:var(--text); }
::-webkit-scrollbar { width:5px; }
::-webkit-scrollbar-track { background:var(--dark2); }
::-webkit-scrollbar-thumb { background:var(--red); border-radius:10px; }

/* ── NAV ────────────────────────────────────────────────────── */
.site-nav {
  position:fixed; top:0; left:0; right:0; z-index:100; height:60px;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 2rem; background:rgba(13,13,15,.88);
  backdrop-filter:blur(16px); border-bottom:1px solid var(--border);
}
.site-nav .logo {
  font-family:'Bebas Neue',cursive; font-size:1.6rem;
  color:var(--red); letter-spacing:3px;
  transition:letter-spacing .3s, text-shadow .3s;
}
.site-nav .logo:hover { letter-spacing:5px; text-shadow:0 0 18px rgba(232,25,44,.5); }
.menu { display:flex; gap:.25rem; list-style:none; }
.menu a {
  color:var(--muted); font-size:.8rem; font-weight:500;
  letter-spacing:.05em; text-transform:uppercase;
  padding:.4rem .85rem; border-radius:6px; transition:all .2s;
}
.menu a:hover, .menu a.active { background:rgba(232,25,44,.12); color:var(--text); }
.menu a.active { color:var(--red); }

/* ── BURGER ─────────────────────────────────────────────────── */
.burger-toggle { display:none; }
.burger {
  display:none; flex-direction:column; gap:5px;
  cursor:pointer; border:none; background:none; padding:.5rem; z-index:101;
}
.burger span {
  width:24px; height:2.5px; border-radius:2px;
  background:linear-gradient(90deg,var(--red),#ff6b6b);
  transition:all .3s cubic-bezier(.4,0,.2,1);
  box-shadow:0 2px 8px rgba(232,25,44,.25);
}
.burger-toggle:checked ~ .burger span:nth-child(1) { transform:rotate(45deg) translate(9px,9px); }
.burger-toggle:checked ~ .burger span:nth-child(2) { opacity:0; transform:translateX(-10px); }
.burger-toggle:checked ~ .burger span:nth-child(3) { transform:rotate(-45deg) translate(8px,-8px); }

/* ── BURGER MENU MOBILE ─────────────────────────────────────── */
@media(max-width:768px){
  .burger { display:flex; }
  .menu {
    position:absolute; top:60px; right:0; width:min(280px,85vw);
    flex-direction:column; align-items:flex-end; gap:0;
    background:rgba(13,13,15,.98); backdrop-filter:blur(20px);
    border-left:1px solid var(--border); max-height:0;
    overflow:hidden; transition:max-height .4s cubic-bezier(.4,0,.2,1);
    box-shadow:-4px 8px 30px rgba(0,0,0,.4);
  }
  .burger-toggle:checked ~ .menu { max-height:calc(100vh - 60px); }
  .menu li { width:100%; opacity:0; animation:slideIn .4s ease forwards; }
  .menu li:nth-child(1){animation-delay:.05s} .menu li:nth-child(2){animation-delay:.10s}
  .menu li:nth-child(3){animation-delay:.15s} .menu li:nth-child(4){animation-delay:.20s}
  .menu li:nth-child(5){animation-delay:.25s} .menu li:nth-child(6){animation-delay:.30s}
  @keyframes slideIn { from{opacity:0;transform:translateX(20px)} to{opacity:1;transform:translateX(0)} }
  .menu a {
    display:block; width:100%; padding:1rem 1.5rem; text-align:right;
    border-bottom:1px solid var(--border); border-radius:0; position:relative;
  }
  .menu a::after {
    content:''; position:absolute; right:0; top:0; width:3px; height:100%;
    background:var(--red); transform:scaleY(0); transition:transform .2s; transform-origin:bottom;
  }
  .menu a:hover::after, .menu a.active::after { transform:scaleY(1); transform-origin:top; }
  .menu a:hover, .menu a.active { background:rgba(232,25,44,.08); }
}

/* ── LAYOUT ─────────────────────────────────────────────────── */
main { padding-top:80px; }
.section-wrap {
  max-width:1100px; margin:2rem auto; padding:4rem 2rem;
  position:relative; z-index:1;
  background:rgba(15,15,18,.8); border-radius:28px;
  border:1px solid rgba(255,255,255,.05);
  box-shadow:0 30px 80px rgba(0,0,0,.2);
}
.section-header { margin-bottom:3rem; }
.section-eyebrow {
  font-size:.7rem; font-weight:700; letter-spacing:.2em;
  text-transform:uppercase; color:var(--red); margin-bottom:.5rem;
}
.section-header h1, .section-header h2 {
  font-family:'Bebas Neue',cursive;
  font-size:clamp(2.2rem,5vw,3.5rem); letter-spacing:.04em; line-height:1.05;
}
.section-line {
  width:50px; height:3px; background:var(--red);
  border-radius:2px; margin-top:1rem;
  animation:lineExpand .8s cubic-bezier(.4,0,.2,1) .3s both;
}
@keyframes lineExpand { from{width:0;opacity:0} to{width:50px;opacity:1} }

/* ── GRID & CARDS ───────────────────────────────────────────── */
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:1.5rem; margin-top:2rem; }
.card {
  background:var(--dark2); border:1px solid var(--border);
  border-radius:20px; padding:1.75rem;
  display:flex; flex-direction:column; justify-content:space-between;
  transition:transform .25s, border-color .25s, box-shadow .25s;
  position:relative; overflow:hidden;
}
.card::after {
  content:''; position:absolute; top:-50%; left:-60%; width:35%; height:200%;
  background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.04) 50%,transparent 70%);
  transform:skewX(-15deg); transition:left .6s ease; pointer-events:none;
}
.card:hover { border-color:rgba(232,25,44,.35); transform:translateY(-5px); box-shadow:0 22px 45px rgba(0,0,0,.2); }
.card:hover::after { left:130%; }
.card h3 { font-size:1.2rem; font-weight:700; margin-bottom:1rem; }
.card p { color:var(--muted); line-height:1.8; font-size:.95rem; }

/* ── BUTTON ─────────────────────────────────────────────────── */
.btn {
  display:inline-flex; align-items:center; justify-content:center;
  min-height:44px; padding:0 1.25rem; margin-top:1rem;
  border-radius:999px; border:1px solid rgba(232,25,44,.25);
  color:var(--text); background:rgba(232,25,44,.12);
  font-weight:600; font-size:.88rem; transition:all .25s;
}
.btn:hover { background:rgba(232,25,44,.24); border-color:rgba(232,25,44,.5); transform:translateY(-2px); }

/* ── TAGS ───────────────────────────────────────────────────── */
.tag-list { display:flex; flex-wrap:wrap; gap:.4rem; margin-top:.75rem; }
.tag {
  background:rgba(232,25,44,.1); border:1px solid rgba(232,25,44,.2);
  color:var(--red); font-size:.72rem; font-weight:600;
  padding:.2rem .6rem; border-radius:4px;
  text-transform:uppercase; letter-spacing:.06em;
  transition:background .2s, transform .2s;
}
.tag:hover { background:rgba(232,25,44,.22); transform:translateY(-1px); }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height:calc(100vh - 60px); display:flex;
  flex-direction:column; align-items:center; justify-content:center;
  position:relative; overflow:hidden;
}
.hero__bg {
  position:absolute; inset:0;
  background:radial-gradient(ellipse 70% 60% at 50% 40%,rgba(232,25,44,.08) 0%,transparent 70%);
}
.hero__grid {
  position:absolute; inset:0;
  background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:40px 40px;
  mask-image:radial-gradient(ellipse 80% 80% at 50% 50%,black 0%,transparent 80%);
}
.hero__content {
  position:relative; z-index:1; text-align:center;
  max-width:820px; padding:2rem; animation:heroIn .8s ease both;
}
@keyframes heroIn { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
.hero__eyebrow {
  display:inline-block; background:rgba(232,25,44,.12);
  border:1px solid rgba(232,25,44,.3); color:var(--red);
  font-size:.75rem; font-weight:600; letter-spacing:.15em;
  text-transform:uppercase; padding:.3rem .9rem;
  border-radius:100px; margin-bottom:1.5rem;
}
.hero__content h1 {
  font-family:'Bebas Neue',cursive; font-size:clamp(4rem,10vw,8rem);
  line-height:.9; letter-spacing:.04em; margin-bottom:.5rem;
}
.hero__content h1 span { color:var(--red); }
.hero__divider { width:60px; height:2px; background:var(--red); margin:1.5rem auto; }
.hero__subtitle { font-size:1.1rem; color:var(--muted); font-weight:300; margin-bottom:.5rem; }
.hero__location { font-size:1.3rem; font-weight:600; margin-bottom:2rem; }
.hero__meta { display:flex; gap:2rem; justify-content:center; flex-wrap:wrap; margin-top:2.5rem; }
.hero__meta-item {
  text-align:center; padding:.75rem 1.25rem;
  border:1px solid var(--border); border-radius:10px;
  background:rgba(255,255,255,.02); transition:border-color .3s, background .3s;
}
.hero__meta-item:hover { border-color:rgba(232,25,44,.3); background:rgba(232,25,44,.05); }
.hero__meta-item dt { font-size:.7rem; text-transform:uppercase; letter-spacing:.1em; color:var(--muted); margin-bottom:.25rem; }
.hero__meta-item dd { font-size:.95rem; font-weight:600; margin:0; }

/* ── ENTREPRISES ────────────────────────────────────────────── */
.enterprise-grid { display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; }
.enterprise-card {
  background:var(--dark2); border:1px solid var(--border);
  border-radius:14px; padding:2rem;
  position:relative; overflow:hidden; transition:all .3s;
}
.enterprise-card::before {
  content:''; position:absolute; top:0; left:0; width:4px; height:100%;
  background:var(--red); opacity:0; transition:opacity .3s;
}
.enterprise-card:hover { border-color:rgba(232,25,44,.3); }
.enterprise-card:hover::before { opacity:1; }
.enterprise-icon {
  width:48px; height:48px; border-radius:10px;
  background:rgba(232,25,44,.1); border:1px solid rgba(232,25,44,.2);
  display:flex; align-items:center; justify-content:center;
  font-size:1.4rem; margin-bottom:1rem;
  transition:transform .35s, box-shadow .3s;
}
.enterprise-card:hover .enterprise-icon { transform:rotate(-8deg) scale(1.12); box-shadow:0 6px 20px rgba(232,25,44,.2); }
.enterprise-name { font-weight:700; font-size:1.1rem; margin-bottom:.25rem; }
.enterprise-type { color:var(--red); font-size:.78rem; font-weight:600; text-transform:uppercase; letter-spacing:.08em; margin-bottom:.75rem; }
.enterprise-desc { color:var(--muted); font-size:.87rem; line-height:1.6; }

/* ── TIMELINE ───────────────────────────────────────────────── */
.timeline { position:relative; padding-left:2rem; }
.timeline::before {
  content:''; position:absolute; left:0; top:0; bottom:0; width:2px;
  background:linear-gradient(to bottom,var(--red),transparent);
}
.timeline-item { position:relative; padding:0 0 2.5rem 2rem; }
.timeline-dot {
  position:absolute; left:-2.35rem; top:4px; width:14px; height:14px;
  border-radius:50%; background:var(--red); border:2px solid var(--dark);
  box-shadow:0 0 12px var(--red-glow);
  animation:dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%,100%{box-shadow:0 0 0 0 rgba(232,25,44,.5),0 0 12px var(--red-glow)}
  50%{box-shadow:0 0 0 6px rgba(232,25,44,0),0 0 20px rgba(232,25,44,.4)}
}
.timeline-week { font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.12em; color:var(--red); margin-bottom:.3rem; }
.timeline-title { font-weight:700; font-size:1.05rem; margin-bottom:.5rem; transition:color .2s; }
.timeline-item:hover .timeline-title { color:var(--red); }
.timeline-body { color:var(--muted); font-size:.88rem; line-height:1.7; }

/* ── ANNEXES ────────────────────────────────────────────────── */
.annexes-grid { display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; }
.annexe-card {
  background:var(--dark2); border:1px solid var(--border);
  border-radius:14px; overflow:hidden; transition:all .3s;
}
.annexe-card:hover { border-color:rgba(232,25,44,.4); transform:translateY(-4px); box-shadow:0 20px 40px rgba(0,0,0,.4); }
.annexe-img-wrap { height:220px; background:var(--dark3); overflow:hidden; display:flex; align-items:center; justify-content:center; }
.annexe-img-wrap img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.annexe-card:hover .annexe-img-wrap img { transform:scale(1.05); }
.annexe-info { padding:1.25rem 1.5rem; }
.annexe-title { font-weight:700; font-size:1rem; margin-bottom:.4rem; }
.annexe-desc { color:var(--muted); font-size:.83rem; line-height:1.6; }

/* ── CONCLUSION ─────────────────────────────────────────────── */
.conclusion-grid { display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; margin-bottom:2rem; }
.conclusion-stat {
  background:var(--dark2); border:1px solid var(--border);
  border-radius:14px; padding:2rem; text-align:center; transition:all .3s;
}
.conclusion-stat:hover { border-color:rgba(232,25,44,.3); }
.stat-num { font-family:'Bebas Neue',cursive; font-size:3.5rem; color:var(--red); line-height:1; margin-bottom:.25rem; transition:transform .3s, text-shadow .3s; }
.conclusion-stat:hover .stat-num { transform:scale(1.1); text-shadow:0 0 25px rgba(232,25,44,.5); }
.stat-label { font-size:.85rem; color:var(--muted); }
.conclusion-text {
  background:var(--dark2); border:1px solid var(--border);
  border-radius:14px; padding:2.5rem;
  font-size:.95rem; line-height:1.85; position:relative;
}
.conclusion-text::before {
  content:'"'; position:absolute; top:1rem; left:1.5rem;
  font-family:'Bebas Neue',cursive; font-size:5rem;
  color:rgba(232,25,44,.12); line-height:1;
}
.conclusion-text p { margin-bottom:1rem; }
.conclusion-text p:last-child { margin-bottom:0; }

/* ── CV ─────────────────────────────────────────────────────── */
.cv-block-title { font-size:.7rem; font-weight:700; letter-spacing:.15em; text-transform:uppercase; color:var(--red); margin-bottom:1rem; }
.image-container { display:flex; justify-content:center; align-items:center; margin-top:2rem; }
.section-image { max-width:100%; height:auto; border-radius:14px; border:1px solid var(--border); box-shadow:0 20px 60px rgba(0,0,0,.5); transition:transform .4s, box-shadow .4s; }
.section-image:hover { transform:scale(1.015); box-shadow:0 30px 80px rgba(0,0,0,.65); }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  padding:1.5rem 2rem; text-align:center;
  display:flex; flex-direction:column; align-items:center; gap:.75rem;
  font-size:.85rem; color:var(--muted);
  border-top:1px solid var(--border);
}
.footer-links { display:flex; gap:1rem; flex-wrap:wrap; justify-content:center; }
.footer-links a { color:var(--muted); font-size:.82rem; padding:.2rem .5rem; border-radius:4px; transition:color .2s, background .2s; }
.footer-links a:hover { color:var(--red); background:rgba(232,25,44,.08); }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media(max-width:1024px){
  .section-wrap { padding:3rem 1.5rem; }
  .timeline { padding-left:1rem; }
  .timeline-item { padding-left:1.5rem; }
  .timeline-dot { left:-1.7rem; }
}
@media(max-width:768px){
  main { padding-top:80px; }
  .section-wrap { padding:3rem 1.25rem; border-radius:22px; }
  .enterprise-grid, .annexes-grid, .conclusion-grid { grid-template-columns:1fr; }
  .hero__meta { flex-direction:column; align-items:center; }
  .btn { width:100%; justify-content:center; }
  .annexe-img-wrap { height:200px; }
  .timeline { padding-left:0; }
  .timeline-item { padding-left:1rem; margin-bottom:1.5rem; }
  .timeline-dot { left:-1rem; }
  .site-footer { padding:1.25rem 1rem; font-size:.78rem; }
}
@media(max-width:540px){
  .hero__content h1 { font-size:3.5rem; }
  .hero__subtitle, .hero__location { font-size:1rem; }
  .section-wrap { padding:2.25rem 1rem; }
  .stat-num { font-size:2.8rem; }
}