/* webntic — site public. Fond blanc, titres très gras bleu nuit, un accent rose (logo), CTA bleu (logo). */
:root {
  --bg: #ffffff;
  --panel: #f6f6f8;
  --panel-2: #eef0f6;
  --ink: #131c4a;          /* bleu nuit des titres */
  --text: #3a4060;
  --muted: #6a7090;
  --line: #e5e6ee;
  --blue: #2230ff;         /* bleu du logo, boutons */
  --blue-hover: #1621d6;
  --pink: #d11ccf;         /* rose du logo, accents */
  --pink-soft: #fbe8fb;
  --navy: #131c4a;
  --navy-2: #1d2862;
  --on-navy: #c9cde4;
  --ok: #0f7a4f; --ok-bg: #e3f3ea;
  --run: #9a5b00; --run-bg: #fdf0da;

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-lg: 28px;
  --r: 18px;
  --r-sm: 10px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.7; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.12rem); color: var(--text); max-width: 60ch; }
.center { text-align: center; }
.center .lead, .center p { margin-left: auto; margin-right: auto; }

/* Étiquette en pastille au-dessus des titres */
.pill { display: inline-flex; align-items: center; min-height: 30px; padding: 0 14px; border: 1px solid color-mix(in srgb, var(--pink) 45%, #fff); border-radius: 999px; color: var(--pink); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: #fff; margin-bottom: 18px; }

/* Logo */
.logo { font-family: "Space Grotesk", var(--font); font-weight: 700; font-size: 1.7rem; letter-spacing: -0.045em; text-decoration: none; line-height: 1; }
.logo-web { color: #0000ff; }
.logo-ntic { color: #e020e0; }
.logo-light .logo-web { color: #9aa4ff; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; font: 700 .97rem/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .18s var(--ease), background-color .18s, border-color .18s, color .18s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #eef0ff; }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-block { width: 100%; }
.btn .arr, .text-link .arr { transition: transform .2s var(--ease); }
.btn:hover .arr, .text-link:hover .arr { transform: translateX(3px); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; }
.text-link .arr { color: var(--pink); }
.text-link span:not(.arr) { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .25s var(--ease); }
.text-link:hover span:not(.arr) { background-size: 100% 1.5px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 32px; }

/* Bandeau des téléphones */
.topbar { border-bottom: 1px solid var(--line); font-size: .86rem; color: var(--ink); }
.topbar .wrap { display: flex; align-items: center; gap: 18px; min-height: 38px; flex-wrap: wrap; }
.topbar-city { display: inline-flex; align-items: center; gap: 8px; }
.topbar-city::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }
.topbar a { text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--blue); }
.topbar-sep { width: 1px; height: 14px; background: var(--line); }
.topbar-mail { margin-left: auto; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(19,28,74,.25); }
.header-row { display: flex; align-items: center; gap: 28px; height: 80px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 8px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--ink); transition: background-color .15s, color .15s; }
.main-nav a:hover { background: var(--panel); }
.main-nav a[aria-current="page"] { color: var(--pink); }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 999px; cursor: pointer; position: relative; }
.menu-bars, .menu-bars::before, .menu-bars::after { position: absolute; left: 14px; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s var(--ease); content: ""; }
.menu-bars { top: 22px; }
.menu-bars::before { top: -6px; left: 0; }
.menu-bars::after { top: 6px; left: 0; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 80px 0 0 0; background: #fff; padding: 24px var(--gutter) 40px; overflow-y: auto; }
.mobile-menu ul { list-style: none; margin: 0 0 28px; padding: 0; }
.mobile-menu li a { display: block; padding: 14px 0; font-size: 1.6rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu-contact { margin-top: 24px; color: var(--muted); line-height: 2; }
.mobile-menu-contact a { text-decoration: none; color: var(--ink); font-weight: 600; }

/* Héros : panneau gris arrondi */
.hero { padding: 16px 0 0; }
.hero-panel { background: var(--panel); border-radius: var(--r-lg); padding: clamp(36px, 6vw, 80px) clamp(22px, 5vw, 72px); display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { max-width: 19ch; }
.tagline { margin: 18px 0 0; font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 700; line-height: 1.35; color: var(--pink); max-width: 30ch; letter-spacing: -0.01em; }
.hero .lead { margin-top: 22px; }
.hero-side { display: grid; gap: 14px; }
.hero-side .project-card .project-body { padding: 18px 20px 20px; }

/* Bandeau des chiffres */
.stats-band { padding: 16px 0 0; }
.stats-panel { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: clamp(36px, 5vw, 56px) clamp(22px, 4vw, 56px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 0; }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; }
.stat dd { margin: 0; order: -1; font-size: clamp(2.4rem, 4.4vw, 3.4rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; }
.stat dd em { font-style: normal; color: #ff8cf8; }
.stat dt { margin-top: 10px; color: var(--on-navy); font-size: .95rem; }

/* Sections */
.section { padding: clamp(72px, 10vh, 120px) 0; }
.section-tight { padding: clamp(28px, 4vh, 48px) 0; }
.section-alt { background: var(--panel); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.05rem; }
.section-foot { display: flex; justify-content: center; margin-top: 44px; }

/* Cartes projets */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-grid-2 { grid-template-columns: repeat(2, 1fr); gap: 28px; }
.project-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s; }
.project-card:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -26px rgba(19,28,74,.35); }
.project-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.project-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--pc); }
.project-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.project-card:hover .project-cover img, .project-card:hover .cover-type { transform: scale(1.025); }
.cover-type { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: clamp(20px, 3vw, 32px); color: #fff; transition: transform .5s var(--ease);
  background: radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,.2), transparent 55%), linear-gradient(160deg, color-mix(in srgb, var(--pc) 78%, #fff), var(--pc) 62%); }
.cover-name { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; }
.project-grid-2 .cover-name { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.cover-type-xl .cover-name { font-size: clamp(3rem, 8vw, 6rem); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; padding: 6px 11px; border-radius: 999px; line-height: 1; }
.project-cover .badge { position: absolute; top: 16px; left: 16px; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-termine { background: var(--ok-bg); color: var(--ok); }
.badge-en_cours { background: var(--run-bg); color: var(--run); }
.project-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.project-meta { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); margin-bottom: 8px; }
.project-title { font-size: 1.3rem; margin-bottom: 8px; }
.project-summary { color: var(--muted); font-size: .97rem; }
.project-more { margin-top: auto; padding-top: 16px; font-weight: 700; color: var(--ink); display: inline-flex; gap: 8px; }
.project-more::after { content: "→"; color: var(--pink); transition: transform .2s var(--ease); }
.project-card:hover .project-more::after { transform: translateX(3px); }
.progress { display: block; height: 6px; background: var(--panel-2); border-radius: 99px; overflow: hidden; }
.project-summary + .progress { margin-top: 18px; }
.progress-bar { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--pink)); border-radius: 99px; }
.progress-label { font-size: .84rem; color: var(--muted); margin: 8px 0 0; }

/* Points forts + projets en cours */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.why .lead { margin-top: 18px; }
.checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; color: var(--ink); font-weight: 500; }
.checks li::before { content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.now-card { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: clamp(26px, 3.5vw, 40px); }
.now-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 6px; }
.now-card > p { color: var(--on-navy); margin-bottom: 22px; }
.now-list { list-style: none; margin: 0; padding: 0; }
.now-list li + li { border-top: 1px solid rgba(255,255,255,.1); }
.now-list a { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 16px 0; text-decoration: none; }
.now-list strong { color: #fff; font-weight: 700; }
.now-list .now-cat { color: var(--on-navy); font-size: .88rem; grid-column: 1; }
.now-list .now-pct { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-weight: 800; font-size: 1.3rem; color: #fff; font-variant-numeric: tabular-nums; }
.now-list .progress { grid-column: 1 / -1; background: rgba(255,255,255,.12); }
.now-list a:hover strong { text-decoration: underline; text-underline-offset: 3px; }

/* Services */
.service-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { display: flex; flex-direction: column; height: 100%; padding: 30px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.service-card:hover { transform: translateY(-2px); border-color: #d6d8e4; box-shadow: 0 20px 40px -28px rgba(19,28,74,.35); }
.service-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--pink-soft); color: var(--pink); }
.service-card h3 { margin: 22px 0 10px; }
.service-card p { color: var(--muted); font-size: .97rem; flex: 1; }
.service-card .text-link { margin-top: 18px; }
.service-num { font-weight: 800; font-size: .9rem; color: var(--pink); letter-spacing: .04em; }

/* Méthode */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 26px 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.step-num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: .95rem; margin-bottom: 18px; }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .93rem; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .2s; }
.faq details[open] { border-color: #d6d8e4; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 26px; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--pink-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d11ccf' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 26px 24px; margin: 0; color: var(--muted); }

/* Appel à l'action final */
.cta { padding: 0 0 clamp(64px, 9vh, 104px); }
.cta-panel { background: var(--blue); color: #fff; border-radius: var(--r-lg); padding: clamp(40px, 6vw, 72px) clamp(22px, 5vw, 64px); text-align: center; position: relative; overflow: hidden; }
.cta-panel::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(224,32,224,.55), transparent 65%); pointer-events: none; }
.cta-panel .pill { color: #fff; background: transparent; border-color: rgba(255,255,255,.5); }
.cta-panel h2 { color: #fff; max-width: 22ch; margin: 0 auto; }
.cta-panel p { color: #dfe2ff; max-width: 56ch; margin: 18px auto 0; font-size: 1.05rem; }
.cta-panel .actions { justify-content: center; position: relative; z-index: 1; }

/* Pied de page */
.site-footer { background: var(--navy); color: var(--on-navy); padding: 72px 0 28px; font-size: .95rem; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 36px; }
.footer-brand p { margin: 16px 0 12px; max-width: 30ch; }
.footer-title { font-size: 1rem; color: #fff; margin-bottom: 12px; letter-spacing: 0; font-weight: 700; }
.footer-links { list-style: none; margin: 0; padding: 0; line-height: 2.1; }
.site-footer a { text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.footer-mail { color: #fff; font-weight: 600; }
.footer-legal { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; }
.socials { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }

/* WhatsApp */
.whatsapp { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(0,0,0,.4); z-index: 40; transition: transform .2s var(--ease); }
.whatsapp:hover { transform: translateY(-2px) scale(1.04); }

/* En-têtes des pages intérieures */
.page-head { padding: 16px 0 0; }
.page-head-panel { background: var(--panel); border-radius: var(--r-lg); padding: clamp(40px, 6vw, 72px) clamp(22px, 5vw, 64px); }
.page-head h1 { max-width: 22ch; }
.page-head .lead { margin-top: 18px; }
.chips, .filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chip, .filter { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; font-weight: 600; font-size: .94rem; color: var(--ink); transition: border-color .15s, background-color .15s; }
.chip:hover, .filter:hover { border-color: var(--ink); }
.filter span { color: var(--muted); font-weight: 500; }
.filter[aria-current="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.filter[aria-current="true"] span { color: var(--on-navy); }

/* Page services */
.service-detail-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.service-detail h2 { margin: 18px 0 16px; }
.service-detail .lead { margin-bottom: 20px; }
.tech-line { color: var(--muted); font-size: .96rem; margin-bottom: 28px; }
.tech-line span { color: var(--ink); font-weight: 700; margin-right: 6px; }
.deliverables { background: var(--panel); border-radius: var(--r); padding: 30px; }
.section-alt .deliverables { background: #fff; }
.deliverables h3 { margin-bottom: 14px; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); }
.check-list li:first-child { border-top: 0; }
.check-list li::before { content: ""; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%; background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Page projet */
.back-link { display: block; width: fit-content; margin-bottom: 20px; color: var(--muted); text-decoration: none; font-weight: 600; }
.back-link::before { content: "← "; }
.back-link:hover { color: var(--ink); }
.facts { display: flex; flex-wrap: wrap; gap: 16px 44px; margin: 30px 0 0; }
.facts dt { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 600; color: var(--ink); }
.page-head-panel > .btn { margin-top: 30px; }
.dd-progress { display: flex; align-items: center; gap: 10px; }
.dd-progress .progress { width: 120px; }
.project-hero-cover { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 8; background: var(--pc); }
.project-hero-cover img { width: 100%; height: 100%; object-fit: cover; }
.project-content { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.prose { max-width: 66ch; font-size: 1.07rem; }
.prose h2 { font-size: 1.6rem; margin-bottom: 18px; }
.tech-box { padding: 26px; border-radius: var(--r); background: var(--panel); }
.tech-box h2 { font-size: 1.05rem; margin-bottom: 14px; letter-spacing: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags li { padding: 6px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; color: var(--ink); font-weight: 500; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gallery-item { display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: var(--panel); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.025); }
.empty { padding: 48px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--r); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 44px); }
.form-card h2 { font-size: 1.6rem; margin-bottom: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row > * { min-width: 0; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; color: var(--ink); font-size: .94rem; margin-bottom: 7px; }
.opt { font-weight: 500; color: var(--muted); font-size: .84rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--panel); border: 1.5px solid transparent; border-radius: 12px; padding: 12px 15px; min-height: 50px; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(34,48,255,.12); }
.field [aria-invalid="true"] { border-color: #c4302b; }
.field-error { color: #c4302b; font-size: .9rem; margin: 6px 0 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.notice-success h2 { margin-bottom: 10px; }
.notice-success p { color: var(--muted); margin-bottom: 20px; }
.contact-side { display: grid; gap: 12px; }
.contact-block { padding: 24px 26px; border-radius: var(--r); background: var(--panel); }
.contact-block h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: 8px; }
.contact-block p { margin: 0 0 6px; }
.contact-block a { color: var(--ink); font-weight: 600; text-decoration-color: var(--line); text-underline-offset: 3px; }
.contact-block a:hover { text-decoration-color: currentColor; }
.page-404 .page-head-panel { min-height: 50vh; }

/* Tablette */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .hero-panel, .why, .service-detail-grid, .project-content, .contact-grid { grid-template-columns: 1fr; }
  .hero-side { max-width: 560px; }
  .project-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .topbar-mail { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
}
/* Mobile */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-row { height: 68px; }
  .mobile-menu { inset: 68px 0 0 0; }
  .project-grid, .project-grid-2, .service-grid, .gallery, .field-row, .steps { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
  .actions { gap: 12px; }
  .actions .text-link { margin: 6px auto 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .project-hero-cover { aspect-ratio: 4 / 3; }
  .section { padding: 64px 0; }
  .topbar .wrap { gap: 10px; font-size: .8rem; }
  .topbar-sep { display: none; }
  .hero-panel, .page-head-panel, .stats-panel, .cta-panel { border-radius: 20px; }
  .whatsapp { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Étapes empilées (accueil) */
.steps-stack { grid-template-columns: 1fr !important; gap: 12px; }
.steps-stack .step { display: grid; grid-template-columns: 38px 1fr; gap: 18px; padding: 20px 24px; align-items: start; }
.steps-stack .step-num { margin: 0; }
.steps-stack .step h3 { margin-bottom: 4px; }
