/* ============================================================
   FONTS
   ============================================================ */
@font-face {
  font-family: 'Pacifico';
  src: url('fonts/Pacifico-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/PlusJakartaSans-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/PlusJakartaSans-Italic-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 200 800; font-style: italic; font-display: swap;
}

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --bg:            #111827;
  --orange:        #F97316;
  --amber:         #F59E0B;
  --orange-burnt:  #EA580C;
  --orange-light:  #FB923C;
  --white:         #F9FAFB;
  --surface-1:     #1A2333;
  --surface-2:     #232E42;
  --hairline:      rgba(255,255,255,0.08);
  --hairline-s:    rgba(255,255,255,0.14);
  --fg1:           #F9FAFB;
  --fg2:           rgba(255,255,255,0.5);
  --fg3:           rgba(255,255,255,0.32);
  --on-orange:     #111827;
  --grad-warm:     linear-gradient(135deg, #FB923C 0%, #F97316 45%, #EA580C 100%);
  --grad-text:     linear-gradient(100deg, #FB923C 0%, #F97316 50%, #F59E0B 100%);
  --grad-card:     linear-gradient(160deg, rgba(249,115,22,.16) 0%, rgba(234,88,12,.06) 60%, rgba(17,24,39,0) 100%);
  --glow-orange:   radial-gradient(circle at center, rgba(249,115,22,.55) 0%, rgba(249,115,22,0) 70%);
  --glow-amber:    radial-gradient(circle at center, rgba(245,158,11,.45) 0%, rgba(245,158,11,0) 70%);
  --font-logo:     'Pacifico', cursive;
  --font-sans:     'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono:     'JetBrains Mono', ui-monospace, monospace;
  --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 140ms; --dur-base: 240ms; --dur-slow: 420ms;
  --shadow-glow: 0 12px 40px rgba(249,115,22,.35);
  --shadow-lg:   0 24px 60px rgba(0,0,0,.55);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg1);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* grain overlay */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }
section { position: relative; }
.sec-pad { padding: 104px 0; }

/* ============================================================
   GLOW BLOBS
   ============================================================ */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
/* Blobs animés hero */
.blob-1 {
  width: 520px; height: 520px;
  background: var(--glow-orange);
  left: 8%; top: -150px; opacity: 1;
  animation: blob-move-1 8s ease-in-out infinite;
}
.blob-2 {
  width: 420px; height: 420px;
  background: var(--glow-amber);
  right: 6%; top: 30px; opacity: .85;
  animation: blob-move-2 10s ease-in-out infinite;
}
.blob-3 {
  width: 360px; height: 360px;
  background: var(--glow-orange);
  left: 50%; top: 160px;
  transform: translateX(-50%);
  opacity: .65;
  animation: blob-move-3 12s ease-in-out infinite;
}
.blob-services {
  width: 400px; height: 400px;
  background: var(--glow-amber);
  right: -5%; top: 50%;
  opacity: .7;
  animation: blob-move-2 10s ease-in-out infinite;
}

.blob-apropos {
  width: 380px; height: 380px;
  background: var(--glow-orange);
  left: -5%; top: 30%;
  opacity: .65;
  animation: blob-move-1 9s ease-in-out infinite;
}

@keyframes blob-move-1 {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(120px, 80px); }
  66%       { transform: translate(-60px, 140px); }
}
@keyframes blob-move-2 {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(-130px, 60px); }
  66%       { transform: translate(90px, -100px); }
}
@keyframes blob-move-3 {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  33%       { transform: translateX(-50%) translateY(100px); }
  66%       { transform: translateX(-50%) translateY(-80px); }
}
/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   LOGO
   ============================================================ */
.logo-lockup {
  display: inline-flex; align-items: baseline; gap: 3px;
  cursor: pointer; line-height: 1;
}
.logo-by {
  font-family: var(--font-sans); font-weight: 700;
  font-size: 15px; color: var(--white); letter-spacing: -.01em; opacity: .92;
}
.logo-basti {
  font-family: var(--font-logo); color: var(--orange);
  font-size: 30px; line-height: 1;
}
.logo-lockup.sm .logo-by  { font-size: 13px; }
.logo-lockup.sm .logo-basti { font-size: 25px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background var(--dur-base), border-color var(--dur-base), backdrop-filter var(--dur-base);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; max-width: 1180px; margin: 0 auto; padding: 0 32px;
}
.nav.scrolled {
  background: rgba(17,24,39,.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hairline);
}
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-link {
  font-weight: 600; font-size: 15px; color: var(--fg2); cursor: pointer;
  transition: color var(--dur-fast);
}
.nav-link:hover { color: var(--fg1); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font-weight: 600; font-size: 15px; border: none; border-radius: var(--r-pill);
  padding: 13px 24px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-base), filter var(--dur-base), background var(--dur-base);
}
.btn-primary { background: var(--grad-warm); color: var(--on-orange); box-shadow: var(--shadow-glow); }
.btn-primary:hover {
  transform: translateY(-3px);
  filter: brightness(1.15);
  box-shadow: 0 0 20px rgba(249,115,22,.8), 0 8px 32px rgba(249,115,22,.5);
}
.btn-primary:active { transform: translateY(0) scale(.98); filter: brightness(.95); }

.btn-secondary { background: rgba(255,255,255,.06); color: var(--fg1); border: 1px solid var(--hairline-s); }
.btn-secondary:hover { transform: translateY(-2px); background: rgba(255,255,255,.1); }

.btn-ghost { background: transparent; color: var(--orange); border: 1px solid rgba(249,115,22,.5); }
.btn-ghost:hover { background: rgba(249,115,22,.1); transform: translateY(-2px); }

.btn-light { background: var(--white); color: var(--orange-burnt); box-shadow: 0 12px 36px rgba(0,0,0,.28); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 18px 48px rgba(0,0,0,.34); }

.btn-outline-light { background: rgba(255,255,255,.08); color: var(--white); border: 1px solid rgba(255,255,255,.55); }
.btn-outline-light:hover { background: rgba(255,255,255,.16); border-color: #fff; transform: translateY(-2px); }

/* ============================================================
   PILLS
   ============================================================ */
.pill {
  font-weight: 600; font-size: 13px; border-radius: var(--r-pill);
  padding: 7px 15px; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
}
.pill-status { background: rgba(249,115,22,.14); color: var(--orange-light); border: 1px solid rgba(249,115,22,.3); }
.pill-status .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange-light); box-shadow: 0 0 8px var(--orange);
  animation: pulse 2s var(--ease-soft) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.8); }
}
.pill-tag  { background: rgba(255,255,255,.06); color: var(--fg2); border: 1px solid var(--hairline); }
.pill-mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .02em; }
.pill-onwarm { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.34); }

/* ============================================================
   SHARED TYPE
   ============================================================ */
.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); }
.sec-num { font-family: var(--font-mono); font-size: 14px; color: var(--orange); letter-spacing: .04em; }
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.sec-head  { display: flex; align-items: baseline; gap: 14px; margin-bottom: 6px; }
.sec-title { font-weight: 800; font-size: clamp(30px,4vw,46px); letter-spacing: -.025em; margin: 8px 0 0; text-wrap: balance; }
.sec-sub   { font-size: 17px; color: var(--fg2); max-width: 560px; margin: 14px 0 0; line-height: 1.6; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 178px 0 96px; text-align: center; position: relative; overflow: hidden; }
.hero h1 {
  font-weight: 800; font-size: clamp(40px,7.2vw,82px);
  line-height: 1.03; letter-spacing: -.035em;
  margin: 10px auto 0; max-width: 17ch; text-wrap: balance;
}
.hero p { font-size: 20px; line-height: 1.6; color: var(--fg2); max-width: 640px; margin: 26px auto 0; }
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.stack-badges {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin: 54px auto 0; max-width: 760px;
}

/* Typewriter */
.hero-name {
  font-size: 22px;
  font-weight: 500;
  color: var(--fg2);
  letter-spacing: .12em;
  margin: 24px 0 0;
  min-height: 24px;
  text-align: center;
  width: 100%;
  display: block;
}
.typewriter-cursor {
  display: inline-block;
  color: var(--orange);
  font-weight: 300;
  animation: blink .8s step-end infinite;
  margin-left: 1px;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ============================================================
   STATS
   ============================================================ */
.stats-section { padding: 0 0 80px; }
.stats-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: 920px; margin: 0 auto;
  border: 1px solid var(--hairline); border-radius: var(--r-xl);
  background: var(--surface-1); overflow: hidden;
}
.stat-cell { padding: 40px 28px; text-align: center; position: relative; }
.stat-cell + .stat-cell { border-left: 1px solid var(--hairline); }
.stat-cell .n {
  font-weight: 800; font-size: clamp(40px,5vw,56px);
  letter-spacing: -.03em; line-height: 1;
}
.stat-cell .l { font-size: 14px; color: var(--fg2); margin-top: 10px; line-height: 1.4; }

/* ============================================================
   SERVICES
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 52px; }
.svc-card {
  position: relative; overflow: hidden;
  background: var(--surface-1); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: 32px; cursor: default;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base), border-color var(--dur-base);
}
.svc-card::before {
  content: ""; position: absolute; inset: 0;
  background: var(--grad-card); opacity: 0;
  transition: opacity var(--dur-slow); pointer-events: none;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(249,115,22,.34); }
.svc-card:hover::before { opacity: 1; }
.svc-in { position: relative; z-index: 2; }
.svc-num { font-family: var(--font-mono); font-size: 15px; color: var(--orange); letter-spacing: .04em; }
.svc-card h3 { font-weight: 700; font-size: 22px; letter-spacing: -.01em; margin: 16px 0 0; }
.svc-card p  { font-size: 15px; line-height: 1.6; color: var(--fg2); margin: 10px 0 0; max-width: 42ch; }

/* ============================================================
   PROJECTS
   ============================================================ */
.proj-stack { display: grid; gap: 22px; margin-top: 52px; }
.proj-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.proj-feat {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  padding: 44px; min-height: 300px;
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  color: #fff; display: flex; flex-direction: column; cursor: pointer;
  box-shadow: 0 22px 60px rgba(234,88,12,.32);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
}
.proj-feat:hover { transform: translateY(-6px); box-shadow: 0 30px 80px rgba(234,88,12,.42); }
.proj-feat .corner-glow {
  position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.4) 0%, rgba(255,255,255,0) 70%);
  right: -90px; top: -120px; pointer-events: none;
}
.proj-feat-in { position: relative; z-index: 2; display: flex; flex-direction: column; height: 100%; }
.proj-feat .kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.85);
}
.proj-feat h3 {
  font-weight: 800; font-size: clamp(28px,3.2vw,40px);
  letter-spacing: -.025em; margin: 16px 0 0; max-width: 18ch; line-height: 1.05;
}
.proj-feat .lede { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.92); margin: 14px 0 0; max-width: 54ch; }
.proj-feat .proj-tags { margin-top: 22px; }
.proj-feat .feat-foot { margin-top: auto; padding-top: 28px; }
.proj-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.proj-soon {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  padding: 32px; min-height: 210px;
  color: #fff; display: flex; flex-direction: column; cursor: pointer;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
}
.proj-soon.amber {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  box-shadow: 0 18px 48px rgba(245,158,11,.26);
}
.proj-soon.burnt {
  background: linear-gradient(135deg, #FB923C 0%, #C2410C 100%);
  box-shadow: 0 18px 48px rgba(194,65,12,.3);
}
.proj-soon:hover { transform: translateY(-6px); }
.proj-soon .corner-glow {
  position: absolute; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.34) 0%, rgba(255,255,255,0) 70%);
  right: -70px; top: -90px; pointer-events: none;
}
.proj-soon-in { position: relative; z-index: 2; display: flex; flex-direction: column; height: 100%; }
.proj-soon .badge-soon {
  align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.35); color: #fff;
  padding: 5px 12px; border-radius: var(--r-pill);
}
.proj-soon h3 { font-weight: 800; font-size: 24px; letter-spacing: -.02em; margin: auto 0 0; line-height: 1.1; }
.proj-soon p  { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.9); margin: 8px 0 0; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.about-photo-wrap { display: flex; justify-content: center; }
.about-photo {
  width: min(340px, 80%); aspect-ratio: 1; border-radius: 50%;
  position: relative; overflow: hidden;
  background: var(--grad-warm);
  display: flex; align-items: flex-end; justify-content: center;
  border: 1px solid var(--hairline-s);
  box-shadow: 0 24px 60px rgba(234,88,12,.28);
}
.about-photo .ph-mono {
  font-family: var(--font-logo); font-size: 150px;
  color: rgba(17,24,39,.82); line-height: 1.3;
}
.about-photo .ph-note {
  position: absolute; bottom: 14px; left: 0; right: 0;
  text-align: center; font-size: 11px; color: rgba(17,24,39,.6);
  font-weight: 600; letter-spacing: .04em;
}
.about-photo .ring-glow {
  position: absolute; width: 120%; height: 120%; border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,.4) 0%, rgba(249,115,22,0) 65%);
  filter: blur(40px); z-index: -1;
}
.about-content h2 { margin-top: 8px; }
.about-content p  { font-size: 17px; line-height: 1.75; color: var(--fg2); margin: 18px 0 0; }
.about-content .hl   { color: var(--fg1); font-weight: 600; }
.about-content .star { color: var(--orange-light); }

/* ============================================================
   CONTACT CTA
   ============================================================ */
.contact-cta {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  padding: 80px 48px; text-align: center;
  background: linear-gradient(135deg, #F97316 0%, #FB923C 100%);
  box-shadow: 0 28px 80px rgba(249,115,22,.34);
}
.contact-cta .corner-glow {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.34) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}
.contact-cta .cg-1 { left: -80px; top: -140px; }
.contact-cta .cg-2 { right: -100px; bottom: -160px; }
.contact-cta-in { position: relative; z-index: 2; }
.contact-cta h2 {
  font-weight: 800; font-size: clamp(32px,4.4vw,52px);
  letter-spacing: -.03em; color: #fff; margin: 0; text-wrap: balance;
}
.contact-cta p { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.94); margin: 18px auto 0; max-width: 520px; }
.cta-btn-row { margin-top: 34px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* form */
.contact-form {
  display: none;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
  margin: 30px auto 0;
  text-align: left;
  position: relative;
  z-index: 2;
}
.contact-form.open { display: flex; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--r-md);
  padding: 15px 22px;
  color: #111827;
  font-family: var(--font-sans);
  font-size: 15px;
  outline: none;
  transition: box-shadow var(--dur-fast);
}
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(17,24,39,.5); }
.contact-form input:focus,
.contact-form textarea:focus { box-shadow: 0 0 0 3px rgba(255,255,255,.5); }
.contact-sent {
  display: none;
  position: relative;
  z-index: 2;
  margin-top: 26px;
  color: #fff;
  font-weight: 600;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
.contact-sent.show { display: flex; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--surface-1);
  border-top: 1px solid var(--hairline);
  padding: 64px 0 36px;
  margin-top: 96px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}
.footer-desc {
  font-size: 14px;
  color: var(--fg2);
  line-height: 1.65;
  margin-top: 16px;
  max-width: 28ch;
}
.footer-location {
  font-size: 13px;
  color: var(--fg3);
  margin-top: 10px;
}
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  font-size: 14px;
  color: var(--fg2);
  cursor: pointer;
  transition: color var(--dur-fast);
}
.footer-nav a:hover { color: var(--orange); }
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.footer-contact-link {
  font-size: 14px;
  color: var(--fg2);
  transition: color var(--dur-fast);
}
.footer-contact-link:hover { color: var(--orange); }
.footer-socials {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-social-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg2);
  transition: color var(--dur-fast);
  cursor: pointer;
}
.footer-social-link:hover { color: var(--orange); }
.footer-soon { opacity: .4; cursor: not-allowed; }
.footer-div { height: 1px; background: var(--hairline); margin: 40px 0 24px; }
.footer-copy { font-size: 13px; color: var(--fg3); text-align: center; }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-desc { max-width: 100%; }
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8,12,20,.74); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; animation: fade .25s var(--ease-out) forwards;
}
.modal-overlay.hidden { display: none; }
@keyframes fade { to { opacity: 1; } }
.modal {
  position: relative; overflow: hidden; width: min(580px, 100%);
  background: var(--surface-1); border: 1px solid var(--hairline-s);
  border-radius: var(--r-xl); padding: 38px; box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(.98); animation: rise .35s var(--ease-out) forwards;
}
@keyframes rise { to { transform: none; } }
.modal .glow-blob {
  width: 300px; height: 300px;
  background: var(--glow-orange); right: -100px; top: -130px;
  opacity: .55; filter: blur(70px);
}
.modal-close {
  position: absolute; top: 18px; right: 18px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid var(--hairline);
  color: var(--fg2); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; font-size: 18px; line-height: 1;
}
.modal-close:hover { color: var(--fg1); background: rgba(255,255,255,.1); }
.modal-in { position: relative; z-index: 2; }
.modal h3 { font-weight: 800; font-size: 30px; letter-spacing: -.02em; margin: 10px 0 0; }
.modal-role { font-size: 14px; color: var(--orange-light); font-weight: 600; margin-top: 6px; }
.modal p { font-size: 16px; line-height: 1.65; color: var(--fg2); margin: 14px 0 0; }
.modal .proj-tags { margin-top: 24px; }

/* ============================================================
   TARIFS
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: 32px;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base), border-color var(--dur-base), background var(--dur-base);
  display: flex;
  flex-direction: column;
}

.pricing-in {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

.pricing-btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(249,115,22,.4);
  background: linear-gradient(160deg, rgba(249,115,22,.12) 0%, rgba(234,88,12,.06) 100%);
}
.pricing-featured {
  background: var(--surface-1);
  border-color: var(--hairline);
  transform: none;
}
.pricing-featured:hover {
  transform: translateY(-6px);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-warm);
  color: #111827;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.pricing-in { display: flex; flex-direction: column; gap: 24px; }
.pricing-header { display: flex; flex-direction: column; gap: 8px; }
.pricing-num { font-family: var(--font-mono); font-size: 13px; color: var(--orange); letter-spacing: .04em; }
.pricing-title { font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.pricing-desc { font-size: 14px; color: var(--fg2); line-height: 1.6; }
.pricing-price { display: flex; flex-direction: column; gap: 2px; }
.pricing-amount { font-weight: 800; font-size: 36px; letter-spacing: -.02em; color: var(--orange); line-height: 1; }
.pricing-unit { font-size: 13px; color: var(--fg3); }
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-features li {
  font-size: 14px;
  color: var(--fg2);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
  font-size: 13px;
}
.pricing-btn { width: 100%; justify-content: center; }

/* Maintenance */
.pricing-maintenance {
  margin-top: 20px;
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: 32px 40px;
  transition: border-color var(--dur-base), background var(--dur-base), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
}
.pricing-maintenance:hover {
  border-color: rgba(249,115,22,.4);
  background: linear-gradient(160deg, rgba(249,115,22,.12) 0%, rgba(234,88,12,.06) 100%);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pricing-maintenance-in {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr auto;
  gap: 40px;
  align-items: center;
}
.pricing-maintenance-text h3 { font-weight: 700; font-size: 22px; letter-spacing: -.01em; margin: 8px 0 0; }
.pricing-maintenance-text p { font-size: 14px; color: var(--fg2); line-height: 1.6; margin: 10px 0 0; }
.pricing-maintenance-cta { display: flex; flex-direction: column; gap: 16px; align-items: flex-end; }

/* Responsive tarifs */
@media (max-width: 880px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-featured { transform: none; }
  .pricing-maintenance-in { grid-template-columns: 1fr; gap: 24px; }
  .pricing-maintenance-cta { align-items: flex-start; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .sec-pad { padding: 80px 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .proj-row { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-strip { grid-template-columns: 1fr; }
  .stat-cell + .stat-cell { border-left: none; border-top: 1px solid var(--hairline); }
  .nav-links .nav-link { display: none; }
  .contact-cta { padding: 56px 28px; }
  .proj-feat { padding: 34px; }
  .wrap { padding: 0 20px; }
}
