/* Devarthys app.css — Accueil v3 light (patch from maquette) */

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

    :root {
      --accent: #FC9800;
      --accent-bright: #FFB020;
      --accent-dim: #E08700;
      --accent-glow: rgba(252, 152, 0, 0.14);
      --accent-line: rgba(252, 152, 0, 0.40);
      --bg: #FFFFFF;
      --bg-elevated: #FAFAFA;
      --bg-card: #FFFFFF;
      --bg-soft: #F4F4F5;
      --text: #18181B;
      --text-muted: #71717A;
      --text-dim: #A1A1AA;
      --border: #E4E4E7;
      --border-strong: #D4D4D8;
      --font-display: "Syne", system-ui, sans-serif;
      --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
      --header-h: 72px;
      --ease: cubic-bezier(0.22, 1, 0.36, 1);
      --max: 1120px;
      --radius: 16px;
      --radius-sm: 10px;
    }

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

    body {
      font-family: var(--font-sans);
      font-weight: 400;
      background: var(--bg);
      color: var(--text);
      line-height: 1.65;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }
    ul, ol { list-style: none; }
    button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }

    .container {
      width: min(100% - 2rem, var(--max));
      margin-inline: auto;
    }

    .section {
      padding: clamp(4.5rem, 10vw, 7.5rem) 0;
    }

    .section-label {
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 1rem;
    }

    .section-label::before {
      content: "";
      width: 18px;
      height: 2px;
      background: var(--accent);
      border-radius: 2px;
    }

    .section-title {
      font-family: var(--font-display);
      font-size: clamp(1.85rem, 4vw, 2.75rem);
      font-weight: 700;
      line-height: 1.15;
      letter-spacing: -0.03em;
      color: var(--text);
    }

    .section-intro {
      margin-top: 1rem;
      max-width: 36rem;
      color: var(--text-muted);
      font-size: 1.05rem;
    }

    .section-head {
      margin-bottom: clamp(2.25rem, 5vw, 3.25rem);
    }

    /* ---------- Reveal ---------- */
    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition:
        opacity 0.7s var(--ease),
        transform 0.7s var(--ease);
    }
    .reveal.is-visible {
      opacity: 1;
      transform: none;
    }
    .reveal-delay-1 { transition-delay: 0.08s; }
    .reveal-delay-2 { transition-delay: 0.16s; }
    .reveal-delay-3 { transition-delay: 0.24s; }
    .reveal-delay-4 { transition-delay: 0.32s; }
    .reveal-delay-5 { transition-delay: 0.4s; }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .reveal {
        opacity: 1;
        transform: none;
        transition: none;
      }
      .hero-orb,
      .hero-grid,
      .hero-line {
        animation: none !important;
      }
    }

    /* ---------- Buttons ---------- */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 0.85rem 1.45rem;
      border-radius: 999px;
      font-size: 0.92rem;
      font-weight: 600;
      letter-spacing: -0.01em;
      transition:
        background 0.25s var(--ease),
        color 0.25s var(--ease),
        border-color 0.25s var(--ease),
        box-shadow 0.25s var(--ease),
        transform 0.25s var(--ease);
    }
    .btn:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 3px;
    }
    .btn-primary {
      background: var(--accent);
      color: #000000;
      box-shadow: 0 0 0 0 var(--accent-glow);
    }
    .btn-primary:hover {
      background: var(--accent-bright);
      box-shadow: 0 8px 32px var(--accent-glow);
      transform: translateY(-1px);
    }
    .btn-ghost {
      background: transparent;
      color: var(--text);
      border: 1px solid var(--border-strong);
    }
    .btn-ghost:hover {
      border-color: var(--accent-line);
      color: var(--accent-bright);
      background: var(--accent-glow);
    }
    .btn-sm {
      padding: 0.65rem 1.15rem;
      font-size: 0.85rem;
    }

    /* ---------- Header ---------- */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      height: var(--header-h);
      display: flex;
      align-items: center;
      background: rgba(255, 255, 255, 0.82);
      backdrop-filter: blur(16px) saturate(1.4);
      -webkit-backdrop-filter: blur(16px) saturate(1.4);
      border-bottom: 1px solid transparent;
      transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    }
    .site-header.is-scrolled {
      border-bottom-color: var(--border);
      background: rgba(255, 255, 255, 0.94);
      box-shadow: 0 1px 0 rgba(24, 24, 27, 0.04);
    }
    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
      width: min(100% - 2rem, var(--max));
      margin-inline: auto;
    }
    .logo {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: 1.25rem;
      letter-spacing: -0.04em;
      color: var(--text);
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
    }
    .logo-img {
      width: 36px;
      height: 36px;
      object-fit: contain;
      display: block;
      flex-shrink: 0;
      border-radius: 6px;
    }
    .nav {
      display: flex;
      align-items: center;
      gap: 0.15rem;
    }
    .nav a {
      padding: 0.45rem 0.75rem;
      font-size: 0.88rem;
      font-weight: 500;
      color: var(--text-muted);
      border-radius: 8px;
      transition: color 0.2s ease, background 0.2s ease;
    }
    .nav a:hover {
      color: var(--text);
      background: var(--bg-soft);
    }
    .header-cta { flex-shrink: 0; }
    .nav-toggle {
      display: none;
      width: 44px;
      height: 44px;
      place-items: center;
      border-radius: 10px;
      border: 1px solid var(--border);
    }
    .nav-toggle span {
      display: block;
      width: 18px;
      height: 2px;
      background: var(--text);
      position: relative;
      transition: background 0.2s;
    }
    .nav-toggle span::before,
    .nav-toggle span::after {
      content: "";
      position: absolute;
      left: 0;
      width: 18px;
      height: 2px;
      background: var(--text);
      transition: transform 0.25s var(--ease);
    }
    .nav-toggle span::before { top: -6px; }
    .nav-toggle span::after { top: 6px; }
    .nav-toggle[aria-expanded="true"] span { background: transparent; }
    .nav-toggle[aria-expanded="true"] span::before {
      top: 0;
      transform: rotate(45deg);
    }
    .nav-toggle[aria-expanded="true"] span::after {
      top: 0;
      transform: rotate(-45deg);
    }

    @media (max-width: 860px) {
      .nav-toggle { display: grid; }
      .header-cta { display: none; }
      .nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding: 1rem 1.25rem 1.5rem;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 32px rgba(24, 24, 27, 0.08);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
      }
      .nav.is-open {
        transform: none;
        opacity: 1;
        pointer-events: auto;
      }
      .nav a {
        padding: 0.85rem 1rem;
        font-size: 1rem;
      }
      .nav-mobile-cta {
        display: block;
        margin-top: 0.5rem;
        text-align: center;
      }
    }
    @media (min-width: 861px) {
      .nav-mobile-cta { display: none; }
    }

    /* ---------- Hero ---------- */
    .hero {
      position: relative;
      padding: clamp(3.5rem, 10vw, 6.5rem) 0 clamp(4rem, 12vw, 7rem);
      overflow: hidden;
    }
    .hero-bg {
      position: absolute;
      inset: 0;
      pointer-events: none;
      overflow: hidden;
    }
    .hero-orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(90px);
      opacity: 0.55;
      animation: orb-float 14s ease-in-out infinite;
    }
    .hero-orb-1 {
      width: 420px;
      height: 420px;
      background: var(--accent);
      top: -120px;
      right: 8%;
      opacity: 0.16;
    }
    .hero-orb-2 {
      width: 320px;
      height: 320px;
      background: var(--accent);
      bottom: -80px;
      left: -60px;
      opacity: 0.10;
      animation-delay: -5s;
    }
    .hero-grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(24, 24, 27, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(24, 24, 27, 0.045) 1px, transparent 1px);
      background-size: 64px 64px;
      mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
      -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
      animation: grid-drift 28s linear infinite;
    }
    .hero-line {
      position: absolute;
      top: 18%;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
      opacity: 0.5;
      animation: line-pulse 5s ease-in-out infinite;
    }
    @keyframes orb-float {
      0%, 100% { transform: translate(0, 0) scale(1); }
      50% { transform: translate(-20px, 24px) scale(1.06); }
    }
    @keyframes grid-drift {
      from { transform: translateY(0); }
      to { transform: translateY(64px); }
    }
    @keyframes line-pulse {
      0%, 100% { opacity: 0.25; }
      50% { opacity: 0.65; }
    }

    .hero-inner {
      position: relative;
      z-index: 1;
      max-width: 44rem;
    }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.35rem 0.85rem 0.35rem 0.45rem;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: var(--bg-card);
      box-shadow: 0 1px 2px rgba(24, 24, 27, 0.04);
      font-size: 0.8rem;
      font-weight: 500;
      color: var(--text-muted);
      margin-bottom: 1.5rem;
    }
    .hero-badge-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 0 3px var(--accent-glow);
    }
    .hero h1 {
      font-family: var(--font-display);
      font-size: clamp(2.4rem, 6.5vw, 4.15rem);
      font-weight: 800;
      line-height: 1.05;
      letter-spacing: -0.045em;
      margin-bottom: 1.25rem;
    }
    .hero h1 .accent {
      background: linear-gradient(120deg, var(--accent-bright), var(--accent) 55%, var(--accent-dim));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    .hero-sub {
      font-size: clamp(1.05rem, 2.2vw, 1.2rem);
      color: var(--text-muted);
      max-width: 34rem;
      margin-bottom: 2rem;
      line-height: 1.7;
    }
    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.85rem;
    }
    .hero-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 1.75rem;
      margin-top: 3rem;
      padding-top: 2rem;
      border-top: 1px solid var(--border);
    }
    .hero-meta-item strong {
      display: block;
      font-family: var(--font-display);
      font-size: 1.35rem;
      font-weight: 700;
      letter-spacing: -0.03em;
      color: var(--text);
    }
    .hero-meta-item span {
      font-size: 0.82rem;
      color: var(--text-dim);
    }

    /* ---------- Services ---------- */
    .services {
      background: var(--bg-elevated);
      border-block: 1px solid var(--border);
    }
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
    }
    @media (max-width: 900px) {
      .services-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 560px) {
      .services-grid { grid-template-columns: 1fr; }
    }
    .service-card {
      position: relative;
      padding: 1.65rem 1.5rem 1.5rem;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      transition:
        border-color 0.3s var(--ease),
        transform 0.3s var(--ease),
        box-shadow 0.3s var(--ease);
      overflow: hidden;
    }
    .service-card::before {
      content: "";
      position: absolute;
      inset: 0 0 auto 0;
      height: 2px;
      background: linear-gradient(90deg, var(--accent), transparent 70%);
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    .service-card:hover {
      border-color: var(--accent-line);
      transform: translateY(-3px);
      box-shadow: 0 16px 40px rgba(24, 24, 27, 0.08);
    }
    .service-card:hover::before { opacity: 1; }
    .service-icon {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border-radius: 12px;
      background: var(--accent-glow);
      color: var(--accent);
      margin-bottom: 1.15rem;
    }
    .service-icon svg {
      width: 22px;
      height: 22px;
      stroke: currentColor;
      fill: none;
      stroke-width: 1.75;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .service-card h3 {
      font-family: var(--font-display);
      font-size: 1.15rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 0.55rem;
    }
    .service-card p {
      font-size: 0.92rem;
      color: var(--text-muted);
      line-height: 1.6;
    }
    .service-link {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      margin-top: 1.1rem;
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--accent);
    }
    .service-link svg {
      width: 14px;
      height: 14px;
      transition: transform 0.25s var(--ease);
    }
    .service-card:hover .service-link svg {
      transform: translateX(3px);
    }

    /* ---------- Réalisations ---------- */
    .projects-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.15rem;
    }
    @media (max-width: 700px) {
      .projects-grid { grid-template-columns: 1fr; }
    }
    .project-card {
      display: flex;
      flex-direction: column;
      border-radius: var(--radius);
      border: 1px solid var(--border);
      background: var(--bg-card);
      overflow: hidden;
      transition: border-color 0.3s ease, transform 0.3s var(--ease);
    }
    .project-card:hover {
      border-color: var(--accent-line);
      transform: translateY(-2px);
    }
    .project-visual {
      aspect-ratio: 16 / 10;
      background:
        radial-gradient(ellipse at 30% 20%, rgba(252, 152, 0, 0.12), transparent 55%),
        radial-gradient(ellipse at 80% 80%, rgba(252, 152, 0, 0.06), transparent 50%),
        var(--bg-soft);
      position: relative;
      display: grid;
      place-items: center;
    }
    .project-visual span {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 1.1rem;
      letter-spacing: -0.02em;
      color: var(--text-dim);
      opacity: 0.7;
    }
    .project-visual img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .project-visual.has-cover::after { display: none; }
    .project-visual-link { display: block; color: inherit; }
    .realisation-cover {
      margin-top: 1.75rem;
      max-width: 48rem;
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid var(--border);
    }
    .realisation-cover img {
      width: 100%;
      height: auto;
      aspect-ratio: 16 / 10;
      object-fit: cover;
      display: block;
    }
    .project-visual::after {
      content: "";
      position: absolute;
      inset: 12px;
      border: 1px dashed rgba(24, 24, 27, 0.10);
      border-radius: 10px;
      pointer-events: none;
    }
    .project-body {
      padding: 1.35rem 1.4rem 1.5rem;
      flex: 1;
      display: flex;
      flex-direction: column;
    }
    .project-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      margin-bottom: 0.75rem;
    }
    .tag {
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      padding: 0.25rem 0.55rem;
      border-radius: 6px;
      background: var(--bg-soft);
      color: var(--text-muted);
      border: 1px solid var(--border);
    }
    .tag-accent {
      background: var(--accent-glow);
      color: var(--accent-dim);
      border-color: var(--accent-line);
    }
    .project-body h3 {
      font-family: var(--font-display);
      font-size: 1.2rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 0.45rem;
    }
    .project-body p {
      font-size: 0.92rem;
      color: var(--text-muted);
      flex: 1;
    }

    /* ---------- Méthode ---------- */
    .method {
      background: var(--bg-elevated);
      border-block: 1px solid var(--border);
    }
    .steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1rem;
      counter-reset: step;
    }
    @media (max-width: 900px) {
      .steps { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 500px) {
      .steps { grid-template-columns: 1fr; }
    }
    .step {
      position: relative;
      padding: 1.5rem 1.35rem;
      border-radius: var(--radius);
      background: var(--bg-card);
      border: 1px solid var(--border);
      counter-increment: step;
    }
    .step-num {
      font-family: var(--font-display);
      font-size: 2rem;
      font-weight: 800;
      letter-spacing: -0.04em;
      color: transparent;
      -webkit-text-stroke: 1.5px var(--accent);
      margin-bottom: 0.85rem;
      line-height: 1;
    }
    .step h3 {
      font-family: var(--font-display);
      font-size: 1.1rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 0.5rem;
    }
    .step p {
      font-size: 0.9rem;
      color: var(--text-muted);
    }

    /* ---------- Pourquoi moi ---------- */
    .why-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: clamp(2rem, 5vw, 3.5rem);
      align-items: center;
    }
    @media (max-width: 800px) {
      .why-grid { grid-template-columns: 1fr; }
    }
    .why-copy p {
      color: var(--text-muted);
      font-size: 1.05rem;
      margin-bottom: 1rem;
    }
    .why-copy p:last-of-type { margin-bottom: 0; }
    .why-points {
      display: flex;
      flex-direction: column;
      gap: 0.85rem;
    }
    .why-point {
      display: flex;
      gap: 0.9rem;
      padding: 1.1rem 1.2rem;
      border-radius: var(--radius-sm);
      background: var(--bg-card);
      border: 1px solid var(--border);
    }
    .why-point-icon {
      flex-shrink: 0;
      width: 36px;
      height: 36px;
      border-radius: 10px;
      display: grid;
      place-items: center;
      background: var(--accent-glow);
      color: var(--accent);
    }
    .why-point-icon svg {
      width: 18px;
      height: 18px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .why-point strong {
      display: block;
      font-size: 0.95rem;
      font-weight: 600;
      margin-bottom: 0.15rem;
    }
    .why-point span {
      font-size: 0.85rem;
      color: var(--text-muted);
    }

    /* ---------- FAQ ---------- */
    .faq {
      background: var(--bg-elevated);
      border-block: 1px solid var(--border);
    }
    .faq-list {
      max-width: 720px;
      display: flex;
      flex-direction: column;
      gap: 0.65rem;
    }
    .faq-item {
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      background: var(--bg-card);
      overflow: hidden;
      transition: border-color 0.25s ease;
    }
    .faq-item[open] {
      border-color: var(--accent-line);
    }
    .faq-item summary {
      list-style: none;
      cursor: pointer;
      padding: 1.15rem 1.35rem;
      font-weight: 600;
      font-size: 0.98rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      letter-spacing: -0.01em;
    }
    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-item summary::after {
      content: "";
      width: 10px;
      height: 10px;
      border-right: 2px solid var(--text-muted);
      border-bottom: 2px solid var(--text-muted);
      transform: rotate(45deg);
      transition: transform 0.25s var(--ease), border-color 0.25s;
      flex-shrink: 0;
      margin-top: -4px;
    }
    .faq-item[open] summary::after {
      transform: rotate(225deg);
      margin-top: 4px;
      border-color: var(--accent);
    }
    .faq-item summary:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: -2px;
    }
    .faq-answer {
      padding: 0 1.35rem 1.25rem;
      color: var(--text-muted);
      font-size: 0.95rem;
      line-height: 1.65;
    }

    /* ---------- CTA strip ---------- */
    .cta-strip {
      padding: clamp(3.5rem, 8vw, 5rem) 0;
    }
    .cta-panel {
      position: relative;
      padding: clamp(2.25rem, 5vw, 3.25rem);
      border-radius: calc(var(--radius) + 4px);
      background:
        radial-gradient(ellipse at 100% 0%, rgba(252, 152, 0, 0.12), transparent 55%),
        radial-gradient(ellipse at 0% 100%, rgba(252, 152, 0, 0.06), transparent 50%),
        var(--bg-soft);
      border: 1px solid var(--border);
      box-shadow: 0 8px 28px rgba(24, 24, 27, 0.05);
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 1.75rem;
      overflow: hidden;
    }
    .cta-panel h2 {
      font-family: var(--font-display);
      font-size: clamp(1.55rem, 3.5vw, 2.1rem);
      font-weight: 700;
      letter-spacing: -0.03em;
      margin-bottom: 0.5rem;
    }
    .cta-panel p {
      color: var(--text-muted);
      max-width: 28rem;
    }
    .cta-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
    }

    /* ---------- Footer ---------- */
    .site-footer {
      padding: 3rem 0 2rem;
      border-top: 1px solid var(--border);
      background: var(--bg);
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr;
      gap: 2.5rem;
      margin-bottom: 2.5rem;
    }
    @media (max-width: 700px) {
      .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
    }
    .footer-brand .logo { margin-bottom: 0.85rem; }
    .footer-brand p {
      color: var(--text-muted);
      font-size: 0.92rem;
      max-width: 22rem;
    }
    .footer-col h4 {
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text-dim);
      margin-bottom: 1rem;
    }
    .footer-col a {
      display: block;
      font-size: 0.92rem;
      color: var(--text-muted);
      padding: 0.3rem 0;
      transition: color 0.2s;
    }
    .footer-col a:hover { color: var(--accent-bright); }
    .footer-bottom {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 0.75rem;
      padding-top: 1.5rem;
      border-top: 1px solid var(--border);
      font-size: 0.82rem;
      color: var(--text-dim);
    }

    /* Skip link */
    .skip-link {
      position: absolute;
      left: 1rem;
      top: -100px;
      z-index: 200;
      background: var(--accent);
      color: #000000;
      padding: 0.6rem 1rem;
      border-radius: 8px;
      font-weight: 600;
    }
    .skip-link:focus { top: 1rem; }

    /* ---------- Mobile polish (Accueil) ---------- */
    @media (max-width: 860px) {
      :root { --header-h: 64px; }
      .logo { font-size: 1.1rem; gap: 0.45rem; }
      .logo-img { width: 32px; height: 32px; }
      .container { width: min(100% - 1.5rem, var(--max)); }
      .hero {
        padding: clamp(2.5rem, 9vw, 4.5rem) 0 clamp(3rem, 10vw, 5rem);
      }
      .hero-meta {
        gap: 1.15rem 1.5rem;
        margin-top: 2.25rem;
        padding-top: 1.5rem;
      }
      .hero-meta-item strong { font-size: 1.15rem; }
      .nav {
        max-height: calc(100dvh - var(--header-h));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
      }
    }
    @media (max-width: 560px) {
      .hero h1 {
        font-size: clamp(1.9rem, 9vw, 2.45rem);
        margin-bottom: 1rem;
      }
      .hero-sub {
        font-size: 1.02rem;
        margin-bottom: 1.5rem;
      }
      .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.7rem;
      }
      .hero-actions .btn { width: 100%; }
      .hero-badge {
        font-size: 0.75rem;
        max-width: 100%;
      }
      .services-grid { gap: 0.85rem; }
      .service-card {
        padding: 1.4rem 1.25rem 1.3rem;
      }
      .service-card h3 { font-size: 1.08rem; }
      .section {
        padding: clamp(3rem, 12vw, 4.5rem) 0;
      }
      .section-head { margin-bottom: 1.75rem; }
      .cta-panel {
        padding: 1.65rem 1.35rem;
      }
      .cta-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
      }
      .cta-actions .btn { width: 100%; }
      .faq-item summary {
        padding: 1rem 1.1rem;
        font-size: 0.95rem;
      }
      .why-point { padding: 1rem; }
    }
    @media (max-width: 380px) {
      .container { width: min(100% - 1.25rem, var(--max)); }
      .hero-meta-item strong { font-size: 1.05rem; }
      .btn { padding: 0.8rem 1.2rem; }
    }
  

/* --- Symfony / layout aliases --- */
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.wrap.narrow { max-width: 40rem; width: min(100% - 2rem, 40rem); }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.btn-primary { background: var(--accent); color: #000; }
.btn { cursor: pointer; font-family: inherit; border: none; }
a.btn { text-decoration: none; }
.flash { width: min(100% - 2rem, var(--max)); margin: 1rem auto 0; padding: .75rem 1rem; border-radius: var(--radius-sm, 10px); }
.flash-success { background: #ecfdf5; border: 1px solid #a7f3d0; }
.flash-error { background: #fef2f2; border: 1px solid #fecaca; }

.contact-page .section-intro { margin-bottom: 2rem; max-width: none; }
.contact-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.1rem 1.15rem;
  margin-top: 0.25rem;
  width: 100%;
  min-width: 0;
  position: relative;
}
.contact-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
  width: 100%;
}
.contact-form .form-row:nth-child(3),
.contact-form .form-actions {
  grid-column: 1 / -1;
}
.contact-form label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  font: inherit;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm, 10px);
  background: var(--bg-elevated);
  color: var(--text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg);
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.contact-form textarea { min-height: 168px; resize: vertical; }
.contact-form .form-errors {
  list-style: none;
  color: #b91c1c;
  font-size: 0.85rem;
}
.form-actions { display: flex; justify-content: flex-start; padding-top: 0.25rem; }
.hp-wrap, .hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
@media (max-width: 640px) {
  .contact-form { grid-template-columns: minmax(0, 1fr); }
}
.admin-login { min-height: 100vh; display: grid; place-items: center; background: var(--bg-soft); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-decoration: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
  color: inherit;
  display: block;
}
.card:hover {
  border-color: var(--accent-line);
  box-shadow: 0 12px 32px var(--accent-glow);
  transform: translateY(-2px);
}
.card h3 { margin: 0 0 .5rem; font-size: 1.15rem; font-family: var(--font-display); }
.muted { color: var(--text-muted); }
.contact-mail {
  color: var(--accent-dim);
  font-weight: 600;
  word-break: break-word;
}
.contact-mail:hover { color: var(--accent); }
.prose { max-width: 48rem; }
.prose h2, .prose h3 { font-family: var(--font-display); margin-top: 1.75rem; }
.prose p, .prose li { color: var(--text-muted); }
.prose ul, .prose ol { padding-left: 1.25rem; margin: .75rem 0; list-style: disc; }
.prose ol { list-style: decimal; }
.service-page-hero { padding: 3.5rem 0 2rem; }
.service-page-hero .eyebrow a { color: var(--accent); text-decoration: none; font-weight: 600; }
.realisation-external {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1rem; font-weight: 600; color: var(--accent-dim);
}


/* ========== Services v2 + À propos (from Perceval shared.css) ========== */
/* ---- Service / page hero ---- */
.page-hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3.5rem, 8vw, 5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(24, 24, 27, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 24, 27, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 75%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: orb-float 14s ease-in-out infinite;
}
.hero-orb-1 {
  width: 340px; height: 340px;
  top: -80px; right: 8%;
  background: rgba(252, 152, 0, 0.22);
}
.hero-orb-2 {
  width: 220px; height: 220px;
  bottom: -40px; left: 5%;
  background: rgba(252, 152, 0, 0.12);
  animation-delay: -4s;
}
.hero-line {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
}
@keyframes orb-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-12px, 18px); }
}
.hero-inner { position: relative; z-index: 1; max-width: 44rem; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.35rem;
}
.breadcrumb a:hover { color: var(--accent-bright); }
.breadcrumb-sep { color: var(--text-dim); }
.breadcrumb [aria-current="page"] { color: var(--text); font-weight: 500; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 10px rgba(24, 24, 27, 0.04);
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.15rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1.15rem;
}
.page-hero .hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 36rem;
  margin-bottom: 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---- Audience chips ---- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(24, 24, 27, 0.03);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.chip:hover {
  border-color: var(--accent-line);
  box-shadow: 0 4px 16px var(--accent-glow);
}
.chip::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.audience-note {
  margin-top: 1.25rem;
  max-width: 40rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

/* ---- Benefit grid ---- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 700px) {
  .benefit-grid { grid-template-columns: 1fr; }
}
.benefit-card {
  position: relative;
  padding: 1.4rem 1.35rem 1.4rem 1.35rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
  overflow: hidden;
}
.benefit-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}
.benefit-card:hover {
  border-color: var(--accent-line);
  box-shadow: 0 12px 32px rgba(24, 24, 27, 0.06);
  transform: translateY(-2px);
}
.benefit-card:hover::before { opacity: 1; }
.benefit-icon {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--accent-glow);
  color: var(--accent-dim);
  margin-bottom: 0.95rem;
}
.benefit-icon svg {
  width: 20px; height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit-card p {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.5;
}

/* ---- Technical panel (Sous le capot) ---- */
.tech-section { background: var(--bg-elevated); border-block: 1px solid var(--border); }
.tech-panel {
  border-radius: calc(var(--radius) + 2px);
  background: #18181B;
  color: #FAFAFA;
  border: 1px solid #27272A;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(24, 24, 27, 0.18);
}
.tech-panel-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.1rem;
  background: #27272A;
  border-bottom: 1px solid #3F3F46;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: #A1A1AA;
  letter-spacing: 0.02em;
}
.tech-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tech-dot.r { background: #F87171; }
.tech-dot.y { background: #FBBF24; }
.tech-dot.g { background: #34D399; }
.tech-list { padding: 0.35rem 0; }
.tech-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: baseline;
  padding: 0.95rem 1.35rem;
  border-bottom: 1px solid rgba(63, 63, 70, 0.55);
  font-size: 0.98rem;
  line-height: 1.55;
}
.tech-item:last-child { border-bottom: none; }
.tech-prefix {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.78rem;
  color: #FC9800;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.tech-item span { color: #E4E4E7; }
.tech-soft {
  border-radius: calc(var(--radius) + 2px);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  overflow: hidden;
}
.tech-soft .tech-panel-bar {
  background: #E4E4E7;
  border-bottom-color: var(--border);
  color: var(--text-muted);
}
.tech-soft .tech-item {
  border-bottom-color: var(--border);
  color: var(--text);
}
.tech-soft .tech-item span { color: var(--text); }
.tech-soft .tech-prefix { color: var(--accent-dim); }

/* ---- Checklist livrables ---- */
.check-list {
  display: grid;
  gap: 0.7rem;
  max-width: 42rem;
}
.check-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.05rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: border-color 0.2s;
}
.check-item:hover { border-color: var(--accent-line); }
.check-mark {
  flex-shrink: 0;
  width: 24px; height: 24px;
  margin-top: 0.05rem;
  border-radius: 7px;
  background: var(--accent);
  color: #000;
  display: grid;
  place-items: center;
}
.check-mark svg {
  width: 14px; height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- Proof callout ---- */
.proof-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(252, 152, 0, 0.1), transparent 55%),
    var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  box-shadow: 0 8px 28px rgba(24, 24, 27, 0.05);
  max-width: 48rem;
}
.proof-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--accent-glow);
  color: var(--accent-dim);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.proof-icon svg {
  width: 22px; height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.proof-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.45rem;
}
.proof-callout p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 500;
}

/* ---- FAQ ---- */
.faq { background: var(--bg-elevated); border-block: 1px solid var(--border); }
.faq-list { max-width: 720px; display: flex; flex-direction: column; gap: 0.65rem; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.faq-item[open] { border-color: var(--accent-line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.35rem;
  font-weight: 600;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 10px; height: 10px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease), border-color 0.25s;
  flex-shrink: 0;
  margin-top: -4px;
}
.faq-item[open] summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
  border-color: var(--accent);
}
.faq-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.faq-answer {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ---- CTA strip ---- */
.cta-strip { padding: clamp(3rem, 7vw, 4.5rem) 0; }
.cta-panel {
  position: relative;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(252, 152, 0, 0.12), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(252, 152, 0, 0.06), transparent 50%),
    var(--bg-soft);
  border: 1px solid var(--border);
  box-shadow: 0 8px 28px rgba(24, 24, 27, 0.05);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  overflow: hidden;
}
.cta-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.cta-panel p { color: var(--text-muted); max-width: 28rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---- À propos specifics ---- */
.apropos-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 40rem;
  line-height: 1.7;
}
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 700px) {
  .approach-grid { grid-template-columns: 1fr; }
}
.approach-card {
  padding: 1.5rem 1.45rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.approach-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}
.approach-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}
.zone-panel {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  max-width: 48rem;
  box-shadow: 0 4px 20px rgba(24, 24, 27, 0.04);
}
.zone-pin {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--accent-glow);
  color: var(--accent-dim);
  display: grid;
  place-items: center;
}
.zone-pin svg {
  width: 22px; height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.zone-panel p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}
.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (max-width: 700px) {
  .stack-grid { grid-template-columns: 1fr; }
}
.stack-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 0.95rem;
  line-height: 1.5;
}
.stack-tag {
  flex-shrink: 0;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-dim);
  background: var(--accent-glow);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  margin-top: 0.1rem;
}
.why-stay {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 700px) {
  .why-stay { grid-template-columns: 1fr; }
}
.why-stay-card {
  padding: 1.35rem 1.3rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.why-stay-card:hover {
  border-color: var(--accent-line);
  box-shadow: 0 8px 24px rgba(24, 24, 27, 0.05);
}
.why-stay-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 0.55rem;
}
.why-stay-card p {
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.section.alt { background: var(--bg-elevated); border-block: 1px solid var(--border); }

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .logo { font-size: 1.1rem; gap: 0.45rem; }
  .logo-img { width: 32px; height: 32px; }
  .container { width: min(100% - 1.5rem, var(--max)); }
}
@media (max-width: 560px) {
  .page-hero h1 { font-size: clamp(1.85rem, 8.5vw, 2.35rem); }
  .proof-callout { grid-template-columns: 1fr; }
  .zone-panel { grid-template-columns: 1fr; }
  .faq-item summary { padding: 1rem 1.1rem; font-size: 0.95rem; }
}

/* service-page wrapper alias */
.service-page { }

