* { box-sizing: border-box; }

:root {
  --bg: #080b12;
  --bg-soft: #0f1420;
  --surface: #131a28;
  --paper: #f2f0ea;
  --paper-2: #e7e4dc;
  --ink: #10131a;
  --white: #f8f9fb;
  --muted: #9aa4b5;
  --muted-dark: #646a74;
  --accent: #7c5cff;
  --accent-2: #b9ff66;
  --line: rgba(255,255,255,.13);
  --line-dark: rgba(16,19,26,.16);
  --max-width: 1240px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.55;
  overflow-x: hidden;
}

body.loading { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

::selection { background: var(--accent-2); color: var(--ink); }

.container { width: min(92%, var(--max-width)); margin: 0 auto; }

.noise {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-content: center;
  background: var(--bg);
  transition: transform .9s cubic-bezier(.77,0,.18,1);
}
.loader.is-hidden { transform: translateY(-105%); }
.loader-content {
  width: fit-content;
  max-width: calc(100vw - 3rem);
  display: grid;
  gap: 1.25rem;
}
.loader-mark { font-weight: 950; font-size: clamp(2.2rem, 8vw, 6rem); letter-spacing: -.065em; text-align: center; white-space: nowrap; }
.loader-mark span { color: var(--accent-2); }
.loader-line {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,.12);
  overflow: hidden;
  border-radius: 999px;
}
.loader-line span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--accent-2);
  box-shadow: 0 0 14px rgba(185,255,102,.55);
  will-change: transform;
}

.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  height: 3px;
  z-index: 20000;
  pointer-events: none;
  background: rgba(255,255,255,.08);
}
.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--accent-2);
  box-shadow: 0 0 12px rgba(185,255,102,.5);
  will-change: transform;
}

.cursor-dot, .cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10002;
  pointer-events: none;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}
.cursor-dot { width: 7px; height: 7px; background: var(--accent-2); }
.cursor-ring { width: 38px; height: 38px; border: 1px solid rgba(185,255,102,.52); transition: width .2s ease, height .2s ease, background .2s ease; }
.cursor-ring.is-hover { width: 60px; height: 60px; background: rgba(185,255,102,.08); }

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(8,11,18,.82), transparent);
}
.nav { min-height: 86px; display: flex; align-items: center; justify-content: space-between; }
.logo { position: relative; z-index: 102; font-size: clamp(1.08rem, 1.75vw, 1.48rem); font-weight: 950; letter-spacing: -.045em; }
.logo > span:not(.logo-bracket) { color: var(--accent-2); }
.logo-bracket { opacity: .35; margin: 0 .18rem; }

.menu { display: flex; align-items: center; gap: 2rem; }
.menu a { position: relative; font-size: .92rem; color: #d9deea; transition: color .25s ease; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.45rem; height: 1px; background: var(--accent-2); transform: scaleX(0); transform-origin: right; transition: transform .35s ease; }
.menu a:hover { color: #fff; }
.menu a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-button { display: none; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); }
.menu-button span { display: block; width: 18px; height: 1px; margin: 5px auto; background: #fff; transition: .3s ease; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 10rem 0 4rem;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 28%, rgba(124,92,255,.22), transparent 25%), linear-gradient(150deg, #090c13 10%, #0e1422 65%, #080b12 100%);
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 92%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(4px); pointer-events: none; will-change: transform; }
.orb-one { width: 440px; height: 440px; top: 10%; right: 3%; border: 1px solid rgba(185,255,102,.28); box-shadow: inset 0 0 80px rgba(185,255,102,.06), 0 0 90px rgba(124,92,255,.08); }
.orb-two { width: 120px; height: 120px; right: 28%; bottom: 15%; background: var(--accent-2); opacity: .7; filter: blur(50px); }
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-copy { max-width: 1120px; }
.eyebrow { margin: 0 0 1.35rem; text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 850; color: var(--muted); }
.hero-title { margin: 0; font-size: clamp(3.35rem, 7.9vw, 7.35rem); line-height: .93; letter-spacing: -.066em; font-weight: 900; text-wrap: balance; }
.title-line { display: block; overflow: hidden; }
.title-line > span { display: block; transform: none; }
.accent-line { color: var(--accent-2); font-style: italic; font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.06em; }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 680px) auto; align-items: end; justify-content: space-between; gap: 3rem; margin-top: 3rem; }
.hero-text { margin: 0; max-width: 650px; color: #b9c1cf; font-size: clamp(1rem, 1.6vw, 1.25rem); }
.round-cta { width: 124px; height: 124px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-content: center; gap: .45rem; text-align: center; font-size: .78rem; transition: background .35s ease, color .35s ease, border .35s ease; }
.round-cta svg { width: 22px; margin: auto; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .35s ease; }
.round-cta:hover { background: var(--accent-2); color: var(--ink); border-color: var(--accent-2); }
.round-cta:hover svg { transform: translateY(5px); }
.hero-index { position: absolute; right: 0; bottom: 0; display: flex; gap: 2rem; color: #667083; font: 700 .65rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.hero-reveal { opacity: 1; transform: none; }

.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--accent-2); color: var(--ink); }
.marquee-track { display: flex; align-items: center; width: max-content; padding: 1rem 0; will-change: transform; }
.marquee span { font-weight: 900; text-transform: uppercase; font-size: clamp(1rem, 2.3vw, 1.55rem); letter-spacing: -.03em; white-space: nowrap; }
.marquee i { margin: 0 1.8rem; font-style: normal; }

.section { padding: clamp(6rem, 11vw, 10rem) 0; }
.services-section { background: var(--paper); color: var(--ink); }
.section-head { display: grid; grid-template-columns: .35fr 1.65fr; gap: 2rem; margin-bottom: clamp(4rem, 8vw, 7rem); }
.section-head .eyebrow { color: var(--muted-dark); }
.section-head h2 { max-width: 930px; margin: 0; font-size: clamp(2.6rem, 6vw, 5.8rem); line-height: .98; letter-spacing: -.06em; font-weight: 820; }
.section-head h2 em { color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-weight: 500; }

.service-list { border-top: 1px solid var(--line-dark); }
.service-row { position: relative; display: grid; grid-template-columns: 70px 1.5fr 1fr; gap: 1.5rem; align-items: center; padding: 2rem 0; border-bottom: 1px solid var(--line-dark); transform-style: preserve-3d; transition: background .3s ease, padding .3s ease; }
.service-row::before { content: ""; position: absolute; inset: 0 -1.3rem; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .4s cubic-bezier(.22,1,.36,1); }
.service-row:hover { color: #fff; padding-left: 1rem; padding-right: 1rem; }
.service-row:hover::before { transform: scaleY(1); }
.service-number { font: 700 .72rem/1 ui-monospace, monospace; color: var(--muted-dark); }
.service-main h3 { margin: 0 0 .45rem; font-size: clamp(1.9rem, 4vw, 3.5rem); letter-spacing: -.045em; }
.service-main p { margin: 0; max-width: 640px; color: var(--muted-dark); transition: color .3s ease; }
.service-row:hover .service-main p { color: #aeb7c7; }
.service-meta { display: flex; flex-wrap: wrap; gap: .45rem; }
.service-meta span { padding: .4rem .65rem; border: 1px solid currentColor; border-radius: 999px; font-size: .7rem; opacity: .65; }

.projects-section { background: var(--bg); }
.projects-section .section-head h2 em { color: var(--accent-2); }
.project-stack { display: grid; gap: 7rem; }
.project-card { display: grid; grid-template-columns: 1.35fr .65fr; gap: 3rem; align-items: end; transform-style: preserve-3d; }
.project-card:nth-child(even) .project-visual { order: 2; }
.project-card:nth-child(even) .project-info { order: 1; }
.project-visual { position: relative; min-height: 580px; padding: clamp(1.4rem, 3vw, 3rem); overflow: hidden; border-radius: 4px; }
.project-visual-one { background: linear-gradient(135deg, #d5aa70, #6f3c22); }
.project-visual-two { background: linear-gradient(135deg, #708372, #28372d); }
.project-visual-three { background: linear-gradient(135deg, #7460b3, #241f44); }
.project-label { position: relative; z-index: 2; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; }
.mock-browser { position: absolute; width: 78%; min-height: 68%; left: 11%; top: 16%; overflow: hidden; border-radius: 12px; background: #f7f4ed; color: #111; box-shadow: 0 35px 80px rgba(0,0,0,.28); transform: rotate(-2deg) translateZ(35px); transition: transform .6s cubic-bezier(.22,1,.36,1); }
.project-card:hover .mock-browser { transform: rotate(0deg) scale(1.035) translateZ(55px); }
.browser-bar { height: 34px; display: flex; gap: 6px; align-items: center; padding: 0 12px; background: rgba(0,0,0,.055); }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(0,0,0,.22); }
.mock-content { min-height: 365px; padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.mock-content small { text-transform: uppercase; letter-spacing: .14em; font-size: .65rem; opacity: .55; }
.mock-content strong { display: block; margin: 1rem 0 2rem; font-size: clamp(2.2rem, 4vw, 4.6rem); line-height: .9; letter-spacing: -.06em; }
.mock-content span { font-size: .8rem; font-weight: 800; }
.bakery { background: #fff7e7; }
.artisan { background: #eef0e8; }
.consultant { background: #f1eefb; }
.project-info { padding-bottom: 1rem; }
.project-info > div > span { color: #6f7888; font: 700 .7rem/1 ui-monospace, monospace; text-transform: uppercase; letter-spacing: .08em; }
.project-info h3 { margin: .65rem 0 1.25rem; font-size: clamp(2.8rem, 6vw, 5.8rem); line-height: .9; letter-spacing: -.06em; }
.project-info p { max-width: 430px; color: #9aa4b5; }

.about-section { background: var(--paper); color: var(--ink); }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 9rem); }
.about-sticky { align-self: start; position: sticky; top: 125px; }
.about-sticky .eyebrow { color: var(--muted-dark); }
.about-sticky h2 { margin: 0; font-size: clamp(2.4rem, 4.6vw, 4.8rem); line-height: .97; letter-spacing: -.055em; }
.big-copy { margin: 0 0 5rem; font-size: clamp(2rem, 4vw, 4.3rem); line-height: 1.04; letter-spacing: -.05em; font-weight: 700; }
.big-copy span { color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 500; }
.about-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding-top: 2rem; border-top: 1px solid var(--line-dark); }
.detail-number { display: block; margin-bottom: 2rem; color: var(--muted-dark); font: 700 .7rem/1 ui-monospace, monospace; }
.about-details h3 { font-size: 1.4rem; }
.about-details p { color: var(--muted-dark); }


/* AsroviaCode — contenu professionnel */
.portfolio-note {
  max-width: 760px;
  margin: -2rem 0 4rem;
  color: #7f899a;
  font-size: 1rem;
}

.founder-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
}
.founder-monogram {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent-2);
  font-weight: 900;
  letter-spacing: -.06em;
}
.founder-card strong { display: block; font-size: 1rem; }
.founder-card span { display: block; margin-top: .15rem; color: var(--muted-dark); font-size: .78rem; }
.about-intro {
  max-width: 760px;
  margin: -2.5rem 0 4rem;
  color: var(--muted-dark);
  font-size: 1.05rem;
}

.skills-section {
  position: relative;
  background: #0c111b;
  color: var(--white);
}
.skills-section .section-head { margin-bottom: 2rem; }
.skills-intro {
  max-width: 700px;
  margin: 0 0 3rem auto;
  color: var(--muted);
  font-size: 1.05rem;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.skill-card {
  position: relative;
  min-height: 300px;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: background .35s ease, transform .35s ease;
}
.skill-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 15%, rgba(185,255,102,.10), transparent 36%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.skill-card:hover { background: rgba(255,255,255,.025); }
.skill-card:hover::before { opacity: 1; }
.skill-index {
  display: block;
  margin-bottom: 4rem;
  color: #657083;
  font: 700 .7rem/1 ui-monospace, monospace;
}
.skill-card h3 {
  position: relative;
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: .95;
  letter-spacing: -.055em;
}
.skill-card p {
  position: relative;
  max-width: 470px;
  margin: 0 0 2rem;
  color: #919bad;
}
.skill-tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.35rem;
}
.skill-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: .4rem .7rem;
  border: 1px solid rgba(185,255,102,.3);
  border-radius: 999px;
  color: var(--accent-2);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.skill-card { min-height: 330px; }

.contact-section { position: relative; overflow: hidden; min-height: 90svh; display: flex; align-items: center; padding: 8rem 0; background: var(--accent); color: #fff; }
.contact-bg-word { position: absolute; left: -2vw; bottom: -6vw; font-size: 24vw; font-weight: 950; line-height: .7; letter-spacing: -.09em; color: rgba(255,255,255,.05); pointer-events: none; }
.contact-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.contact-heading { position: sticky; top: 8rem; }
.contact-section .eyebrow { color: rgba(255,255,255,.64); }
.contact-section h2 { margin: 0; font-size: clamp(3.2rem, 6vw, 6.3rem); line-height: .9; letter-spacing: -.065em; }
.contact-section h2 em { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.contact-lead { max-width: 620px; margin: 2.2rem 0 0; color: rgba(255,255,255,.78); font-size: 1.05rem; }
.quote-form { padding: clamp(1.4rem, 3vw, 2.5rem); border: 1px solid rgba(255,255,255,.24); background: rgba(8,11,18,.18); backdrop-filter: blur(12px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.quote-form label { display: grid; gap: .55rem; }
.quote-form label > span { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,.4); border-radius: 0; padding: .9rem 0; background: transparent; color: #fff; font: inherit; outline: none; transition: border-color .25s ease, background .25s ease; }
.quote-form input::placeholder, .quote-form textarea::placeholder { color: rgba(255,255,255,.48); }
.quote-form select { cursor: pointer; }
.quote-form select option { color: var(--ink); background: #fff; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--accent-2); }
.form-message { margin-top: 1.5rem; }
.quote-form textarea { min-height: 150px; resize: vertical; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 2rem; }
.form-footer p { max-width: 330px; margin: 0; color: rgba(255,255,255,.6); font-size: .75rem; }
.form-submit { display: inline-flex; align-items: center; gap: .9rem; min-height: 54px; padding: 0 1.25rem; border: 1px solid var(--accent-2); background: var(--accent-2); color: var(--ink); font: inherit; font-weight: 850; cursor: pointer; }
.form-submit span { transition: transform .3s ease; }
.form-submit:hover span { transform: translate(5px,-5px); }
.form-status { min-height: 1.2em; margin: 1rem 0 0; color: rgba(255,255,255,.8); font-size: .82rem; }

.footer { padding: 2rem 0; background: #05070b; }
.footer-grid { display: flex; justify-content: space-between; gap: 1rem; color: #6f7888; font-size: .82rem; }
.footer-grid p { margin: 0; }
.footer-grid div { display: flex; gap: 1rem; }

.reveal { will-change: transform, opacity; }

@media (max-width: 900px) {
  .cursor-dot, .cursor-ring { display: none; }
  .menu-button { display: block; position: relative; z-index: 102; }
  .menu {
    position: fixed;
    inset: 0;
    z-index: 101;
    width: 100%;
    height: 100dvh;
    min-height: 100svh;
    padding: clamp(5.5rem, 12svh, 8rem) 7vw max(2rem, env(safe-area-inset-bottom));
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(.5rem, 1.5svh, 1rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #080b12;
    transform: translateY(-102%);
    transition: transform .65s cubic-bezier(.77,0,.18,1);
  }
  .menu.open { transform: translateY(0); }
  .menu a {
    flex: 0 0 auto;
    font-size: clamp(2.25rem, 8vw, 4.75rem);
    line-height: .95;
    font-weight: 850;
    letter-spacing: -.055em;
  }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .hero { padding-bottom: 3rem; }
  .hero-bottom { grid-template-columns: 1fr; }
  .round-cta { width: 100px; height: 100px; }
  .hero-index { display: none; }
  .orb-one { width: 300px; height: 300px; right: -90px; }
  .section-head { grid-template-columns: 1fr; gap: .5rem; }
  .service-row { grid-template-columns: 45px 1fr; }
  .service-meta { display: none; }
  .project-card, .project-card:nth-child(even) { grid-template-columns: 1fr; gap: 1.5rem; }
  .project-card:nth-child(even) .project-visual, .project-card:nth-child(even) .project-info { order: initial; }
  .project-visual { min-height: 470px; }
  .mock-browser { width: 84%; left: 8%; }
  .about-grid { grid-template-columns: 1fr; }
  .about-sticky { position: static; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .nav { min-height: 72px; }
  .hero { padding-top: 7rem; min-height: 95svh; }
  .hero-title { font-size: clamp(2.95rem, 13.5vw, 4.45rem); }
  .hero-bottom { margin-top: 2rem; }
  .section { padding: 5.5rem 0; }
  .service-row { grid-template-columns: 34px 1fr; gap: .8rem; }
  .service-main h3 { font-size: 1.9rem; }
  .service-main p { font-size: .92rem; }
  .project-stack { gap: 4rem; }
  .project-visual { min-height: 390px; padding: 1rem; }
  .mock-browser { top: 18%; min-height: 64%; }
  .mock-content { min-height: 300px; padding: 2rem; }
  .about-details { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .skill-card { min-height: 270px; }
  .skill-index { margin-bottom: 3rem; }
  .big-copy { margin-bottom: 3.5rem; }
  .contact-section { min-height: auto; padding: 6rem 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact-heading { position: static; }
  .contact-section h2 { font-size: clamp(3rem, 14vw, 5rem); }
  .form-grid { grid-template-columns: 1fr; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .form-submit { justify-content: space-between; width: 100%; }
  .footer-grid { flex-direction: column; }
}

@media (max-width: 900px) and (max-height: 760px) {
  .menu {
    justify-content: flex-start;
    padding-top: max(5.25rem, env(safe-area-inset-top));
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
    gap: .35rem;
  }
  .menu a {
    font-size: clamp(2rem, 7svh, 3.25rem);
    line-height: .92;
  }
}

@media (max-width: 900px) and (max-height: 560px) {
  .menu a { font-size: clamp(1.8rem, 6.4svh, 2.6rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .loader { display: none; }
  .reveal, .hero-reveal, .title-line > span { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 520px) {
  .loader-mark { font-size: clamp(2rem, 11vw, 3.6rem); }
}


/* SEO content & internal linking */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .8rem;
  font-size: .9rem;
  font-weight: 750;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.service-link:hover { color: var(--ink); }
.service-row:hover .service-link { color: var(--accent-2); }

.expertise-section { background: var(--bg-soft); }
.expertise-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}
.expertise-copy { max-width: 760px; }
.expertise-copy > p { color: var(--muted); font-size: 1.05rem; }
.expertise-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }
.expertise-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .72rem 1rem;
  font-size: .9rem;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.expertise-links a:hover { border-color: var(--accent-2); background: rgba(185,255,102,.07); transform: translateY(-2px); }

.faq-section { background: var(--paper); color: var(--ink); }
.faq-section .eyebrow { color: #6550ce; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); margin-top: 2.5rem; }
.faq-item { background: var(--paper); padding: clamp(1.4rem, 3vw, 2.2rem); }
.faq-item h3 { margin-bottom: .75rem; font-size: 1.15rem; }
.faq-item p { margin: 0; color: var(--muted-dark); }

/* Fast, indexable service pages */
.seo-page { background: var(--paper); color: var(--ink); min-height: 100vh; }
.seo-page a { color: inherit; }
.seo-page-header { border-bottom: 1px solid var(--line-dark); background: rgba(242,240,234,.96); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(10px); }
.seo-page-nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.seo-page-logo { font-weight: 900; letter-spacing: -.02em; font-size: 1.15rem; }
.seo-page-logo span { color: #6550ce; }
.seo-page-nav-links { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .9rem; color: var(--muted-dark); }
.seo-page-nav-links a:hover { color: var(--ink); }
.seo-breadcrumb { padding-top: 2rem; color: var(--muted-dark); font-size: .88rem; }
.seo-breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.seo-hero { padding: 4.5rem 0 3.5rem; }
.seo-hero .eyebrow { color: #6550ce; }
.seo-hero h1 { color: var(--ink); max-width: 970px; font-size: clamp(2.7rem, 6vw, 5.4rem); margin: .7rem 0 1.2rem; }
.seo-lead { max-width: 800px; font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted-dark); }
.seo-cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.seo-cta { display: inline-flex; align-items: center; justify-content: center; padding: .85rem 1.1rem; border-radius: 999px; background: var(--ink); color: var(--white)!important; font-weight: 750; }
.seo-cta.secondary { background: transparent; color: var(--ink)!important; border: 1px solid var(--line-dark); }
.seo-content { padding: 1rem 0 5rem; }
.seo-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .42fr); gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.seo-article { max-width: 780px; }
.seo-article h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); margin-top: 2.7rem; }
.seo-article h3 { font-size: 1.25rem; margin-top: 2rem; }
.seo-article p, .seo-article li { color: #4f5661; }
.seo-article ul { padding-left: 1.2rem; }
.seo-side { position: sticky; top: 100px; border: 1px solid var(--line-dark); border-radius: 16px; padding: 1.35rem; }
.seo-side strong { display: block; margin-bottom: .8rem; }
.seo-side a { display: block; padding: .55rem 0; color: #4f5661; border-bottom: 1px solid var(--line-dark); }
.seo-side a:last-child { border-bottom: 0; }
.seo-footer { border-top: 1px solid var(--line-dark); padding: 2rem 0; color: var(--muted-dark); font-size: .9rem; }

@media (max-width: 800px) {
  .expertise-grid, .faq-grid, .seo-content-grid { grid-template-columns: 1fr; }
  .seo-page-nav-links { display: none; }
  .seo-side { position: static; }
  .seo-hero { padding-top: 3rem; }
}

/* Portfolio — projet Restaurant */
.project-browser-link { display: block; }
.project-preview-image { display: block; width: 100%; height: 365px; object-fit: cover; object-position: top center; }
.project-open { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.15rem; color: var(--accent-2); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.project-open span { transition: transform .25s ease; }
.project-open:hover span { transform: translate(4px,-4px); }
@media (max-width: 620px) { .project-preview-image { height: 320px; } }


/* Formulaire PHP sécurisé + Cloudflare Turnstile */
.form-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.human-check {
  margin-top: 1.6rem;
  padding: .9rem 1rem;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(8,11,18,.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
  overflow: hidden;
}
.human-check-copy {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-width: 0;
}
.security-mark {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(185,255,102,.55);
  border-radius: 50%;
  color: var(--accent-2);
  font-size: .9rem;
  font-weight: 900;
  background: rgba(185,255,102,.08);
}
.human-check-copy strong {
  display: block;
  color: #fff;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.human-check-copy small {
  display: block;
  margin-top: .18rem;
  color: rgba(255,255,255,.55);
  font-size: .72rem;
  line-height: 1.35;
}
.turnstile-widget {
  flex: 0 1 300px;
  width: min(300px, 100%);
  min-width: 0;
  overflow: hidden;
}
.turnstile-widget > div,
.turnstile-widget iframe {
  max-width: 100% !important;
}
.human-check.is-preview .turnstile-widget {
  display: none;
}
.human-check.is-preview .security-mark {
  border-color: rgba(255,255,255,.28);
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.05);
}
@media (max-width: 620px) {
  .human-check { align-items: flex-start; flex-direction: column; }
  .turnstile-widget { flex-basis: auto; width: 100%; }
}
.form-submit:disabled { opacity: .55; cursor: wait; }
.form-status.is-success { color: #d9ffba; }
.form-status.is-error { color: #ffe0db; }

/* =========================================================
   Version React AsroviaCode
   ========================================================= */
.brand-word { display: inline; }
.brand-word > span { color: var(--accent-2); }
.loader-mark .brand-word { color: var(--white); }
.logo .brand-word { color: var(--white); }
.logo .brand-word > span { color: var(--accent-2); }

/* Animations pilotées par React / IntersectionObserver */
.reveal { opacity: 0; transform: translateY(42px); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.marquee-css { animation: asrovia-marquee 34s linear infinite; }
@keyframes asrovia-marquee { to { transform: translateX(-50%); } }

/* Google reCAPTCHA v2 Checkbox — vrai widget « Je ne suis pas un robot ». */
.captcha-area { margin-top: 1.6rem; }
.captcha-label {
  display: block;
  margin-bottom: .72rem;
  color: rgba(255,255,255,.76);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: none;
}
.recaptcha-shell {
  width: 304px;
  max-width: 100%;
  min-height: 78px;
  overflow: hidden;
  border-radius: 4px;
}
.recaptcha-shell > div { max-width: 100%; }

/* Masque les anciens styles Turnstile hérités de la version PHP précédente. */
.human-check, .human-check-copy, .turnstile-widget, .security-mark { display: none !important; }
.form-submit:disabled { opacity: .55; cursor: wait; }
.form-status.is-success { color: #d9ffba; }
.form-status.is-error { color: #ffe0db; }

@media (max-width: 390px) {
  .recaptcha-shell { transform: scale(.88); transform-origin: left top; margin-bottom: -9px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-css { animation: none; }
}

/* Correction logo : Asrovia en blanc, Code en vert. */
.loader-mark > .brand-word,
.logo > .brand-word {
  color: var(--white) !important;
}
.loader-mark > .brand-word > span,
.logo > .brand-word > span {
  color: var(--accent-2) !important;
}
