/* =====================================================================
   POLICE (12/11) : Montserrat variable (400 à 800), hébergée avec le site.
   Aucun appel à Google Fonts. Licence SIL Open Font License 1.1.
   ===================================================================== */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/montserrat-variable-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/montserrat-variable.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* LIVADA WEB : prototype de la page d'accueil. Aucune dépendance. */

@property --p { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --open { syntax: '<number>'; inherits: true; initial-value: 1; }
@property --ex { syntax: '<number>'; inherits: true; initial-value: 0; }

:root {
  --navy: #0B3D4A;
  --navy-900: #062B35;
  --navy-800: #083440;
  --ink: #0A2E38;
  --body: #3B5560;
  --teal: #16A6B6;
  --teal-300: #6FD3DD;
  --teal-700: #0B7482;
  --gold: #D4A24A;
  --gold-300: #F0CB7E;
  --gold-700: #8A6212;
  --mist: #F6F8FA;
  --line: #DDE6EA;
  --white: #fff;

  --font: "Montserrat", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 22px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .25, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65;
  color: var(--body); background: var(--white); overflow-x: clip;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
em { font-style: normal; }
:focus-visible { outline: 3px solid var(--teal-700); outline-offset: 3px; border-radius: 6px; }
.visibilite :focus-visible, .cta :focus-visible, .footer :focus-visible { outline-color: var(--gold-300); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 200; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 16px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---------- Typographie ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.eyebrow--gold { color: var(--gold-300); }
.display { font-size: clamp(2.7rem, 6.1vw, 5.5rem); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; color: var(--ink); margin: 22px 0 22px; }
.title { font-size: clamp(1.8rem, 3.6vw, 3.1rem); line-height: 1.1; font-weight: 800; letter-spacing: -.028em; color: var(--ink); margin-top: 16px; text-wrap: balance; }
.mega { font-size: clamp(2.9rem, 10.5vw, 9rem); line-height: .95; font-weight: 800; letter-spacing: -.045em; color: #fff; margin: 20px 0 28px; }
.lead { font-size: clamp(1.03rem, 1.25vw, 1.2rem); max-width: 34em; }
.lead--light { color: #C9DDE2; }
.sub { margin-top: 18px; max-width: 40em; }
.line { display: block; overflow: hidden; padding-bottom: .09em; margin-bottom: -.09em; }
.line > span { display: block; }
.display em, .mega em { position: relative; white-space: nowrap; background: linear-gradient(100deg, var(--teal-700), var(--teal) 55%, #2CC3D0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mega em { background-image: linear-gradient(100deg, var(--gold-300), var(--gold)); }

/* ---------- Boutons ---------- */
.btn { --bx: 0px; --by: 0px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 28px; border-radius: 999px; font: 700 .98rem/1 var(--font); letter-spacing: -.005em; text-decoration: none; cursor: pointer; border: 0; overflow: hidden; isolation: isolate; transform: translate(var(--bx), var(--by)); transition: transform .5s var(--ease), box-shadow .35s var(--ease), color .3s; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover svg { transform: translateX(5px); }
.btn--gold { background: var(--gold); color: var(--navy-900); box-shadow: 0 10px 28px -12px rgba(170, 120, 30, .75); }
.btn--gold::before { background: var(--gold-300); }
.btn--gold:hover { box-shadow: 0 16px 34px -14px rgba(170, 120, 30, .85); }
.btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn--ghost::before { background: var(--navy); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy::before { background: var(--teal-700); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .875rem; }
.btn--lg { min-height: 64px; padding: 0 36px; font-size: 1.08rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- Introduction ---------- */
.intro { display: none; }
.intro-on .intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: 150; background: #fff; animation: intro-out .7s var(--ease-io) 1.85s forwards; }
.intro__logo { width: min(58vw, 330px); text-align: center; animation: intro-logo 1s var(--ease-io) .35s both; }
.intro__logo p { margin-top: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); }
.intro__thread { position: absolute; left: 0; top: calc(50% + 150px); width: 100%; height: 120px; overflow: visible; }
.intro__thread path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease-io) .1s forwards; }
.intro__sweep { position: absolute; inset: 0; background: linear-gradient(180deg, var(--teal), var(--navy)); transform: translateY(101%); animation: intro-sweep 1.05s var(--ease-io) 1.55s forwards; }
.intro-skip .intro { animation: intro-fade .25s ease forwards; }
@keyframes intro-logo { from { clip-path: inset(0 100% 0 0); transform: translateX(-14px); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes intro-sweep { 45% { transform: none; } 100% { transform: translateY(-101%); } }
@keyframes intro-out { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes intro-fade { to { opacity: 0; visibility: hidden; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- En-tête ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .3s, transform .5s var(--ease); }
.header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 14px 30px -24px rgba(6, 43, 53, .5); }
.header__bar { display: flex; align-items: center; gap: 28px; height: var(--header-h); width: min(100% - 2 * var(--gutter), 1360px); margin-inline: auto; }
.brand { display: inline-flex; align-items: flex-end; gap: 10px; text-decoration: none; flex: none; }
.brand__symbol { height: 46px; width: auto; }
.brand__word { height: 19px; width: auto; margin-bottom: 7px; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(16px, 2.4vw, 34px); }
.nav a { position: relative; display: block; padding: 10px 0; font-size: .92rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.header__progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--gold)); transform-origin: left; transform: scaleX(var(--scroll, 0)); }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; }
.burger__box { display: grid; gap: 7px; width: 26px; margin: auto; }
.burger i { height: 2.5px; border-radius: 2px; background: var(--navy); transition: transform .4s var(--ease); }
.burger[aria-expanded="true"] i:first-child { transform: translateY(4.75px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-4.75px) rotate(-45deg); }
.menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: #fff; padding: 28px var(--gutter) 40px; overflow: auto; }
.menu[hidden] { display: none; }
.menu ul { margin-bottom: 28px; }
.menu li a { display: block; padding: 16px 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.menu .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 980px); padding: calc(var(--header-h) + clamp(28px, 6vh, 72px)) 0 0; display: flex; flex-direction: column; background: linear-gradient(180deg, #fff 0%, #F3F9FA 62%, #E9F4F6 100%); overflow: clip; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.glow--teal { width: 46vw; height: 46vw; right: -10vw; top: -12vw; background: radial-gradient(circle, rgba(22, 166, 182, .5), transparent 65%); transform: translate3d(calc(var(--mx, 0) * -18px), calc(var(--my, 0) * -14px), 0); }
.glow--gold { width: 30vw; height: 30vw; left: 26vw; bottom: -12vw; background: radial-gradient(circle, rgba(212, 162, 74, .45), transparent 65%); transform: translate3d(calc(var(--mx, 0) * 14px), calc(var(--my, 0) * 10px), 0); }
.flow { position: absolute; inset: auto 0 0 0; width: 100%; height: 56%; overflow: visible; transform: translate3d(0, calc(var(--p) * -70px), 0); }
.flow path { fill: none; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.flow__teal { stroke: var(--teal); stroke-width: 2; opacity: .55; }
.flow__gold { stroke: var(--gold); stroke-width: 3.5; }
.flow__thin { stroke: var(--navy); stroke-width: 1; opacity: .22; }

.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(24px, 4vw, 64px); align-items: center; flex: 1; }
.hero__text { transform: translate3d(0, calc(var(--p) * -40px), 0); }
.hero__stage { position: relative; height: clamp(400px, 60vh, 600px); perspective: 1500px; }
.layer { --d: 1; transform: translate3d(calc(var(--mx, 0) * var(--d) * 14px), calc(var(--my, 0) * var(--d) * 10px + var(--p) * var(--d) * -60px), 0); }
.portal { position: absolute; inset: 0 8% 0 14%; border-radius: 999px 999px 26px 26px; overflow: hidden; background: var(--navy); box-shadow: 0 40px 70px -40px rgba(6, 43, 53, .65); }
.portal img { width: 100%; height: 112%; object-fit: cover; object-position: 40% 50%; transform: translate3d(0, calc(-4% + var(--p) * -6%), 0) scale(1.04); }
.portal__ring { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), inset 0 -120px 90px -60px rgba(6, 43, 53, .55); }
.chip { position: absolute; background: #fff; border-radius: 18px; box-shadow: 0 24px 50px -24px rgba(6, 43, 53, .5), 0 0 0 1px rgba(11, 61, 74, .06); }
.chip span, .chip b, .chip em { display: block; border-radius: 99px; }
.chip span { height: 8px; background: #DCE7EB; }
.chip span.short { width: 62%; }
.chip--site { left: -2%; bottom: 13%; width: 210px; overflow: hidden; }
.chip__bar { display: flex; gap: 5px; padding: 10px 12px; background: var(--mist); }
.chip__bar i { width: 7px; height: 7px; border-radius: 50%; background: #C5D3D9; }
.chip__body { display: grid; gap: 9px; padding: 14px 16px 16px; }
.chip__body b { height: 14px; width: 78%; background: var(--navy); }
.chip__body em { height: 22px; width: 84px; margin-top: 4px; background: var(--gold); }
.chip--search { right: -2%; top: 16%; display: flex; align-items: center; gap: 12px; width: 220px; padding: 14px 18px; border-radius: 99px; }
.chip--search svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--teal-700); stroke-width: 2.4; stroke-linecap: round; }
.chip--search span { flex: 1; }
.chip--ia { right: 4%; bottom: 7%; display: flex; align-items: center; gap: 12px; width: 190px; padding: 14px 16px; background: var(--navy); }
.chip--ia strong { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(140deg, var(--teal), var(--teal-700)); color: #fff; font-size: .8rem; font-weight: 800; }
.chip--ia div { flex: 1; display: grid; gap: 8px; }
.chip--ia span { background: rgba(255, 255, 255, .3); }
.chip--ia span:first-child { background: var(--gold); }

.ribbon { position: relative; margin-top: clamp(28px, 5vh, 56px); padding: 20px 0; background: var(--navy); color: #fff; overflow: hidden; }
.ribbon__track { display: flex; align-items: center; gap: 34px; width: max-content; font-size: .86rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; transform: translate3d(calc(var(--p) * -22%), 0, 0); }
.ribbon i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }

/* Entrée du hero (une fois l'introduction terminée) */
.js .hero .line > span { transform: translateY(108%); }
.js .hero .rise { opacity: 0; transform: translateY(22px); }
.js .hero .portal { clip-path: inset(100% 0 0 0 round 999px 999px 26px 26px); }
.js .hero .chip { opacity: 0; scale: .9; }
.js .hero .flow path { stroke-dashoffset: 1; }
.js .ready .hero .line > span, .js.ready .hero .line > span { transform: none; transition: transform 1.1s var(--ease); }
.js.ready .hero .line:nth-child(2) > span { transition-delay: .09s; }
.js.ready .hero .line:nth-child(3) > span { transition-delay: .18s; }
.js.ready .hero .line:nth-child(4) > span { transition-delay: .27s; }
.js.ready .hero .rise { opacity: 1; transform: none; transition: opacity .9s var(--ease) .3s, transform .9s var(--ease) .3s; }
.js.ready .hero .eyebrow.rise { transition-delay: 0s; }
.js.ready .hero .actions.rise { transition-delay: .6s; }
.js.ready .hero .portal { clip-path: inset(0 0 0 0 round 999px 999px 26px 26px); transition: clip-path 1.4s var(--ease-io) .15s; }
.js.ready .hero .chip { opacity: 1; scale: 1; transition: opacity .8s var(--ease), scale .9s var(--ease); }
.js.ready .hero .chip--site { transition-delay: .9s; }
.js.ready .hero .chip--search { transition-delay: 1.05s; }
.js.ready .hero .chip--ia { transition-delay: 1.2s; }
.js.ready .hero .flow path { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s var(--ease-io) .3s; }
.js.ready .hero .flow__gold { transition-delay: .5s; }
.js.ready .hero .flow__thin { transition-delay: .7s; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 12vw, 160px) 0; }
.head { max-width: 860px; }
.head--light .title { color: #fff; }
.head--light .sub { color: #C9DDE2; }

/* Révélations génériques */
.js [data-reveal] { --i: 0; opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .mega[data-reveal] { opacity: 1; transform: none; }
.js .mega .line > span { transform: translateY(108%); transition: transform 1.2s var(--ease); }
.js .mega .line:nth-child(2) > span { transition-delay: .12s; }
.js .mega.is-in .line > span { transform: none; }

/* ---------- B. Expertises ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 6vw, 72px); }
.card { position: relative; display: flex; flex-direction: column; padding: 34px 28px 30px; border-radius: var(--radius); background: var(--mist); overflow: hidden; isolation: isolate; }
.js .card[data-reveal] { transform: translateY(60px) scale(.96); clip-path: inset(0 0 78% 0 round 22px); transition: opacity .8s var(--ease), transform 1.1s var(--ease), clip-path 1.1s var(--ease-io), background-color .5s; transition-delay: calc(var(--i) * 110ms); }
.js .card[data-reveal].is-in { transform: none; clip-path: inset(0 0 0 0 round 22px); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); transform: translateY(101%); transition: transform .65s var(--ease); }
.card::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease) .1s; }
.card:hover::before, .card:focus-within::before { transform: none; }
.card:hover::after, .card:focus-within::after { transform: scaleX(1); }
.card h3 { font-size: 1.22rem; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin: 26px 0 10px; transition: color .4s; }
.card p { font-size: .97rem; line-height: 1.55; transition: color .4s; }
.card:hover h3, .card:focus-within h3 { color: #fff; }
.card:hover p, .card:focus-within p { color: #C9DDE2; }
.icon { width: 60px; height: 60px; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: transform .7s var(--ease); }
.icon .s { stroke: var(--navy); transition: stroke .4s; }
.icon .t { stroke: var(--teal-700); transition: stroke .4s; }
.icon .g { stroke: var(--gold); }
.card:hover .icon, .card:focus-within .icon { transform: translateY(-6px); }
.card:hover .icon .s, .card:focus-within .icon .s { stroke: #fff; }
.card:hover .icon .t, .card:focus-within .icon .t { stroke: var(--teal-300); }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 24px; font-size: .9rem; font-weight: 700; color: var(--teal-700); text-decoration: none; transition: color .4s; }
.more::before { content: ""; position: absolute; inset: 0; }
.more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.card:hover .more, .card:focus-within .more { color: var(--gold-300); }
.card:hover .more svg { transform: translateX(5px); }

/* ---------- C. Création : séquence ---------- */
.pin { overflow-x: clip; }
.creation { background: var(--mist); }
.creation__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.steps { margin-top: 34px; display: grid; gap: 4px; }
.steps li { position: relative; padding: 16px 0 16px 26px; }
.steps li::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 3px; background: var(--gold); }
.steps b { display: block; font-size: 1.12rem; font-weight: 800; letter-spacing: -.015em; color: var(--ink); }
.steps span { display: block; margin-top: 4px; font-size: .97rem; line-height: 1.5; }

.devices { position: relative; aspect-ratio: 1.22; --t1: clamp(0, calc((var(--p) - .02) / .3), 1); --t2: clamp(0, calc((var(--p) - .34) / .26), 1); --t3: clamp(0, calc((var(--p) - .6) / .26), 1); }
.device { position: absolute; background: #fff; border-radius: 16px; box-shadow: 0 40px 80px -44px rgba(6, 43, 53, .6), 0 0 0 1px rgba(11, 61, 74, .08); overflow: hidden; }
.device--desk { left: 0; top: 4%; width: 86%; aspect-ratio: 1.55; opacity: clamp(0, calc(var(--t1) * 4), 1); transform: translate3d(0, calc((1 - var(--t1)) * 50px), 0) scale(calc(1 - var(--t3) * .04)); }
.device__bar { display: flex; gap: 6px; padding: 11px 14px; background: #EDF2F4; }
.device__bar i { width: 9px; height: 9px; border-radius: 50%; background: #C5D3D9; }
.device--tab { right: 0; top: 30%; width: 36%; aspect-ratio: .74; border-radius: 20px; border: 7px solid var(--navy-900); opacity: clamp(0, calc(var(--t2) * 3), 1); transform: translate3d(calc((1 - var(--t2)) * 46%), calc((1 - var(--t2)) * 30px), 0) rotate(calc((1 - var(--t2)) * 5deg)); }
.device--phone { left: 49%; bottom: 0; width: 19%; aspect-ratio: .49; border-radius: 22px; border: 6px solid var(--navy-900); opacity: clamp(0, calc(var(--t3) * 3), 1); transform: translate3d(0, calc((1 - var(--t3)) * 60%), 0) rotate(calc((1 - var(--t3)) * -6deg)); }
.mock { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 4% 5%; padding: 5% 6% 6%; align-content: start; }
.mock > * { border-radius: 8px; }
.blk { --k: calc(1 - var(--t1)); opacity: var(--t1); transform: translate3d(calc(var(--x) * var(--k) * 1px), calc(var(--y) * var(--k) * 1px), 0); }
.mock__nav { grid-column: 1 / -1; display: flex; align-items: center; gap: 4%; padding-bottom: 3%; }
.mock__nav img { height: clamp(14px, 2vw, 26px); width: auto; margin-right: auto; }
.mock__nav u { width: 8%; height: 5px; border-radius: 9px; background: #C5D3D9; }
.mock__nav s { width: 15%; height: 14px; border-radius: 9px; background: var(--gold); }
.mock__h { grid-column: 1; height: clamp(12px, 1.9vw, 24px); background: var(--navy); }
.mock__h--2 { width: 70%; background: linear-gradient(90deg, var(--teal-700), var(--teal)); }
.mock__p { grid-column: 1; height: 34px; background: repeating-linear-gradient(180deg, #DCE7EB 0 7px, transparent 7px 13px); border-radius: 0; }
.mock__btn { grid-column: 1; width: 44%; height: clamp(16px, 2.2vw, 28px); border-radius: 99px; background: var(--gold); }
.mock__img { grid-column: 2; grid-row: 2 / span 4; border-radius: 99px 99px 10px 10px; background: linear-gradient(160deg, #2CC3D0, var(--teal-700) 55%, var(--navy)); min-height: 60px; }
.mock__row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4%; margin-top: 3%; }
.mock__row i { aspect-ratio: 1.5; border-radius: 8px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); }
.mock--tab, .mock--phone { grid-template-columns: 1fr; gap: 10px; padding: 14% 12%; }
.mock--tab > *, .mock--phone > * { grid-column: 1; grid-row: auto; }
.mock--tab .mock__img, .mock--phone .mock__img { aspect-ratio: 1.2; min-height: 0; border-radius: 12px; }
.mock--tab .mock__row { grid-template-columns: 1fr 1fr; }
.mock--phone .mock__btn { width: 70%; height: 16px; }
.mock--phone .mock__h { height: 12px; }
.devices__wave { position: absolute; left: -6%; right: -6%; bottom: -9%; width: 112%; height: 30%; overflow: visible; pointer-events: none; }
.devices__wave path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p)); }

/* ---------- D. SEO & GEO ---------- */
.visibilite { background: var(--navy); color: #C9DDE2; padding-top: clamp(120px, 15vw, 200px); }
.seam { position: absolute; left: 0; top: 0; width: 100%; height: clamp(60px, 9vw, 120px); transform: translateY(-99%); }
.seam__fill { fill: var(--navy); }
.seam__gold { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: clamp(0, calc(1 - var(--p) * 3.2), 1); }

.graph { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(40px, 9vw, 150px); align-items: center; margin-top: clamp(48px, 7vw, 90px); }
.graph__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.graph__lines path { fill: none; stroke-linecap: round; }
.graph__lines .l { stroke: rgba(111, 211, 221, .55); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: clamp(0, calc(1 - (var(--p) - .12 - var(--o, 0)) * 5), 1); }
.graph__lines .l--out { stroke: var(--gold); stroke-width: 2; }
.graph__lines .f { stroke: #fff; stroke-width: 2.5; stroke-dasharray: .05 .95; opacity: 0; }
.graph.is-live .f { opacity: .9; animation: flowdash 3.2s linear infinite; animation-delay: calc(var(--n, 0) * -.55s); }
@keyframes flowdash { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.graph__col { position: relative; display: grid; gap: 14px; }
.node { position: relative; padding: 15px 20px; border-radius: 14px; background: #154A57; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: #fff; font-size: .95rem; font-weight: 600; line-height: 1.35; }
.js .graph__col--in .node[data-reveal] { transform: translateX(-30px); }
.js .graph__col--out .node[data-reveal] { transform: translateX(30px); }
.js .graph .node[data-reveal].is-in { transform: none; }
.node--out { padding: 22px 24px; background: #fff; color: var(--ink); box-shadow: none; }
.node--out b { display: block; font-size: 1.08rem; font-weight: 800; letter-spacing: -.015em; }
.node--out span { display: block; margin-top: 3px; font-size: .88rem; font-weight: 500; color: var(--body); }
.node--ia { background: linear-gradient(140deg, #fff, #FBF1DC); }
.graph__core { position: relative; display: grid; place-items: center; }
.core { position: relative; display: grid; place-items: center; width: clamp(130px, 14vw, 180px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #2CC3D0, var(--teal-700) 60%, #075560); color: #fff; font-size: 1rem; font-weight: 800; line-height: 1.2; text-align: center; box-shadow: 0 0 0 10px rgba(22, 166, 182, .14), 0 0 0 24px rgba(22, 166, 182, .07); }
.core::after { content: ""; position: absolute; inset: -24px; border-radius: 50%; border: 1.5px solid var(--gold); opacity: 0; }
.graph.is-live .core::after { animation: ring 3.2s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.72); opacity: .9; } 100% { transform: scale(1.3); opacity: 0; } }
.js .graph__core[data-reveal] { transform: scale(.7); }
.js .graph__core[data-reveal].is-in { transform: none; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(48px, 7vw, 90px); }
.duo article { padding: 30px 30px 32px; border-radius: var(--radius); background: var(--navy-800); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.duo h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; color: var(--gold-300); margin-bottom: 10px; }
.honest { margin-top: 28px; padding-left: 20px; border-left: 3px solid var(--gold); max-width: 46em; font-size: .97rem; color: #E6F0F2; }

/* ---------- E. Réalisations ---------- */
.works { background: #fff; }
.works .pin__sticky { display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 48px); }
.works__track { display: flex; gap: clamp(18px, 2.4vw, 36px); width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.work { width: min(78vw, 520px); flex: none; }
.work__visual { position: relative; aspect-ratio: 1.42; border-radius: var(--radius); overflow: hidden; display: grid; place-items: end start; padding: 22px 26px; }
.work__visual::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .09) 0 2px, transparent 2px 26px); }
.work__visual span { position: relative; z-index: 1; font-size: clamp(3rem, 6vw, 5rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: rgba(255, 255, 255, .9); }
.v1 { background: linear-gradient(150deg, #2CC3D0, var(--teal-700) 50%, var(--navy)); }
.v2 { background: linear-gradient(150deg, var(--navy), var(--navy-900) 60%, #0B7482); }
.v3 { background: linear-gradient(150deg, var(--gold-300), var(--gold) 45%, #9A6D17); }
.work__tag { margin-top: 20px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); }
.work h3 { margin: 6px 0 6px; font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.work p { font-size: .97rem; }
.work--end { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; width: min(78vw, 420px); }
.work--end h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.12; }

/* ---------- F. Conversion ---------- */
.cta { position: relative; background: radial-gradient(120% 90% at 80% 0%, #0E5565 0%, var(--navy) 45%, var(--navy-900) 100%); color: #fff; padding: clamp(110px, 15vw, 210px) 0 clamp(190px, 27vw, 380px); overflow: clip; }
.cta__waves { position: absolute; inset: auto 0 0 0; width: 100%; height: clamp(150px, 24vw, 330px); }
.cta__waves path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: clamp(0, calc(1 - (var(--p) - .08) * 2.6), 1); }
.cta__waves .w1 { stroke: var(--teal); stroke-width: 1.5; opacity: .6; }
.cta__waves .w2 { stroke: var(--gold); stroke-width: 3.5; }
.cta__waves .w3 { stroke: #fff; stroke-width: 1; opacity: .25; }
.cta__inner { position: relative; }
.cta__note { margin-top: 30px; font-size: .92rem; color: #A9C6CD; }

/* ---------- Pied de page ---------- */
.footer { background: var(--navy-900); color: #A9C6CD; padding: 72px 0 34px; font-size: .94rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr .8fr 1fr; gap: 40px; }
.footer__logo { display: inline-block; padding: 16px 20px; border-radius: 18px; background: #fff; margin-bottom: 18px; }
.footer__logo img { width: 128px; }
.footer h2 { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 14px; }
.footer li { margin-bottom: 4px; }
.footer a { display: inline-block; padding: 5px 0; color: #DCEBEE; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.eco li { padding: 5px 0; }
.eco li[aria-current] { color: #fff; font-weight: 700; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; }
.footer__legal ul { display: flex; gap: 22px; }

/* ---------- Séquences épinglées (grand écran, animations autorisées) ---------- */
@media (min-width: 960px) and (min-height: 620px) and (prefers-reduced-motion: no-preference) {
  .js .pin { height: 220vh; }
  .js .pin.works { height: 260vh; }
  .js .pin__sticky { position: sticky; top: 0; z-index: 2; height: 100vh; padding-top: var(--header-h); overflow: hidden; }
  .js .creation .pin__sticky { display: grid; align-items: center; }
  .js .steps li { opacity: clamp(.62, calc(1.7 - max(var(--p) - var(--c), var(--c) - var(--p)) * 5.5), 1); }
  .js .steps li::before { transform-origin: top; transform: scaleY(clamp(0, calc(1.5 - max(var(--p) - var(--c), var(--c) - var(--p)) * 6), 1)); }
  .js .works__track { transform: translate3d(calc(var(--p) * (100vw - 100%)), 0, 0); }
  .js .work__visual { clip-path: inset(0 0 0 0 round 22px); }
}

/* Écrans étroits ou animations réduites : pas d'épinglage, lecture au fil de la page */
@media (max-width: 959.98px), (max-height: 619.98px), (prefers-reduced-motion: reduce) {
  .pin { padding: clamp(72px, 12vw, 120px) 0; }
  .js .pin { transition: --p 1.8s var(--ease-io); }
  .works__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 6px; margin-top: 30px; }
  .works__viewport::-webkit-scrollbar { display: none; }
  .work { scroll-snap-align: center; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 959.98px) {
  :root { --header-h: 66px; }
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .brand__symbol { height: 40px; }
  .brand__word { height: 16px; margin-bottom: 6px; }
  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__stage { height: clamp(330px, 92vw, 480px); max-width: 520px; width: 100%; margin-inline: auto; }
  .portal { inset: 0 10% 0 10%; }
  .chip--site { left: 0; width: 168px; bottom: 9%; }
  .chip--search { right: 0; width: 176px; top: 12%; }
  .chip--ia { right: 2%; width: 160px; bottom: 3%; }
  .creation__grid { grid-template-columns: 1fr; gap: 44px; }
  .graph { grid-template-columns: 1fr; gap: 64px; }
  .graph__col--in { grid-template-columns: 1fr 1fr; }
  .graph__col--in .node:last-child { grid-column: 1 / -1; }
  .graph__col--out { grid-template-columns: 1fr 1fr; }
  .js .graph__col .node[data-reveal] { transform: translateY(24px); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .cards { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 28px 24px 26px; }
  .actions .btn { width: 100%; }
  .duo { grid-template-columns: 1fr; }
  .graph__col--in, .graph__col--out { grid-template-columns: 1fr; }
  .graph__col--in .node:last-child { grid-column: auto; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .ribbon__track { font-size: .74rem; gap: 22px; }
  .devices { aspect-ratio: 1.05; }
  .device--phone { width: 24%; }
}

/* ---------- Animations réduites ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .pin { transition: none; }
  .intro { display: none !important; }
}


/* =====================================================================
   VERSION 2 : vue éclatée, fil d'or continu, scène SEO / GEO, cartes vivantes
   ===================================================================== */

/* ---------- Hero : titre réel + vue éclatée ---------- */
.hero__h1 { max-width: 30em; margin-bottom: 14px; font-size: clamp(1.02rem, 1.45vw, 1.28rem); line-height: 1.35; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.js.ready .hero .hero__h1.rise { transition-delay: .25s; }

/* Accueil : le surtitre, la ligne d'accroche et le paragraphe sont là dès le départ et glissent sans fondu (affichage plus rapide, LCP). Le grand titre et la vue éclatée ne changent pas. */
.js .hero .eyebrow.rise, .js .hero .hero__h1.rise, .js .hero .lead.rise { opacity: 1; }
.js.ready .hero .eyebrow.rise, .js.ready .hero .hero__h1.rise, .js.ready .hero .lead.rise { transition: transform .7s var(--ease) 0s; }

.hero { --open: 1; }
.js .hero { --open: 0; }
.js.ready .hero { --open: 1; transition: --open 1.9s var(--ease-io) 1.1s; }

.stack { position: absolute; inset: 0; display: grid; place-items: center; transform-style: preserve-3d; }
.js .hero .stack { opacity: 0; scale: .9; }
.js.ready .hero .stack { opacity: 1; scale: 1; transition: opacity .9s var(--ease) .2s, scale 1.3s var(--ease) .2s; }
.stack__inner {
  --gap: calc(var(--open) * 46px + var(--p) * 90px);
  position: relative; width: min(88%, 430px); aspect-ratio: 1.5; transform-style: preserve-3d;
  transform: translate3d(calc(var(--open) * -4%), calc(var(--open) * 70px), 0)
             rotateX(calc(var(--open) * 57deg + var(--my, 0) * -5deg))
             rotateZ(calc(var(--open) * -37deg + var(--mx, 0) * 6deg));
}
.ply { position: absolute; inset: 0; border-radius: 16px; transform: translate3d(calc(var(--p) * var(--sx) * 1px), calc(var(--p) * var(--sy) * 1px), calc(var(--n) * var(--gap))); }
.ply--data { background: linear-gradient(140deg, var(--navy), var(--navy-900)); box-shadow: 0 40px 70px -20px rgba(6, 43, 53, .55); display: grid; align-content: center; gap: 7%; padding: 10% 9%; }
.ply--data i { height: 7px; border-radius: 9px; background: rgba(111, 211, 221, .5); }
.ply--data i:nth-child(2) { width: 72%; margin-left: 8%; }
.ply--data i:nth-child(3) { width: 54%; margin-left: 8%; background: var(--gold); }
.ply--data i:nth-child(4) { width: 80%; margin-left: 16%; }
.ply--data i:nth-child(5) { width: 40%; margin-left: 16%; background: var(--gold); }
.ply--data i:nth-child(6) { width: 62%; }
.ply--data b { position: absolute; right: 7%; bottom: 8%; font-size: .72rem; font-weight: 800; letter-spacing: .18em; color: var(--gold-300); }
.ply--page { background: #fff; background-image: linear-gradient(rgba(11, 61, 74, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 61, 74, .05) 1px, transparent 1px); background-size: 12.5% 16.66%; box-shadow: 0 30px 60px -24px rgba(6, 43, 53, .45), 0 0 0 1px rgba(11, 61, 74, .08); }
.ply--text { display: grid; align-content: start; gap: 6%; padding: 24% 50% 0 7%; }
.ply--text > * { display: block; border-radius: 99px; }
.ply--text b { height: 14px; width: 92%; background: var(--navy); box-shadow: 0 10px 18px -10px rgba(6, 43, 53, .6); }
.ply--text b.t { width: 64%; background: linear-gradient(90deg, var(--teal-700), var(--teal)); }
.ply--text span { height: 7px; background: #CFDCE1; }
.ply--text span.short { width: 60%; }
.ply--text em { height: 24px; width: 54%; margin-top: 4%; background: var(--gold); box-shadow: 0 12px 20px -10px rgba(170, 120, 30, .8); }
.ply--photo { inset: 21% 6% 9% 54%; border-radius: 999px 999px 14px 14px; overflow: hidden; background: var(--navy); box-shadow: 0 26px 40px -18px rgba(6, 43, 53, .65); }
.ply--photo img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 50%; }
.ply--chrome { inset: 0 0 85% 0; border-radius: 16px 16px 0 0; display: flex; align-items: center; gap: 4%; padding: 0 5%; background: rgba(246, 248, 250, .96); box-shadow: 0 16px 26px -16px rgba(6, 43, 53, .45), 0 0 0 1px rgba(11, 61, 74, .06); }
.ply--chrome img { height: 62%; width: auto; margin-right: auto; }
.ply--chrome u { width: 9%; height: 5px; border-radius: 9px; background: #B9C9CF; }
.ply--chrome s { width: 17%; height: 44%; border-radius: 99px; background: var(--gold); }
.ply--ia { inset: 46% -7% auto auto; display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 13px; background: var(--navy); box-shadow: 0 22px 34px -14px rgba(6, 43, 53, .7); }
.ply--ia strong { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(140deg, var(--teal), var(--teal-700)); color: #fff; font-size: .68rem; font-weight: 800; }
.ply--ia span { width: 54px; height: 7px; border-radius: 9px; background: var(--gold); }

/* ---------- Fil d'or continu (grand écran) ---------- */
main { position: relative; }
.fil { display: none; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.fil__path { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; }
.fil__dot { fill: var(--gold-300); filter: drop-shadow(0 0 7px rgba(240, 203, 126, .95)); opacity: 0; transition: opacity .3s; }
.fil.is-on .fil__dot { opacity: 1; }
@media (min-width: 960px) {
  .js .fil { display: block; }
  main .wrap, .works__viewport { position: relative; z-index: 2; }
}

/* ---------- Cartes : un comportement par expertise ---------- */
.icon .g { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .6s var(--ease), stroke-dashoffset 1.1s var(--ease-io); }
.js .card .icon .g { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .card.is-in .icon .g { stroke-dashoffset: 0; transition-delay: 0s, calc(var(--i) * 110ms + .55s); }
.card--site:hover .g, .card--site:focus-within .g { transform: translate(-4px, -3px); }
.card--seo:hover .g, .card--seo:focus-within .g { transform: scaleY(1.28); }
.card--ia:hover .g, .card--ia:focus-within .g { transform-origin: 50% 50%; transform: scale(1.14); }
.card--strat:hover .g, .card--strat:focus-within .g { transform: translate(4px, -5px); }

/* ---------- Scène SEO / GEO : une page, deux façons d'être trouvée ---------- */
.scene { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .86fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 110px); align-items: center; margin-top: clamp(48px, 7vw, 90px); }
.scene__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.scene__lines path { fill: none; stroke-linecap: round; }
.scene__lines .l { stroke: var(--gold); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: clamp(0, calc(1 - (var(--p) - .2 - var(--o, 0)) * 4.5), 1); }
.scene__lines .f { stroke: #fff; stroke-width: 2.5; stroke-dasharray: .06 .94; opacity: 0; }
.scene.is-live .f { opacity: .9; animation: flowdash 3.4s linear infinite; animation-delay: calc(var(--n, 0) * -1.2s); }
.mockui, .scene__page { position: relative; margin: 0; }
.mockui { padding: 22px; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 34px 60px -30px rgba(0, 0, 0, .6); }
.mockui figcaption { margin-bottom: 14px; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); }
.mockui span, .mockui b { display: block; border-radius: 99px; }
.mockui span { height: 8px; margin-top: 8px; background: #DCE7EB; }
.mockui .short { width: 58%; }
.mockui__bar { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 10px 14px; border-radius: 99px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); }
.mockui__bar svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--teal-700); stroke-width: 2.4; stroke-linecap: round; }
.mockui__bar span { flex: 1; margin: 0; }
.mockui ul { display: grid; gap: 8px; }
.mockui li { position: relative; padding: 12px 14px; border-radius: 12px; }
.mockui li b { height: 10px; width: 52%; background: #B9C9CF; }
.hit { position: relative; }
.hit::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(240, 203, 126, .22); box-shadow: inset 0 0 0 2px var(--gold); opacity: clamp(0, calc((var(--p) - .4) * 7), 1); pointer-events: none; }
.hit em { font-size: .98rem; font-weight: 800; color: var(--ink); }
.bubble { margin-top: 10px; padding: 12px 14px; border-radius: 14px; }
.bubble--q { width: 62%; margin-left: auto; background: var(--navy); }
.bubble--q span { margin: 0; background: rgba(255, 255, 255, .45); }
.bubble--a { background: var(--mist); }
.bubble--a p.hit { display: inline-block; margin-top: 14px; padding: 7px 13px; border-radius: 99px; font-size: .86rem; font-weight: 600; color: var(--ink); }
.pagecard { padding: 24px; border-radius: 20px; background: linear-gradient(155deg, #0B7482, #064B55); color: #fff; box-shadow: 0 0 0 10px rgba(22, 166, 182, .14), 0 0 0 24px rgba(22, 166, 182, .07), 0 30px 60px -30px rgba(0, 0, 0, .7); }
.pagecard__label { font-size: 1.15rem; font-weight: 800; letter-spacing: -.015em; }
.pagecard__body { display: grid; gap: 9px; margin: 14px 0 18px; }
.pagecard__body > * { display: block; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .32); }
.pagecard__body b { height: 12px; width: 70%; background: var(--gold); }
.pagecard__body .short { width: 55%; }
.pagecard__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.pagecard__tags li { padding: 6px 11px; border-radius: 99px; background: rgba(255, 255, 255, .14); font-size: .78rem; font-weight: 600; }
.js .mockui--search[data-reveal] { transform: translateX(-30px); }
.js .mockui--ia[data-reveal] { transform: translateX(30px); }
.js .scene__page[data-reveal] { transform: scale(.82); }
.js .scene [data-reveal].is-in { transform: none; }
.scene__note { margin-top: 26px; font-size: .86rem; color: #A9C6CD; text-align: right; }

/* ---------- Galerie : rail doré ---------- */
.works__rail { display: none; }
@media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
  .js .works__rail { display: block; height: 2px; background: var(--line); }
  .js .works__rail i { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--p)); }
}

@media (max-width: 959.98px) {
  .scene { grid-template-columns: 1fr; gap: 54px; }
  .scene__page { order: -1; width: min(100%, 360px); margin-inline: auto; }
  .js .scene [data-reveal] { transform: translateY(24px); }
  .stack__inner { width: min(74%, 330px); }
}


/* =====================================================================
   VERSION 3 : hero plus grand, le site se démonte et se remonte en continu
   ===================================================================== */
@media (min-width: 960px) { .hero__grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); } }
.hero__text { position: relative; z-index: 3; }
.display { font-size: clamp(2.6rem, 4.9vw, 4.6rem); }
.hero__stage { height: clamp(470px, 68vh, 680px); perspective: 1150px; }

/* --ex : 0 = site assemblé, 1 = site entièrement démonté */
.stack { --ex: .8; }
.js .hero .stack { --ex: 0; }
.js.ready .hero .stack { animation: demonte 9.5s cubic-bezier(.65, 0, .25, 1) 3.1s infinite; animation-play-state: paused; }
.js.ready .hero.is-live .stack { animation-play-state: running; }
@keyframes demonte { 0%, 9% { --ex: 0; } 44%, 66% { --ex: 1; } 100% { --ex: 0; } }

.stack__inner {
  --spread: 64px;
  --rx: calc(var(--open) * (59deg - var(--ex) * 5deg) + var(--my, 0) * -5deg);
  --rz: calc(var(--open) * (-32deg - var(--ex) * 11deg) + var(--mx, 0) * 6deg);
  --gap: calc(var(--open) * (10px + var(--ex) * var(--spread)) + var(--p) * 80px);
  width: min(90%, 500px);
  transform: translate3d(calc(var(--open) * 5%), calc(var(--open) * (5% + var(--ex) * 11%)), 0) rotateX(var(--rx)) rotateZ(var(--rz));
}
.ply {
  transform-style: preserve-3d;
  transform: translate3d(calc(var(--p) * var(--sx) * 1px + var(--ex) * var(--dx) * 1px), calc(var(--p) * var(--sy) * 1px + var(--ex) * var(--dy) * 1px), calc(var(--n) * var(--gap)))
             rotateZ(calc(var(--ex) * var(--r) * 1deg));
}
.ply--photo { overflow: visible; background: none; box-shadow: none; }
.ply__clip { position: absolute; inset: 0; border-radius: 999px 999px 14px 14px; overflow: hidden; background: var(--navy); box-shadow: 0 30px 44px -18px rgba(6, 43, 53, .7); }
.ply__clip img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 50%; scale: calc(1.02 + var(--ex) * .14); }
.ply--data b { display: none; }
.ply--page { box-shadow: 0 40px 70px -26px rgba(6, 43, 53, .55), 0 0 0 1px rgba(11, 61, 74, .08); }

/* Étiquettes : toujours face à l'écran, visibles quand le site est démonté */
.tag { position: absolute; top: 50%; display: inline-flex; align-items: center; gap: 8px; height: auto; width: auto; padding: 7px 13px; border-radius: 99px; background: #fff; color: var(--ink); font-size: .74rem; font-weight: 700; letter-spacing: .01em; line-height: 1; white-space: nowrap; box-shadow: 0 14px 26px -12px rgba(6, 43, 53, .55), 0 0 0 1px rgba(11, 61, 74, .06); opacity: clamp(0, calc(var(--ex) * 3.2 - 1.6), 1); transform: translateZ(6px) rotateZ(calc(var(--rz) * -1)) rotateX(calc(var(--rx) * -1)); }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
.tag--r { left: calc(100% + 16px); transform-origin: left center; }
.tag--l { right: calc(100% + 16px); transform-origin: right center; }
.ply--text .tag, .ply--ia .tag { display: inline-flex; margin: 0; width: auto; height: auto; background: #fff; border-radius: 99px; }
.ply--text .tag { right: calc(100% - 4%); }
.ply--ia .tag { top: 50%; }

/* Fil d'or qui traverse les couches, avec une étincelle qui monte */
.axis { position: absolute; left: 30%; top: 62%; width: 3px; height: calc(var(--gap) * 5 + 30px); margin-left: -1.5px; border-radius: 3px; background: linear-gradient(180deg, rgba(212, 162, 74, .15), var(--gold) 30%, var(--gold-300)); transform-origin: top center; transform: translateZ(-14px) rotateX(90deg); opacity: calc(.25 + var(--ex) * .75); }
.axis::after { content: ""; position: absolute; left: -4px; top: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--gold-300); box-shadow: 0 0 14px 4px rgba(240, 203, 126, .8); opacity: 0; }
.js.ready .hero.is-live .axis::after { animation: etincelle 2.6s linear 3.4s infinite; }
@keyframes etincelle { 0% { top: 0; opacity: 0; } 12%, 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.floor { position: absolute; inset: -22%; border-radius: 50%; background: radial-gradient(closest-side, rgba(22, 166, 182, .38), rgba(22, 166, 182, 0) 72%); transform: translateZ(-46px) scale(calc(.72 + var(--ex) * .42)); opacity: calc(.5 + var(--ex) * .5); }

@media (max-width: 959.98px) {
  .hero__stage { height: clamp(380px, 104vw, 540px); }
  .stack__inner { --spread: 42px; width: min(68%, 300px); }
}
@media (max-width: 640px) {
  .tag { font-size: .66rem; padding: 6px 10px; }
  .ply--page .tag, .ply--chrome .tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hero .stack, .stack { --ex: .8; }
}

@media (min-width: 960px) { .display .line { white-space: nowrap; } }
.ply--chrome .tag { display: none; }
.ply--data .tag { left: 58%; right: auto; top: calc(100% + 16px); transform-origin: left center; }

@media (max-width: 640px) {
  .stack .ply .tag { display: none; }
  .hero__stage { margin-top: 34px; }
  .stack__inner { --spread: 34px; }
}


/* =====================================================================
   CORRECTIFS (v5) : lignes coupées sur écran large, sections épinglées rognées,
   raccord du fil d'or, hero plus grand sur très grand écran
   ===================================================================== */

/* --- Les lignes ne sont plus « tracées » par pointillés (cassé quand le SVG est étiré en largeur) :
       elles sont entières et dévoilées de gauche à droite par un masque. Plus aucune coupure possible. --- */
.hero .flow path, .devices .devices__wave path, .seam .seam__gold, .cta .cta__waves path, .intro .intro__thread path { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }

.js .hero .flow { clip-path: inset(-40px 100% -40px 0); }
.js.ready .hero .flow { clip-path: inset(-40px 0 -40px 0); transition: clip-path 2.4s var(--ease-io) .3s; }

.intro-on .intro__thread { animation: devoile 1.1s var(--ease-io) .1s both; }
@keyframes devoile { from { clip-path: inset(-30px 100% -30px 0); } to { clip-path: inset(-30px 0 -30px 0); } }

.devices__wave { clip-path: inset(-80px calc((1 - var(--p)) * 100%) -80px -20px); }
.seam--line { clip-path: inset(-12px calc(clamp(0, 1 - var(--p) * 9, 1) * 100%) -12px 0); }
.seam--line .seam__fill { display: none; }
.cta__waves { clip-path: inset(-12px calc(clamp(0, 1 - (var(--p) - .04) * 4, 1) * 100%) -12px 0); }

/* Sans JavaScript, tout est affiché dans son état final */
html:not(.js) .pin, html:not(.js) .cta, html:not(.js) .seam--line, html:not(.js) .scene { --p: 1; }

/* --- Création : la fenêtre du site est là dès le début, ses pièces s'assemblent ensuite --- */
.device--desk { opacity: 1; }
.blk { opacity: calc(.45 + var(--t1) * .55); }
.devices { --t1: clamp(0, calc(var(--p) / .2), 1); }
.creation__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.creation .title { font-size: clamp(1.7rem, 3vw, 2.7rem); }

/* --- Sections épinglées : tout doit tenir dans la hauteur de l'écran, même basse --- */
@media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
  .js .devices { width: min(100%, calc((100vh - var(--header-h) - 150px) * 1.22)); margin-inline: auto; }
  .js .work { width: clamp(250px, calc((100vh - 410px) * 1.42), 520px); }
  .js .work--end { width: clamp(240px, 26vw, 400px); }
  .js .works .pin__sticky { gap: clamp(14px, 3vh, 40px); }
}
@media (min-width: 960px) and (max-height: 820px) {
  .creation .title { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
  .works .title { font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin-top: 10px; }
  .steps { margin-top: 20px; }
  .steps li { padding: 10px 0 10px 24px; }
  .steps li::before { top: 10px; bottom: 10px; }
  .work__tag { margin-top: 12px; }
  .work h3 { font-size: 1.2rem; margin: 4px 0; }
  .work p { font-size: .92rem; }
}
@media (max-width: 959.98px) {
  .creation__grid { grid-template-columns: 1fr; }
}

/* --- Hero : la pile grandit avec l'écran au lieu de laisser un vide à droite --- */
@media (min-width: 960px) {
  .stack__inner { --spread: clamp(52px, 4.3vw, 84px); width: clamp(360px, 34vw, 640px); }
}
@media (min-width: 1700px) {
  .stack__inner { transform: translate3d(calc(var(--open) * 14%), calc(var(--open) * (5% + var(--ex) * 11%)), 0) rotateX(var(--rx)) rotateZ(var(--rz)); }
  .hero__stage { height: clamp(520px, 70vh, 760px); }
}


/* =====================================================================
   CORRECTIFS (v6) : les vagues du hero ont leur propre bande sous les textes et les boutons,
   quelle que soit la taille de l'écran ; l'en-tête ne se replie plus sur deux lignes
   ===================================================================== */
.hero .flow { position: relative; inset: auto; display: block; flex: none; width: 100%; height: clamp(64px, 8.5vw, 140px); margin-top: clamp(10px, 2vh, 26px); transform: none; overflow: visible; }
.hero .ribbon { margin-top: 0; }
.hero__grid { padding-bottom: 6px; }

/* Création : la vague dorée passe sous le téléphone et la tablette, sans toucher leurs cadres */
.devices__wave { top: 90%; bottom: auto; height: 18%; }

/* Bandeau défilant : boucle sans fin. Le script ajoute autant de groupes qu'il faut pour remplir l'écran,
   l'animation avance d'un groupe exactement : aucun trou, quelle que soit la largeur. */
.hero .ribbon { z-index: 3; }
.ribbon { --rg: 34px; }
.ribbon__track { --n: 4; gap: 0; transform: none; animation: ruban var(--dur, 14s) linear infinite; will-change: transform; }
.ribbon__group { display: flex; align-items: center; flex: none; gap: var(--rg); padding-right: var(--rg); }
@keyframes ruban { to { transform: translate3d(calc(-100% / var(--n)), 0, 0); } }
@media (max-width: 640px) { .ribbon { --rg: 22px; } }

/* Transition vers « SEO & GEO » : la vague sombre fait partie de sa propre section,
   elle ne remonte plus sur le texte ou les écrans de la section précédente */
.visibilite { --seam-h: clamp(60px, 9vw, 120px); padding-top: calc(var(--seam-h) + clamp(64px, 8vw, 120px)); background: linear-gradient(to bottom, var(--mist) calc(var(--seam-h) - 3px), var(--navy) calc(var(--seam-h) - 3px)); }
.seam { transform: none; height: var(--seam-h); }

.nav a, .btn, .brand { white-space: nowrap; }
@media (max-width: 640px) { .btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding-block: 12px; } .btn--lg { padding-inline: 26px; } }
@media (max-width: 1139.98px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
}


/* =====================================================================
   PROTOTYPE v7 (12/11) : métamorphose ordinateur vers téléphone, final de marque
   ===================================================================== */

/* --- Création : une seule fenêtre. Ses pièces s'assemblent (--t1), puis elle se transforme en téléphone (--m).
       Chaque pièce a une place « ordinateur » (--d*) et une place « téléphone » (--q*), en % du cadre. --- */
.devices { --m: clamp(0, calc((var(--p) - .32) / .48), 1); --mw: 56%; --ml: 35%; }
.morph { position: absolute; left: calc(var(--m) * var(--ml)); top: calc(4% + var(--m) * 2%); width: calc(86% - var(--m) * var(--mw)); aspect-ratio: calc(1.55 - var(--m) * 1.06); background: #fff; border: calc(var(--m) * 6px) solid var(--navy-900); border-radius: calc(16px + var(--m) * 12px); box-shadow: 0 40px 80px -44px rgba(6, 43, 53, .6), 0 0 0 1px rgba(11, 61, 74, .08); overflow: hidden; }
.morph::after { content: ""; position: absolute; top: 1.7%; left: 36%; width: 28%; height: 1.9%; border-radius: 99px; background: var(--navy-900); opacity: clamp(0, calc((var(--m) - .6) * 2.5), 1); }
.morph .device__bar { position: absolute; inset: 0 0 auto 0; height: 9%; padding: 0 14px; align-items: center; opacity: clamp(0, calc(1 - var(--m) * 2.2), 1); transform: translate3d(0, calc(var(--m) * -100%), 0); }
/* Deux temps pour que les pièces ne se croisent jamais : d'abord elles se resserrent en hauteur (--ma),
   ensuite elles s'élargissent et l'image passe sous le texte (--mb). */
.devices { --ma: clamp(0, calc(var(--m) * 2), 1); --mb: clamp(0, calc(var(--m) * 2 - 1), 1); }
.morph > .blk { position: absolute; border-radius: 8px;
  left: calc((var(--dl) + var(--mb) * (var(--ql) - var(--dl))) * 1%);
  top: calc((var(--dt) + var(--ma) * (var(--qt) - var(--dt))) * 1%);
  width: calc((var(--dw) + var(--mb) * (var(--qw) - var(--dw))) * 1%);
  height: calc((var(--dh) + var(--ma) * (var(--qh) - var(--dh))) * 1%); }
.m-nav { --dl: 6; --dt: 13; --dw: 88; --dh: 7; --ql: 9; --qt: 6.5; --qw: 82; --qh: 4.6; display: flex; align-items: center; gap: 4%; }
.m-nav img { height: 100%; width: auto; margin-right: auto; }
.m-nav u { flex: 0 0 calc((1 - var(--m)) * 8%); height: 5px; border-radius: 9px; background: #C5D3D9; opacity: calc(1 - var(--m)); }
.m-nav s { flex: 0 0 calc(15% + var(--m) * 9%); height: 62%; border-radius: 9px; background: var(--gold); }
.m-h { --dl: 6; --dt: 26; --dw: 44; --dh: 7; --ql: 9; --qt: 15; --qw: 82; --qh: 4.2; background: var(--navy); }
.m-h2 { --dl: 6; --dt: 37; --dw: 31; --dh: 7; --ql: 9; --qt: 21; --qw: 56; --qh: 4.2; background: linear-gradient(90deg, var(--teal-700), var(--teal)); }
.m-p { --dl: 6; --dt: 49; --dw: 44; --dh: 11; --ql: 9; --qt: 28.5; --qw: 82; --qh: 8.5; background: repeating-linear-gradient(180deg, #DCE7EB 0 7px, transparent 7px 13px); }
.morph > .m-p { border-radius: 0; }
.m-btn { --dl: 6; --dt: 64; --dw: 20; --dh: 8; --ql: 9; --qt: 40; --qw: 52; --qh: 5.6; background: var(--gold); }
.morph > .m-btn { border-radius: 99px; }
.m-img { --dl: 55; --dt: 26; --dw: 39; --dh: 46; --ql: 9; --qt: 50; --qw: 82; --qh: 25; background: linear-gradient(160deg, #2CC3D0, var(--teal-700) 55%, var(--navy)); }
.morph > .m-img { border-radius: calc(99px - var(--m) * 85px) calc(99px - var(--m) * 85px) calc(10px + var(--m) * 4px) calc(10px + var(--m) * 4px); }
.m-row { --dl: 6; --dt: 78; --dw: 88; --dh: 15; --ql: 9; --qt: 79; --qw: 82; --qh: 15; display: flex; }
.m-row i { flex: 1 1 0; min-width: 0; height: 100%; border-radius: 8px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); }
.m-row i:nth-child(2) { margin-left: 4%; }
.m-row i:nth-child(n+3) { flex-grow: calc(1 - var(--m)); margin-left: calc((1 - var(--m)) * 4%); opacity: calc(1 - var(--m)); }
@media (max-width: 640px) { .devices { --mw: 50%; --ml: 32%; } }

/* --- Final de marque : la ligne d'or s'arrête sur la signature LIVADA, qui se dévoile à son arrivée.
       Le logo est le fichier officiel, posé sur une plaque blanche, sans retouche. --- */
.cta__sign { margin: 0 0 clamp(26px, 4vw, 48px); line-height: 0; }
.cta__plate { display: inline-block; padding: 16px 20px; border-radius: 18px; background: #fff; }
.cta__plate img { display: block; width: clamp(112px, 10vw, 176px); height: auto; }
.js .cta__plate { opacity: 0; clip-path: inset(-60px 100% -60px -60px); transition: clip-path .9s var(--ease-io), opacity .35s, box-shadow 1.2s; }
.js .cta.is-signed .cta__plate { opacity: 1; clip-path: inset(-60px -60px -60px -60px); box-shadow: 0 0 0 2px var(--gold), 0 18px 50px -22px rgba(240, 203, 126, .6); }

/* --- Réalisations : captures réelles des sites en ligne, puis bandeau de logos dans le flux de la page --- */
.work__shot { display: block; aspect-ratio: 1.42; border-radius: var(--radius); overflow: hidden; background: var(--mist); box-shadow: 0 30px 60px -40px rgba(6, 43, 53, .55), 0 0 0 1px rgba(11, 61, 74, .1); }
.work__shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease-io); }
a.work__shot:hover img { transform: scale(1.03); }
.work__link { font-weight: 700; color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.work h3, .work__tag { overflow-wrap: anywhere; }
@media (min-width: 960px) and (min-height: 620px) and (prefers-reduced-motion: no-preference) {
  .js .pin.works { height: 460vh; }
}
.clients { background: #fff; }
.clients__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 42%), 1fr)); gap: clamp(12px, 1.6vw, 22px); margin-top: clamp(28px, 4vw, 52px); padding: 0; list-style: none; }
.clients__grid li { position: relative; aspect-ratio: 1.5; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
/* Aucun coin pointu : chaque logo garde sa forme (un rond reste rond) et un logo rectangulaire a les coins arrondis.
   L'image est à sa taille réelle, centrée dans la case, pour que l'arrondi suive bien ses bords. */
.clients__grid img { position: absolute; inset: 13% 14%; margin: auto; width: auto; height: auto; max-width: 72%; max-height: 74%; border-radius: 12px; }


/* =====================================================================
   PAGES INTÉRIEURES (12/11) : en-tête de page, présentation en deux colonnes,
   liste d'atouts, cartes de prestations, questions fréquentes. Aucun coin pointu.
   ===================================================================== */
.phero { padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(56px, 8vw, 110px); background: var(--mist); }
.phero .title { font-size: clamp(2.1rem, 5vw, 4rem); margin-top: 18px; overflow-wrap: anywhere; }
.phero .lead { margin-top: 22px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.split .title { margin-bottom: 22px; }
.split p + p { margin-top: 14px; }
.checks { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.checks li { position: relative; padding: 18px 20px 18px 60px; border-radius: 16px; background: var(--mist); font-weight: 600; line-height: 1.4; color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 20px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--gold); }
.checks li::after { content: ""; position: absolute; left: 30px; top: 50%; width: 6px; height: 11px; margin-top: -7px; border: solid var(--navy-900); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.prestations { background: var(--mist); }
.prestations .card { background: #fff; }
.cards.cards--3 { grid-template-columns: repeat(auto-fit, minmax(min(max(280px, 30%), 100%), 1fr)); }
.cards--3 .card > h3:first-child { margin-top: 0; }
.faq__list { display: grid; gap: 12px; max-width: 860px; margin-top: clamp(28px, 4vw, 52px); }
.faq details { border-radius: 16px; background: var(--mist); padding: 0 22px; }
.faq summary { position: relative; padding: 20px 40px 20px 0; font-weight: 700; line-height: 1.35; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 16px; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--teal-700); transition: transform .3s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: none; }
.faq summary:focus-visible { outline-offset: 4px; border-radius: 8px; }
.faq details p { padding: 0 0 20px; max-width: 46em; }
@media (max-width: 959.98px) {
  .split { grid-template-columns: 1fr; }
}

/* =====================================================================
   VISUELS DES PAGES INTÉRIEURES (12/11) : fenêtres de sites réels dans
   l'en-tête, illustration « trouvé deux fois », grille de réalisations,
   numéros d'étapes. Rien n'est positionné hors de son cadre. Aucun coin pointu.
   ===================================================================== */
.phero--visual > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(36px, 5vw, 84px); align-items: center; }
.phero__text { min-width: 0; }
.showcase { position: relative; aspect-ratio: 1.22; min-width: 0; }
.frame { position: absolute; margin: 0; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 34px 60px -34px rgba(6, 43, 53, .6), 0 0 0 1px rgba(11, 61, 74, .1); }
.frame .device__bar { padding: 8px 11px; gap: 5px; }
.frame .device__bar i { width: 7px; height: 7px; }
.frame img { display: block; width: 100%; height: auto; aspect-ratio: 1040 / 732; object-fit: cover; object-position: top center; }
.frame--a { left: 0; top: 7%; width: 76%; z-index: 2; }
.frame--b { right: 0; top: 0; width: 44%; z-index: 1; }
.frame--c { right: 3%; bottom: 0; width: 50%; z-index: 3; }
.showcase__wave, .trouve__wave { position: absolute; left: -4%; bottom: -5%; width: 62%; height: 22%; z-index: 0; overflow: visible; pointer-events: none; }
.trouve__wave { left: -5%; bottom: auto; top: 56%; width: 40%; height: 20%; }
.showcase__wave path, .trouve__wave path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }

.trouve { position: relative; display: grid; gap: 18px; min-width: 0; }
.trouve__card { position: relative; z-index: 1; padding: 20px 22px 22px; border-radius: var(--radius); background: #fff; box-shadow: 0 34px 60px -38px rgba(6, 43, 53, .55), 0 0 0 1px rgba(11, 61, 74, .1); }
.trouve__card--search { width: 88%; }
.trouve__card--ia { width: 82%; margin-left: auto; background: var(--navy); color: #C9DDE2; }
.trouve__label { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); }
.trouve__card--ia .trouve__label { color: var(--gold-300); }
.trouve__bar { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 14px; border-radius: 99px; background: var(--mist); }
.trouve__bar svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--teal-700); stroke-width: 2.4; stroke-linecap: round; }
.trouve__bar span { height: 8px; width: 46%; border-radius: 8px; background: #C5D3D9; }
.trouve ul { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.trouve li { display: grid; gap: 7px; padding: 12px 14px; border-radius: 14px; }
.trouve li b { height: 9px; width: 38%; border-radius: 8px; background: #C5D3D9; }
.trouve li span { height: 7px; width: 78%; border-radius: 8px; background: #E3EAEE; }
.trouve li.on { background: #FBF3E2; box-shadow: inset 0 0 0 1.5px var(--gold); }
.trouve li.on em { font-style: normal; font-weight: 800; font-size: .95rem; color: var(--ink); }
.trouve li.on span { background: #EBD9B3; }
.trouve__q { margin: 12px 0 0 auto; width: 52%; padding: 11px 14px; border-radius: 16px 16px 6px 16px; background: rgba(255, 255, 255, .12); }
.trouve__q span, .trouve__a > span { display: block; height: 7px; border-radius: 8px; background: rgba(255, 255, 255, .34); }
.trouve__a { display: grid; gap: 8px; margin-top: 10px; padding: 14px 16px; border-radius: 16px 16px 16px 6px; background: rgba(255, 255, 255, .08); }
.trouve__a > span.short { width: 58%; }
.trouve__a p { margin-top: 4px; font-size: .9rem; font-weight: 600; color: #fff; }
.trouve__a em { font-style: normal; font-weight: 800; color: var(--gold-300); }
.trouve__note { position: relative; z-index: 1; font-size: .8rem; line-height: 1.45; color: #5B7178; }

.reals { background: #fff; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(max(280px, 30%), 100%), 1fr)); gap: clamp(26px, 3vw, 44px) clamp(20px, 2.4vw, 34px); margin-top: clamp(36px, 5vw, 64px); }
.shots .work { width: auto; min-width: 0; }
.shots--2 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 420px)); }
.archives .work__shot { background: #fff; }
.shots .work h3 { overflow-wrap: anywhere; }
.shots__more { margin-top: clamp(32px, 4vw, 52px); }
.card .step__num { font-size: clamp(2.2rem, 3.2vw, 3rem); line-height: 1; font-weight: 800; letter-spacing: -.04em; color: var(--gold); transition: color .4s; }
.etapes .card h3 { margin-top: 18px; }
.card p a { font-weight: 700; color: var(--teal-700); text-underline-offset: 3px; transition: color .4s; }
.card:hover p a, .card:focus-within p a { color: var(--gold-300); }
@media (max-width: 959.98px) {
  .phero--visual > .wrap { grid-template-columns: 1fr; }
  .showcase, .trouve { width: min(100%, 620px); }
}

/* =====================================================================
   PAGE CONTACT (12/11) : coordonnées et formulaire de devis. Aucun coin pointu.
   ===================================================================== */
.phero--contact > .wrap { align-items: start; }
.coords { display: grid; gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; max-width: 30em; }
.coords li { padding: 16px 20px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 61, 74, .1); line-height: 1.5; overflow-wrap: anywhere; }
.coords strong { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); }
.coords a { font-weight: 700; color: var(--ink); text-underline-offset: 3px; }
.coords__note { margin-top: 16px; max-width: 30em; font-size: .92rem; }
.formcard { display: grid; gap: 16px; min-width: 0; padding: clamp(22px, 3vw, 38px); border-radius: var(--radius); background: #fff; box-shadow: 0 34px 60px -38px rgba(6, 43, 53, .55), 0 0 0 1px rgba(11, 61, 74, .1); scroll-margin-top: calc(var(--header-h) + 20px); }
.formcard__title { font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.formcard__sub { margin-top: -10px; font-size: .95rem; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: .86rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-width: 0; padding: 13px 15px; border: 1.5px solid #CBD8DE; border-radius: 12px; background: #fff; font: inherit; color: var(--ink); transition: border-color .3s, box-shadow .3s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-700); box-shadow: 0 0 0 3px rgba(22, 166, 182, .25); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 16px; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formcard__send { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.formcard__legal { font-size: .82rem; line-height: 1.45; color: #5B7178; }
.formcard__legal a { color: var(--teal-700); text-underline-offset: 3px; }
.form__notice { padding: 14px 18px; border-radius: 14px; font-weight: 600; line-height: 1.45; }
.form__notice--ok { background: #E4F5F1; color: #0B5A4E; }
.form__notice--incomplet, .form__notice--erreur { background: #FDECEC; color: #8A1F1F; }

/* =====================================================================
   PAGE À PROPOS (12/11) : portrait et parcours. Aucun coin pointu.
   ===================================================================== */
.portrait { position: relative; margin: 0; justify-self: center; width: min(100%, 440px); min-width: 0; }
.portrait img { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 10%; border-radius: 28px; box-shadow: 0 40px 70px -40px rgba(6, 43, 53, .65), 0 0 0 1px rgba(11, 61, 74, .1); }
.portrait__wave { position: absolute; left: -4%; bottom: 5%; width: 108%; height: 16%; z-index: 0; overflow: visible; pointer-events: none; }
.portrait__wave path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.parcours { display: grid; gap: 14px; max-width: 900px; margin-top: clamp(36px, 5vw, 64px); }
.parcours__item { display: grid; grid-template-columns: clamp(44px, 6vw, 72px) minmax(0, 1fr); gap: clamp(14px, 2.4vw, 28px); align-items: start; padding: clamp(20px, 2.6vw, 30px); border-radius: var(--radius); background: #fff; }
.parcours__item .step__num { font-size: clamp(2.2rem, 3.2vw, 3rem); line-height: 1; font-weight: 800; letter-spacing: -.04em; color: var(--gold); }
.parcours__txt h3 { font-size: 1.22rem; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin: 0 0 8px; }
.parcours__txt p { font-size: .97rem; line-height: 1.55; }
@media (max-width: 959.98px) {
  .portrait { justify-self: start; width: min(100%, 380px); }
}

/* =====================================================================
   BLOG (12/11) : liste des articles, page d'article. Aucun coin pointu.
   ===================================================================== */
.shots--blog .work__shot { aspect-ratio: 3 / 2; }
.shots--blog .work h2 { margin: 6px 0 8px; font-size: 1.3rem; line-height: 1.22; font-weight: 800; letter-spacing: -.02em; color: var(--ink); overflow-wrap: anywhere; }
.shots--blog .work h2 a { color: inherit; text-decoration: none; }
.shots--blog .work h2 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.work__more { margin-top: 12px; }
.pagination { margin-top: clamp(36px, 5vw, 60px); }
.pagination ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pagination .page-numbers { display: block; padding: 10px 16px; border-radius: 12px; background: var(--mist); font-weight: 700; color: var(--ink); text-decoration: none; }
.pagination .page-numbers.current { background: var(--navy); color: #fff; }
.phero--article .title { font-size: clamp(1.9rem, 4vw, 3.2rem); max-width: 22em; }
.phero--article .lead { max-width: 44em; }
.article__by { margin-top: 18px; font-size: .9rem; font-weight: 700; color: var(--teal-700); }
.article__cover { margin: 0 0 clamp(30px, 4vw, 52px); max-width: 860px; }
.article__cover img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 30px 60px -40px rgba(6, 43, 53, .55), 0 0 0 1px rgba(11, 61, 74, .1); }
.article .prose { font-size: 1.04rem; line-height: 1.7; }
.article .prose li + li { margin-top: .45em; }
.article .prose blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font-size: 1.12rem; color: var(--ink); }
.article .prose details { border-radius: 16px; background: var(--mist); padding: 0 22px; }
.article .prose details + details { margin-top: 12px; }
.article .prose summary { padding: 18px 0; font-weight: 700; line-height: 1.35; color: var(--ink); cursor: pointer; }
.article .prose details p { margin-top: 0; padding-bottom: 18px; }
.article .prose h4 { margin-top: 1.4em; font-size: 1.08rem; font-weight: 800; color: var(--ink); }
.article__back { margin-top: clamp(36px, 5vw, 60px); }

/* =====================================================================
   LOGICIELS (12/11) : cartes des logiciels LIVADA, fenêtre seule dans l'en-tête.
   ===================================================================== */
.showcase--solo { aspect-ratio: auto; padding-bottom: 6%; }
.showcase--solo .frame { position: relative; width: 100%; z-index: 1; }
.card .soft__tag { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); transition: color .4s; }
.card--soft h3 { margin: 10px 0 8px; }
.card .soft__q { margin-bottom: 10px; font-weight: 700; line-height: 1.35; color: var(--ink); transition: color .4s; }
.card:hover .soft__tag, .card:focus-within .soft__tag { color: var(--gold-300); }
.card:hover .soft__q, .card:focus-within .soft__q { color: #fff; }
.outils .shots__more { margin-top: clamp(28px, 4vw, 44px); }
.eco a { color: inherit; text-underline-offset: 4px; }
.cards.cards--2 { grid-template-columns: repeat(auto-fit, minmax(min(max(320px, 45%), 100%), 1fr)); }
.card--phare { padding: clamp(28px, 3.4vw, 44px); }
.card--phare h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.card--phare .soft__q { font-size: 1.08rem; }
.soft__points { display: grid; gap: 9px; margin: 18px 0 6px; padding: 0; list-style: none; }
.soft__points li { position: relative; padding-left: 26px; font-size: .97rem; font-weight: 600; line-height: 1.45; color: var(--ink); transition: color .4s; }
.soft__points li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.card:hover .soft__points li, .card:focus-within .soft__points li { color: #fff; }



/* =====================================================================
   TOURISME & HÔTELLERIE (14/11) : pages longues reprises de livada.fr,
   études de cas, résultats, page Expertises. Aucun coin pointu.
   ===================================================================== */
.phero--guide .title { font-size: clamp(1.9rem, 4.2vw, 3.4rem); max-width: 22em; }
.phero--guide .lead { max-width: 46em; }
.guide__meta { margin-top: 14px; font-size: .92rem; font-weight: 700; color: var(--teal-700); }
.section.guide { padding: clamp(64px, 9vw, 120px) 0; }
.guide--mist { background: var(--mist); }
.guide--mist .card, .guide--mist .faq details, .guide--mist .guide__bref { background: var(--white); }
.guide .head + .guide__prose, .guide .head + .cards { margin-top: clamp(28px, 4vw, 48px); }
.guide__prose + .cards, .cards + .guide__prose, .cards + .cards, .guide__prose + .faq__list { margin-top: clamp(32px, 4vw, 52px); }
.guide__prose { font-size: 1.04rem; line-height: 1.7; }
.guide__prose li + li { margin-top: .45em; }
.guide__prose blockquote { margin: 1.6em 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font-size: 1.12rem; color: var(--ink); }
.guide__prose blockquote p + p { margin-top: .8em; }
.guide__prose blockquote cite { display: block; margin-top: 12px; font-size: .92rem; font-style: normal; font-weight: 700; color: var(--teal-700); }
.guide__bref { padding: 22px 26px; border-radius: 18px; background: var(--mist); box-shadow: inset 4px 0 0 var(--gold); }
.guide__bref p + p { margin-top: .8em; }
.guide__note { font-size: .88rem; font-style: italic; }
.guide__prose .wp-block-table { margin: 1.2em 0 0; overflow-x: auto; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.guide__prose table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: .95rem; line-height: 1.45; }
.guide__prose th, .guide__prose td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.guide__prose tr:last-child td { border-bottom: 0; }
.guide__prose th { background: var(--navy); color: var(--white); font-weight: 700; }
.card .stat__num { font-size: clamp(2rem, 3.4vw, 2.7rem); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; color: var(--teal-700); overflow-wrap: anywhere; transition: color .4s; }
.stats .card p:not(.stat__num) { margin-top: 10px; }
.card:hover .stat__num, .card:focus-within .stat__num { color: var(--gold-300); }
.card ul { margin: 12px 0 0; padding-left: 1.2em; list-style: disc; font-size: .95rem; line-height: 1.5; transition: color .4s; }
.card ul li + li { margin-top: .35em; }
.card:hover ul, .card:focus-within ul, .card:hover p strong, .card:focus-within p strong { color: #fff; }
.card p + p { margin-top: 10px; }
.card--after { box-shadow: inset 0 0 0 2px var(--gold); }
.expertise__liens { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.expertise__liens a { font-weight: 700; color: var(--teal-700); text-underline-offset: 3px; transition: color .4s; }
.card:hover .expertise__liens a, .card:focus-within .expertise__liens a { color: var(--gold-300); }
/* =====================================================================
   PAGES D'INTENTION (15/11) : formulaire de devis dans la page
   ===================================================================== */
.devis__grid { display: grid; gap: clamp(26px, 4vw, 56px); grid-template-columns: minmax(0, 1fr); align-items: start; }
.devis__grid > .head { margin-bottom: 0; }
@media (min-width: 960px) { .devis__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }

/* =====================================================================
   WORDPRESS : ajouts propres au thème. Tout ce qui précède est identique à la maquette validée.
   ===================================================================== */

/* Étapes de « Création » : moment où chaque étape s'allume dans la séquence */
.steps li:nth-child(1) { --c: .14; }
.steps li:nth-child(2) { --c: .5; }
.steps li:nth-child(3) { --c: .86; }

/* Barre d'administration WordPress : l'en-tête et le menu se placent dessous */
.admin-bar .header { top: var(--wp-admin--admin-bar--height, 32px); }
.admin-bar .menu { top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 32px)); }

/* Le groupe « boutons » natif ne doit rien ajouter autour du bouton du thème */
.work--end .wp-block-buttons { display: contents; }

/* WordPress annule la marge du premier et du dernier élément de chaque groupe (mise en page « flux »).
   Là où la maquette compte sur cette marge, elle est réaffirmée ici. */
.works .work--end h3:first-child { margin-block-start: 6px; }

/* Réalisations : le lien du site est un lien natif de paragraphe (pas de classe possible dans l'éditeur) */
.work p a { font-weight: 700; color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* ---------- Pages intérieures, articles, liste des conseils ---------- */
.page__head { padding: calc(var(--header-h) + clamp(48px, 9vw, 110px)) 0 clamp(36px, 6vw, 70px); background: var(--mist); }
.page__body { padding-block: clamp(40px, 7vw, 90px); }
.prose { max-width: 760px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.prose h3 { margin-top: 1.5em; font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--teal-700, #0B7482); text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); }
.posts { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.post-card { padding: 26px; border-radius: var(--radius); background: var(--mist); }
.post-card__date { font-size: .86rem; }
.post-card h2 { margin: 6px 0 8px; font-size: 1.25rem; line-height: 1.25; font-weight: 800; color: var(--ink); }
.post-card h2 a { text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; }

/* Sélecteur de langue FR | EN (affiché seulement quand la page a une jumelle) */
.langs { display: inline-flex; align-items: center; flex: none; gap: 2px; padding: 3px 3px 3px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--navy); }
.langs::before { content: ""; flex: none; width: 17px; height: 17px; margin-right: 3px; background: var(--navy); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M2.5 12h19M12 2.5c2.6 2.7 3.9 5.9 3.9 9.5s-1.3 6.8-3.9 9.5M12 2.5C9.4 5.2 8.1 8.4 8.1 12s1.3 6.8 3.9 9.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M2.5 12h19M12 2.5c2.6 2.7 3.9 5.9 3.9 9.5s-1.3 6.8-3.9 9.5M12 2.5C9.4 5.2 8.1 8.4 8.1 12s1.3 6.8 3.9 9.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.langs a { display: inline-grid; place-items: center; min-width: 40px; height: 34px; padding: 0 9px; border-radius: 999px; font-size: .88rem; font-weight: 800; letter-spacing: .06em; line-height: 1; color: var(--ink); text-decoration: none; transition: background .25s, color .25s; }
.langs a[aria-current] { background: var(--navy); color: #fff; }
.langs a:not([aria-current]):hover, .langs a:not([aria-current]):focus-visible { background: var(--mist); }
@media (max-width: 1139.98px) {
  .langs { margin-left: auto; }
  .langs + .burger { margin-left: 4px; }
}
@media (max-width: 479.98px) {
  .header__bar { gap: 12px; }
  .langs { padding: 3px 3px 3px 8px; }
  .langs::before { width: 15px; height: 15px; margin-right: 2px; }
  .langs a { min-width: 34px; height: 32px; padding: 0 6px; font-size: .8rem; }
}
@media (max-width: 399.98px) {
  .langs { padding: 3px; }
  .langs::before { display: none; }
}
