/* QuinqComputerDev — design du site. Charte : Jost, bleu #0067FF, pastilles #EAF1FF / #0A3D99. */

@font-face { font-family: 'Jost'; src: url(../fonts/jost.woff2) format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url(../fonts/instrument-serif-italic.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url(../fonts/instrument-serif.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
	--ink: #0E1015; --ink-2: #15171E; --ink-3: #1C1F28; --muted: #5F6676; --muted-dark: #A3A9B8;
	--paper: #FAFAF7; --white: #fff; --line: rgba(14,16,21,.08); --line-dark: rgba(255,255,255,.1);
	--blue: #0067FF; --blue-deep: #0A3D99; --blue-soft: #EAF1FF; --blue-light: #8CBAFF;
	--serif: 'Instrument Serif', Georgia, serif; --sans: 'Jost', system-ui, sans-serif;
	--ease: cubic-bezier(.32,.72,0,1); --ease-out: cubic-bezier(.16,1,.3,1);
	--r-xl: 2rem; --r-lg: 1.5rem; --pad: clamp(1rem, 4vw, 3rem); --max: 1240px;
}

/* ---------- Socle ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body::after { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
::selection { background: var(--blue); color: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.q h1, .q h2, .q h3, .q h4 { font-family: var(--sans); color: inherit; margin: 0; font-weight: 500; letter-spacing: -.02em; line-height: 1.05; }
.q p { margin: 0 0 1em; }
.q p:last-child { margin-bottom: 0; }
.q em, .q .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.q-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Elementor : les sections QCD gèrent leur propre rythme. */
.elementor-widget-html:has(> .elementor-widget-container > .q), .elementor-widget-html:has(> .q) { width: 100%; }
.e-con:has(> .e-con-inner > .elementor-widget-html .q), .e-con:has(> .elementor-widget-html .q) { --padding-top: 0; --padding-bottom: 0; --padding-left: 0; --padding-right: 0; --gap: 0; }
.e-con.q-root { --content-width: 100%; --padding-top: 0; --padding-bottom: 0; --padding-left: 0; --padding-right: 0; }

/* ---------- Mise en page ---------- */
.q-wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); box-sizing: border-box; position: relative; }
.q-sec { position: relative; padding: clamp(5rem, 11vw, 9.5rem) 0; }
.q-sec--tight { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.q-dark { background: var(--ink); color: #F4F5F8; }
.q-dark .q-muted, .q-dark p { color: var(--muted-dark); }
.q-dots { background-image: radial-gradient(rgba(14,16,21,.09) 1px, transparent 1.2px); background-size: 22px 22px; }
.q-dark.q-dots { background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.2px); }
.q-muted { color: var(--muted); }
.q-grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }

/* Titres */
.q-eyebrow { display: inline-flex; align-items: center; gap: .6em; padding: .45em 1em; border-radius: 99px; background: var(--blue-soft); color: var(--blue-deep); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1.2; }
.q-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(0,103,255,.15); }
.q-dark .q-eyebrow { background: rgba(0,103,255,.16); color: var(--blue-light); }
.q-h1 { font-size: clamp(2.6rem, 7.2vw, 6.4rem); line-height: .98 !important; letter-spacing: -.035em !important; }
.q-h2 { font-size: clamp(2.1rem, 5vw, 4.2rem); letter-spacing: -.03em !important; }
.q-h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2 !important; }
.q-h1 em, .q-h2 em { color: var(--blue); }
.q-dark .q-h1 em, .q-dark .q-h2 em { color: var(--blue-light); }
.q-lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 40rem; font-weight: 400; }
.q-head { display: grid; justify-items: start; gap: 1.4rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.q-head--split { grid-template-columns: 1.1fr .9fr; align-items: end; justify-items: stretch; gap: 2rem 4rem; }

/* Boutons « îlot » */
.q-btn { --b: var(--ink); --c: #fff; display: inline-flex; align-items: center; gap: .9rem; padding: .55rem .6rem .55rem 1.5rem; border-radius: 99px; background: var(--b); color: var(--c) !important; text-decoration: none !important; font-weight: 500; font-size: 1rem; line-height: 1.2; border: 0; cursor: pointer; transition: transform .5s var(--ease), background-color .4s var(--ease), box-shadow .5s var(--ease); box-shadow: 0 10px 30px -12px rgba(14,16,21,.45); }
.q-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(14,16,21,.5); }
.q-btn:active { transform: scale(.98); }
.q-btn i { width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); font-style: normal; transition: transform .5s var(--ease); }
.q-btn i svg { width: 15px; height: 15px; }
.q-btn:hover i { transform: translate(3px, -2px) scale(1.06); }
.q-btn--blue { --b: var(--blue); box-shadow: 0 14px 34px -12px rgba(0,103,255,.55); }
.q-btn--blue:hover { --b: #0058DB; }
.q-btn--light { --b: #fff; --c: var(--ink); box-shadow: 0 10px 30px -14px rgba(0,0,0,.4); }
.q-btn--light i { background: var(--blue-soft); color: var(--blue); }
.q-btn--ghost { --b: transparent; --c: var(--ink); box-shadow: inset 0 0 0 1px rgba(14,16,21,.16); }
.q-btn--ghost i { background: rgba(14,16,21,.06); }
.q-dark .q-btn--ghost { --c: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.q-dark .q-btn--ghost i { background: rgba(255,255,255,.1); }
.q-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.q-link { color: var(--blue); font-weight: 500; text-decoration: none; background: linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat; transition: background-size .5s var(--ease); }
.q-link:hover { background-size: 100% 1px; }

/* Cartes « double bordure » */
.q-shell { padding: .4rem; border-radius: var(--r-xl); background: rgba(14,16,21,.035); box-shadow: inset 0 0 0 1px rgba(14,16,21,.05); }
.q-core { border-radius: calc(var(--r-xl) - .4rem); background: #fff; box-shadow: 0 1px 2px rgba(14,16,21,.04), 0 24px 48px -28px rgba(14,16,21,.18), inset 0 1px 0 rgba(255,255,255,.9); padding: clamp(1.4rem, 2.6vw, 2.2rem); height: 100%; box-sizing: border-box; }
.q-dark .q-shell { background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.q-dark .q-core { background: var(--ink-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 60px -30px rgba(0,0,0,.6); }
.q-pill { display: inline-block; padding: .3em .85em; border-radius: 99px; background: var(--blue-soft); color: var(--blue-deep); font-size: .8rem; font-weight: 500; line-height: 1.4; }
.q-dark .q-pill { background: rgba(255,255,255,.07); color: #DCE0E8; }

/* ---------- En-tête : îlot flottant ---------- */
.q-nav { position: fixed; top: 1rem; left: 50%; transform: translateX(-50%); z-index: 100; width: min(calc(100% - 2rem), 1120px); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem .5rem .5rem 1.3rem; border-radius: 99px; background: rgba(250,250,247,.72); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); box-shadow: inset 0 0 0 1px rgba(14,16,21,.07), 0 18px 40px -24px rgba(14,16,21,.35); box-sizing: border-box; transition: transform .6s var(--ease), background-color .4s; }
.q-nav.is-hidden { transform: translate(-50%, -140%); }
.q-nav__logo img { height: 34px; width: auto; }
.q-nav__links { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.q-nav__links a { display: block; padding: .55rem 1rem; border-radius: 99px; text-decoration: none; font-size: .96rem; font-weight: 500; color: var(--ink); transition: background-color .35s var(--ease); }
.q-nav__links a:hover, .q-nav__links a[aria-current] { background: rgba(14,16,21,.06); }
.q-nav .q-btn { padding-left: 1.2rem; font-size: .95rem; box-shadow: none; }
.q-nav .q-btn i { width: 2rem; height: 2rem; }
.q-burger { display: none; width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; position: relative; }
.q-burger span { position: absolute; left: 50%; width: 18px; height: 1.6px; background: #fff; border-radius: 2px; transition: transform .5s var(--ease), opacity .3s; }
.q-burger span:nth-child(1) { transform: translate(-50%, -4px); }
.q-burger span:nth-child(2) { transform: translate(-50%, 4px); }
.q-menu-open .q-burger span:nth-child(1) { transform: translate(-50%, 0) rotate(45deg); }
.q-menu-open .q-burger span:nth-child(2) { transform: translate(-50%, 0) rotate(-45deg); }
.q-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(250,250,247,.92); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); display: flex; flex-direction: column; justify-content: center; padding: 6rem 1.5rem 2rem; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.q-menu-open .q-overlay { opacity: 1; visibility: visible; }
.q-overlay ul { list-style: none; margin: 0; padding: 0; }
.q-overlay li { overflow: hidden; }
.q-overlay a { display: block; font-size: clamp(2.2rem, 9vw, 3.4rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; text-decoration: none; color: var(--ink); padding: .2rem 0; transform: translateY(110%); transition: transform .8s var(--ease); }
.q-menu-open .q-overlay a { transform: none; }
.q-overlay li:nth-child(2) a { transition-delay: .05s; } .q-overlay li:nth-child(3) a { transition-delay: .1s; } .q-overlay li:nth-child(4) a { transition-delay: .15s; } .q-overlay li:nth-child(5) a { transition-delay: .2s; }
.q-overlay__foot { margin-top: 2.5rem; color: var(--muted); font-size: .95rem; }
.q-overlay__foot a { font-size: 1rem; transform: none; display: inline; color: var(--blue); }

/* ---------- Héros ---------- */
.q-hero { position: relative; padding: clamp(8.5rem, 16vw, 12rem) 0 clamp(4rem, 8vw, 6rem); overflow: hidden; }
.q-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.q-hero h1 { margin: 1.6rem 0 1.6rem; }
.q-hero .q-lead { margin-bottom: 2.2rem; }
.q-arc { position: absolute; pointer-events: none; border-radius: 50%; }
.q-arc--a { width: 760px; height: 760px; right: -260px; top: -120px; border: 34px solid var(--blue); border-color: var(--blue) var(--blue) transparent transparent; transform: rotate(18deg); opacity: .95; }
.q-arc--b { width: 900px; height: 900px; right: -330px; top: -190px; border: 2px solid var(--blue-light); border-color: var(--blue-light) var(--blue-light) transparent transparent; transform: rotate(10deg); }
.q-stack { position: relative; height: clamp(360px, 42vw, 540px); }
.q-stack figure { position: absolute; margin: 0; width: 78%; transition: transform 1.2s var(--ease); }
.q-stack figure:nth-child(1) { left: 0; top: 4%; transform: rotate(-4deg); z-index: 1; }
.q-stack figure:nth-child(2) { right: 0; top: 22%; transform: rotate(3deg); z-index: 2; }
.q-stack figure:nth-child(3) { left: 11%; top: 46%; transform: rotate(-1deg); z-index: 3; }
.q-stack:hover figure:nth-child(1) { transform: rotate(-6deg) translate(-12px, -10px); }
.q-stack:hover figure:nth-child(2) { transform: rotate(5deg) translate(14px, -6px); }
.q-browser { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(14,16,21,.08), 0 40px 80px -30px rgba(14,16,21,.45), 0 12px 24px -12px rgba(14,16,21,.2); }
.q-browser::before { content: ''; display: block; height: 22px; background: #F1F2F4 radial-gradient(circle at 12px 11px, #FF5F57 3.5px, transparent 4px), radial-gradient(circle at 24px 11px, #FEBC2E 3.5px, transparent 4px), radial-gradient(circle at 36px 11px, #28C840 3.5px, transparent 4px); background-repeat: no-repeat; background-color: #F1F2F4; }
.q-browser img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.q-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: clamp(3.5rem, 7vw, 5.5rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.q-stat b { display: block; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.q-stat b small { font-size: .45em; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.q-stat span { display: block; margin-top: .5rem; color: var(--muted); font-size: .95rem; line-height: 1.35; }
.q-stars, .q-stat .q-stars { color: #F5A524; letter-spacing: .15em; font-size: .95rem; }
.q-avis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.q-avis figure { margin: 0; }
.q-avis .q-core { display: flex; flex-direction: column; gap: 1.1rem; }
.q-avis blockquote { margin: 0; font-family: var(--serif); font-size: 1.32rem; line-height: 1.4; letter-spacing: -.005em; color: var(--ink); }
.q-avis blockquote p::before { content: '“'; color: var(--blue); }
.q-avis blockquote p::after { content: '”'; color: var(--blue); }
.q-avis figcaption { margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line); display: grid; gap: .15rem; }
.q-avis figcaption b { font-weight: 500; font-size: .98rem; }
.q-avis figcaption span { font-size: .86rem; color: var(--muted); }

/* Bandeau défilant */
.q-marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 1.6rem 0; background: #fff; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.q-marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: q-defile 60s linear infinite; }
.q-marquee:hover .q-marquee__track { animation-play-state: paused; }
.q-marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--ink); white-space: nowrap; display: inline-flex; align-items: center; gap: 3.5rem; }
.q-marquee span::after { content: '✦'; font-style: normal; font-size: .7rem; color: var(--blue); }
@keyframes q-defile { to { transform: translateX(-50%); } }

/* ---------- Prestations (bento) ---------- */
.q-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.1rem; }
.q-bento > * { grid-column: span 4; }
.q-bento > .is-wide { grid-column: span 8; }
.q-bento > .is-half { grid-column: span 6; }
.q-svc { display: flex; flex-direction: column; gap: 1rem; text-decoration: none; color: inherit; }
.q-svc .q-core { display: flex; flex-direction: column; gap: 1rem; transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
a.q-shell:hover .q-core { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(14,16,21,.04), 0 40px 70px -34px rgba(0,103,255,.35); }
.q-svc__ico { width: 3rem; height: 3rem; border-radius: 1rem; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.q-svc__ico svg { width: 22px; height: 22px; stroke-width: 1.4; }
.q-svc p { color: var(--muted); font-size: .98rem; }
.q-price { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.q-price b { font-size: 1.55rem; font-weight: 600; letter-spacing: -.03em; }
.q-price b small { font-size: .55em; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-right: .25em; }
.q-price span { font-size: .88rem; color: var(--muted); text-align: right; }
.q-dark .q-price { border-color: var(--line-dark); }
.q-feature { background: var(--ink) !important; color: #fff; position: relative; overflow: hidden; }
.q-feature p, .q-feature .q-price span, .q-feature .q-price small { color: var(--muted-dark) !important; }
.q-feature .q-price { border-color: var(--line-dark); }
.q-feature .q-svc__ico { background: rgba(0,103,255,.22); color: var(--blue-light); }
.q-feature::after { content: ''; position: absolute; width: 420px; height: 420px; right: -160px; bottom: -220px; border-radius: 50%; border: 22px solid var(--blue); border-color: var(--blue) transparent transparent var(--blue); transform: rotate(-20deg); opacity: .9; }
.q-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.q-checks li { position: relative; padding-left: 1.7rem; font-size: .97rem; line-height: 1.5; }
.q-checks li::before { content: ''; position: absolute; left: 0; top: .32em; width: 1rem; height: 1rem; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230067FF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.q-dark .q-checks li::before, .q-feature .q-checks li::before { background-color: rgba(0,103,255,.25); }

/* ---------- Réalisations ---------- */
.q-work { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.2rem, 2.4vw, 2rem); }
.q-work > article { grid-column: span 6; }
.q-work > article.is-big { grid-column: span 7; }
.q-work > article.is-small { grid-column: span 5; }
.q-case { position: relative; }
.q-case figure { margin: 0 0 1.2rem; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-3); position: relative; }
.q-case figure img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; transition: transform 1.4s var(--ease-out); }
.q-case:hover figure img { transform: scale(1.035); }
.q-case figure::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); pointer-events: none; }
.q-case__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.q-case h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.q-case h3 a { text-decoration: none; }
.q-case h3 a::after { content: ''; position: absolute; inset: 0; z-index: 2; }
.q-case__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem; }
.q-case p { margin-top: .6rem; font-size: .98rem; }
.q-case__arrow { width: 2.6rem; height: 2.6rem; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: transform .6s var(--ease), background-color .4s; }
.q-case:hover .q-case__arrow { transform: rotate(-45deg); background: var(--blue); }
.q-case__arrow svg { width: 16px; height: 16px; }
:not(.q-dark) > * > .q-case__arrow, .q-sec:not(.q-dark) .q-case__arrow { background: rgba(14,16,21,.06); }
.q-sec:not(.q-dark) .q-case:hover .q-case__arrow { background: var(--blue); color: #fff; }
.q-sec:not(.q-dark) .q-case figure { background: #E9EAEE; }
.q-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.q-filters button { font: inherit; font-size: .95rem; font-weight: 500; padding: .6rem 1.15rem; border-radius: 99px; border: 0; cursor: pointer; background: rgba(14,16,21,.05); color: var(--ink); transition: background-color .35s var(--ease), color .35s; }
.q-filters button[aria-pressed=true] { background: var(--ink); color: #fff; }
.q-filters button span { color: var(--muted); margin-left: .3em; font-size: .85em; }
.q-filters button[aria-pressed=true] span { color: #C9CDD6; }
.q-folio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6rem 1.6rem; }
.q-folio .q-case.is-out { display: none; }
.q-textcases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 3.5rem; }
.q-textcases .q-core h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.q-textcases .q-core p { font-size: .95rem; color: var(--muted); }

/* ---------- Méthode ---------- */
.q-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: s; }
.q-step { counter-increment: s; }
.q-step .q-core { position: relative; padding-top: 4.4rem; }
.q-step .q-core::before { content: '0' counter(s); position: absolute; top: 1.4rem; left: clamp(1.4rem, 2.6vw, 2.2rem); font-family: var(--serif); font-style: italic; font-size: 2.4rem; line-height: 1; color: var(--blue); }
.q-step h3 { margin-bottom: .7rem; }
.q-step p { color: var(--muted); font-size: .97rem; }
.q-step small { display: inline-block; margin-top: 1rem; font-weight: 500; color: var(--blue-deep); font-size: .85rem; }

/* Finition (liste en deux colonnes sur fond sombre) */
.q-finish { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.q-finish ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.q-finish li { padding: 1.2rem 0; border-top: 1px solid var(--line-dark); display: grid; gap: .25rem; }
.q-finish li b { font-weight: 500; color: #fff; }
.q-finish li span { color: var(--muted-dark); font-size: .93rem; line-height: 1.5; padding-right: 1rem; }

/* Secteurs */
.q-cloud { display: flex; flex-wrap: wrap; gap: .6rem; }
.q-cloud span { padding: .7rem 1.2rem; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 1rem; font-weight: 500; }
.q-cloud span small { color: var(--muted); font-weight: 400; margin-left: .35em; }

/* Amiens (image éditoriale) */
.q-place { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.q-place figure { margin: 0; border-radius: var(--r-xl); overflow: hidden; position: relative; }
.q-place figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: grayscale(1) contrast(1.08); }
.q-place figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,103,255,.35)); mix-blend-mode: multiply; }
.q-place figcaption { position: absolute; left: 1rem; bottom: .8rem; z-index: 1; color: rgba(255,255,255,.85); font-size: .72rem; }
.q-place figcaption a { color: inherit; }

/* FAQ */
.q-faq { display: grid; gap: .7rem; max-width: 880px; }
.q-faq details { border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s var(--ease); }
.q-faq details[open] { box-shadow: inset 0 0 0 1px rgba(0,103,255,.35), 0 24px 50px -30px rgba(0,103,255,.35); }
.q-faq summary { list-style: none; cursor: pointer; padding: 1.35rem 1.6rem; font-size: 1.12rem; font-weight: 500; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.q-faq summary::-webkit-details-marker { display: none; }
.q-faq summary::after { content: ''; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' stroke='%230067FF' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .5s var(--ease); }
.q-faq details[open] summary::after { transform: rotate(45deg); }
.q-faq details > div { padding: 0 1.6rem 1.5rem; color: var(--muted); }

/* Tableau des tarifs */
.q-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.q-table th, .q-table td { text-align: left; padding: 1.15rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.q-table thead th { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.q-table tbody th { font-weight: 500; font-size: 1.08rem; }
.q-table tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; margin-top: .2rem; }
.q-table td b { font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.q-table tbody tr { transition: background-color .3s; }
.q-table tbody tr:hover { background: rgba(0,103,255,.035); }
.q-note { font-size: .88rem; color: var(--muted); margin-top: 1.2rem; }

/* Détail d'une prestation (pages services) */
.q-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.q-detail + .q-detail { margin-top: clamp(4rem, 8vw, 6rem); padding-top: clamp(4rem, 8vw, 6rem); border-top: 1px solid var(--line); }
.q-detail .q-price { border: 0; padding: 0; margin: 1.6rem 0; justify-content: flex-start; gap: 2rem; }
.q-anchor { scroll-margin-top: 7rem; }

/* Formulaire de contact (Forminator) */
.e-con.q-form { background: #fff; border-radius: var(--r-xl); padding: clamp(1.4rem, 3vw, 2.6rem) !important; box-shadow: 0 0 0 .4rem rgba(14,16,21,.035), 0 0 0 calc(.4rem + 1px) rgba(14,16,21,.05), 0 30px 60px -34px rgba(14,16,21,.25); }
.forminator-ui .select2-container .select2-selection--single { height: auto !important; min-height: 3.2rem; display: flex !important; align-items: center; }
.forminator-ui .select2-container .select2-selection--single .select2-selection__rendered { padding: 0 !important; font-family: var(--sans) !important; color: var(--ink) !important; }
.q-hero--int { padding-bottom: clamp(1.5rem, 4vw, 3rem); }
.q-contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.q-coord { display: grid; gap: 1.3rem; margin-top: 2rem; }
.q-coord a { text-decoration: none; display: grid; gap: .1rem; }
.q-coord small { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.q-coord span { font-size: 1.3rem; font-weight: 500; letter-spacing: -.01em; }
.q-coord a:hover span { color: var(--blue); }
.forminator-ui.forminator-custom-form { font-family: var(--sans) !important; }
.forminator-ui .forminator-label { font-family: var(--sans) !important; font-size: .9rem !important; font-weight: 500 !important; color: var(--ink) !important; margin-bottom: .45rem !important; }
.forminator-ui .forminator-input, .forminator-ui .forminator-textarea, .forminator-ui .select2-container .select2-selection--single { font-family: var(--sans) !important; font-size: 1rem !important; border-radius: 14px !important; border: 1px solid rgba(14,16,21,.14) !important; background: var(--paper) !important; padding: .9rem 1rem !important; transition: border-color .3s, box-shadow .3s !important; }
.forminator-ui .forminator-input:focus, .forminator-ui .forminator-textarea:focus { border-color: var(--blue) !important; box-shadow: 0 0 0 4px rgba(0,103,255,.12) !important; background: #fff !important; }
.forminator-ui .forminator-button-submit { font-family: var(--sans) !important; background: var(--blue) !important; color: #fff !important; border-radius: 99px !important; padding: 1rem 2rem !important; font-size: 1rem !important; font-weight: 500 !important; box-shadow: 0 14px 34px -12px rgba(0,103,255,.55) !important; transition: transform .5s var(--ease) !important; }
.forminator-ui .forminator-button-submit:hover { transform: translateY(-2px); background: #0058DB !important; }
.forminator-ui .forminator-checkbox-label, .forminator-ui .forminator-description { font-family: var(--sans) !important; font-size: .9rem !important; color: var(--muted) !important; }

/* Pages légales (texte long) */
.q-prose { max-width: 760px; }
.q-prose h2 { font-size: 1.6rem; margin: 2.6rem 0 1rem; }
.q-prose h3 { font-size: 1.2rem; margin: 1.8rem 0 .6rem; }
.q-prose a { color: var(--blue); }
.q-prose ul { padding-left: 1.2rem; }

/* Appel final */
.q-cta { position: relative; overflow: hidden; text-align: center; padding-bottom: clamp(9rem, 16vw, 13rem); }
.q-cta .q-h2 { max-width: 15ch; margin: 1.4rem auto 1.4rem; font-size: clamp(2.4rem, 6.4vw, 5.6rem); }
.q-cta .q-lead { margin: 0 auto 2.4rem; color: var(--muted-dark); }
.q-cta .q-actions { justify-content: center; }
.q-cta .q-arc--a { left: 50%; right: auto; top: auto; bottom: -780px; transform: translateX(-50%) rotate(-45deg); width: 900px; height: 900px; opacity: .9; }
.q-cta .q-arc--b { left: 50%; right: auto; top: auto; bottom: -860px; transform: translateX(-50%) rotate(-45deg); width: 1080px; height: 1080px; opacity: .5; }

/* ---------- Pied de page ---------- */
.q-foot { background: var(--ink); color: var(--muted-dark); padding: clamp(4rem, 8vw, 6rem) 0 2rem; font-size: .96rem; position: relative; z-index: 2; }
.q-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.q-foot img { height: 40px; width: auto; margin-bottom: 1.3rem; }
.q-foot h2 { font-size: .75rem !important; letter-spacing: .16em !important; text-transform: uppercase; color: #fff; font-weight: 600 !important; margin-bottom: 1.1rem !important; }
.q-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.q-foot a { text-decoration: none; color: var(--muted-dark); transition: color .3s; }
.q-foot a:hover { color: #fff; }
.q-foot__base { margin-top: 4rem; padding-top: 1.6rem; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; }

/* ---------- Apparitions au défilement ---------- */
.q-js .q-reveal { opacity: 0; transform: translateY(40px); filter: blur(6px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), filter 1s var(--ease-out); transition-delay: var(--d, 0s); }
.q-js .q-reveal.is-in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
	.q-js .q-reveal { opacity: 1; transform: none; filter: none; transition: none; }
	.q-marquee__track { animation: none; }
	html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.q-nav__links, .q-nav > .q-btn { display: none; }
	.q-burger { display: block; }
	.q-hero__grid, .q-head--split, .q-finish, .q-place, .q-detail, .q-contact { grid-template-columns: 1fr; }
	.q-bento > *, .q-bento > .is-wide { grid-column: span 6; }
	.q-steps { grid-template-columns: 1fr 1fr; }
	.q-folio, .q-textcases { grid-template-columns: 1fr 1fr; }
	.q-avis { grid-template-columns: 1fr; }
	.q-foot__grid { grid-template-columns: 1fr 1fr; }
	.q-stack { max-width: 640px; }
}
@media (max-width: 767px) {
	body { font-size: 1rem; }
	.q-bento > *, .q-bento > .is-wide, .q-bento > .is-half, .q-work > article, .q-work > article.is-big, .q-work > article.is-small { grid-column: 1 / -1; }
	.q-stats { grid-template-columns: 1fr 1fr; gap: 1.8rem 1rem; }
	.q-steps, .q-folio, .q-textcases, .q-finish ul, .q-foot__grid { grid-template-columns: 1fr; }
	.q-stack { height: 300px; }
	.q-stack figure { width: 86%; }
	.q-stack figure:nth-child(n) { transform: none; }
	.q-stack figure:nth-child(2) { top: 18%; } .q-stack figure:nth-child(3) { top: 36%; left: 7%; }
	.q-arc--a { width: 460px; height: 460px; border-width: 22px; right: -240px; top: -60px; }
	.q-arc--b { width: 560px; height: 560px; right: -290px; top: -110px; }
	.q-table thead { display: none; }
	.q-table tr { display: grid; grid-template-columns: 1fr auto; padding: 1rem 0; border-bottom: 1px solid var(--line); }
	.q-table th, .q-table td { border: 0; padding: .2rem 0; }
	.q-table tbody th { grid-column: 1 / -1; }
	.q-nav { padding-left: 1rem; }
	.q-feature::after { width: 260px; height: 260px; right: -150px; bottom: -170px; border-width: 16px; }
	.q-cta .q-arc--a { bottom: -760px; width: 820px; height: 820px; }
	.q-cta .q-arc--b { bottom: -830px; width: 960px; height: 960px; }
	.q-cta { padding-bottom: 8rem; }
	.q-nav__logo img { height: 28px; }
}

/* ---------- Bandeau cookies (Complianz) à la charte ---------- */
.cmplz-cookiebanner.cmplz-cookiebanner { font-family: var(--sans) !important; border-radius: 1.6rem !important; background: rgba(255,255,255,.96) !important; backdrop-filter: blur(18px); box-shadow: 0 0 0 1px rgba(14,16,21,.07), 0 40px 80px -30px rgba(14,16,21,.45) !important; color: var(--ink) !important;
	--cmplz_banner_background_color: #fff; --cmplz_text_color: #15171E; --cmplz_hyperlink_color: #0067FF; --cmplz_banner_border_radius: 1.6rem;
	--cmplz_button_accept_background_color: #0067FF; --cmplz_button_accept_border_color: #0067FF; --cmplz_button_accept_text_color: #fff;
	--cmplz_button_deny_background_color: #0E1015; --cmplz_button_deny_border_color: #0E1015; --cmplz_button_deny_text_color: #fff;
	--cmplz_button_settings_background_color: #fff; --cmplz_button_settings_border_color: rgba(14,16,21,.16); --cmplz_button_settings_text_color: #0E1015;
	--cmplz_button_border_radius: 99px; --cmplz_slider_active_color: #0067FF; }
.cmplz-cookiebanner .cmplz-title { font-family: var(--sans) !important; font-weight: 500 !important; font-size: 1.05rem !important; }
.cmplz-cookiebanner .cmplz-message, .cmplz-cookiebanner .cmplz-message p { font-size: .88rem !important; line-height: 1.55 !important; color: var(--muted) !important; }
.cmplz-cookiebanner .cmplz-btn { font-family: var(--sans) !important; font-weight: 500 !important; border-radius: 99px !important; transition: transform .4s var(--ease) !important; }
.cmplz-cookiebanner .cmplz-btn:hover { transform: translateY(-1px); }
.cmplz-cookiebanner .cmplz-logo img { height: 28px; width: auto; }
