/* SyNArC — feuille de style du site (charte graphique v2) */
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --synarc-nuit: #0f1e2e;
  --synarc-turquoise: #14b8a6;
  --synarc-turquoise-clair: #2dd4bf;
  --synarc-turquoise-fonce: #0f766e;
  --synarc-ciel: #0ea5e9;
  --synarc-orange: #ff8a1f;
  --synarc-lagon: #e6f7f5;
  --surface-100: #f7f9fa;
  --surface-300: #ffffff;
  --ink: #0f1e2e;
  --ink-muted: #4a5b68;
  --line: #d5e0e4;
  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 14px;
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, ui-monospace, monospace;
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--surface-100); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--synarc-turquoise-fonce); }
:focus-visible { outline: 2px solid var(--synarc-ciel); outline-offset: 2px; border-radius: 2px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.015em; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: 0; }
p { margin: 0; }
.label { font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--synarc-turquoise-fonce); }
.lead { font-size: 18px; line-height: 1.6; color: var(--ink-muted); }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: var(--radius-md); font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--synarc-orange); color: var(--synarc-nuit); box-shadow: 0 4px 0 #c2410c; }
.btn-primary:hover { box-shadow: 0 6px 0 #c2410c; }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn svg { width: 18px; height: 18px; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--synarc-turquoise-fonce); }
.nav .nav-cta { background: var(--synarc-nuit); color: #fff; padding: 10px 16px; border-radius: var(--radius-md); }
.nav .nav-cta:hover { color: #fff; background: #1b3048; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--synarc-nuit); color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(14,165,233,.35) 1.5px, transparent 1.6px); background-size: 32px 32px; mask-image: linear-gradient(100deg, transparent 35%, #000 75%); -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 75%); }
.hero::after { content: ""; position: absolute; width: 720px; height: 720px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(20,184,166,.28), transparent 65%); }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; padding-top: 80px; padding-bottom: 88px; }
.hero .label { color: var(--synarc-turquoise-clair); }
.hero h1 { font-size: clamp(38px, 6vw, 64px); margin: 18px 0 22px; }
.hero h1 em { font-style: normal; color: var(--synarc-turquoise-clair); }
.hero h1 strong { font-weight: 700; color: var(--synarc-orange); }
.hero .lead { color: #c3d0d9; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-visual { justify-self: center; width: min(100%, 400px); filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.pillars { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding: 0; list-style: none; }
.pillars li { font-size: 13px; font-weight: 600; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: #dbe7ee; }
.pillars li.ai { border-color: rgba(255,138,31,.6); color: #ffc08a; }

/* Sections */
section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { margin: 12px 0 16px; }

/* Expertises */
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.card { grid-column: span 2; }
.card:nth-child(4), .card:nth-child(5) { grid-column: span 3; }
.card { position: relative; background: var(--surface-300); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--synarc-turquoise); box-shadow: 0 16px 32px -16px rgba(15,30,46,.25); }
.card .icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--synarc-lagon); color: var(--synarc-turquoise-fonce); margin-bottom: 20px; }
.card .icon svg { width: 26px; height: 26px; }
.card .en { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--synarc-turquoise-fonce); }
.card h3 { margin: 4px 0 10px; }
.card p { color: var(--ink-muted); font-size: 15px; }
.card ul { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.card li { font-size: 12px; padding: 3px 8px; border-radius: var(--radius-sm); background: var(--surface-100); color: var(--ink-muted); border: 1px solid var(--line); }
.card.ai .icon { background: #fff1e5; color: #c2410c; }
.card.ai .en { color: #c2410c; }
.card.ai:hover { border-color: var(--synarc-orange); }

/* Méthode */
.methode { background: var(--surface-300); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { border-radius: var(--radius-lg); background: var(--surface-100); padding: 28px 24px; border-top: 6px solid var(--c); }
.step .num { font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 1; color: var(--c); }
.step h3 { margin: 14px 0 10px; }
.step p { color: var(--ink-muted); font-size: 15px; }
.step .livrables { margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.7; }
.step-1 { --c: var(--synarc-ciel); }
.step-2 { --c: var(--synarc-turquoise); }
.step-3 { --c: var(--synarc-orange); }
.step-4 { --c: var(--synarc-nuit); }
.method-note { margin-top: 32px; display: flex; align-items: center; gap: 12px; color: var(--ink-muted); font-size: 15px; }
.method-note svg { flex: none; width: 22px; height: 22px; color: var(--synarc-turquoise-fonce); }

/* Engagements */
.engagements { background: var(--synarc-lagon); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; }
.engagement { display: flex; gap: 18px; padding: 8px 0; }
.engagement .dot { flex: none; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #99f6e4, var(--synarc-turquoise) 45%, var(--synarc-turquoise-fonce)); box-shadow: 0 6px 12px -4px rgba(15,118,110,.6); display: grid; place-items: center; color: #fff; }
.engagement .dot svg { width: 22px; height: 22px; }
.engagement h3 { margin-bottom: 6px; }
.engagement p { color: var(--ink-muted); font-size: 15px; }

/* Contact */
.contact { background: var(--synarc-nuit); color: #fff; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 600px; height: 600px; left: -200px; bottom: -320px; background: radial-gradient(circle, rgba(255,138,31,.22), transparent 65%); }
.contact .container { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.contact .label { color: var(--synarc-turquoise-clair); }
.contact h2 { margin: 12px 0 16px; }
.contact .lead { color: #c3d0d9; }
.contact-box .btn { justify-content: center; }
.contact-box { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); padding: 32px; display: grid; gap: 18px; }
.contact-line { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; font-size: 17px; font-weight: 500; }
.contact-line svg { width: 22px; height: 22px; color: var(--synarc-turquoise-clair); flex: none; }
.contact-line:hover { color: var(--synarc-turquoise-clair); }

/* Pied de page */
.site-footer { background: #0a1520; color: #9fb0bc; padding: 40px 0; font-size: 14px; }
.site-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer img { height: 36px; width: auto; }
.site-footer a { color: #c3d0d9; }

/* Pages de texte (mentions légales) */
.page { padding: 72px 0 96px; }
.page .container { max-width: 800px; }
.page h1 { font-size: clamp(32px, 5vw, 44px); margin: 12px 0 32px; }
.page h2 { font-size: 22px; margin: 40px 0 12px; }
.page p, .page li { color: var(--ink-muted); }
.page .placeholder { background: #fff1e5; color: #9a3412; padding: 0 4px; border-radius: 3px; }

/* Responsive */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 72px; }
  .hero-visual { width: 220px; order: -1; justify-self: start; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card, .card:nth-child(4) { grid-column: span 1; }
  .card:nth-child(5) { grid-column: 1 / -1; }
  .contact .container { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .container { padding: 0 16px; }
  section { padding: 64px 0; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { margin-top: 12px; text-align: center; border: 0; }
  .brand img { height: 40px; }
  .steps, .grid-2, .cards { grid-template-columns: 1fr; }
  .card:nth-child(5) { grid-column: auto; }
  .hero-visual { width: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-visual { animation: none; }
  .btn, .card { transition: none; }
}
