/* ORYKA — pages des services (site vitrine, e-commerce, landing page, refonte, logo, identité visuelle, direction
   artistique). Pages générées par _source/build_services.py. S'ajoute à pages.css. */

/* ---------- header: text on the left, the picture of the service on the right ---------- */
.sv-hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(env(safe-area-inset-top, 0px) + 136px) 0 clamp(60px, 7vw, 100px); }
.sv-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent);
  background: radial-gradient(40% 50% at 90% 10%, rgba(110, 155, 255, .32), rgba(110, 155, 255, 0) 70%), radial-gradient(36% 40% at 0% 70%, rgba(36, 89, 230, .12), rgba(36, 89, 230, 0) 70%), linear-gradient(180deg, #ffffff 0%, var(--bg) 100%); }
.sv-sky::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(21, 48, 127, .14) 1px, transparent 1.4px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(55% 60% at 30% 40%, #000 15%, transparent 75%); mask-image: radial-gradient(55% 60% at 30% 40%, #000 15%, transparent 75%); }
.sv-sky svg { position: absolute; left: 50%; top: 30px; width: max(1400px, 110vw); transform: translateX(-50%); }
.sv-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font: 500 13.5px/1.3 var(--font); color: var(--text-3); }
.crumbs a { color: var(--text-2); } .crumbs a:hover { color: var(--cobalt); }
.crumbs svg { width: 13px; height: 13px; opacity: .6; transform: rotate(-90deg); }
.sv-copy { display: grid; justify-items: start; gap: 18px; }
.sv-copy .display { font-size: clamp(38px, 5.2vw, 70px); line-height: 1.04; }
.sv-copy .lead { max-width: 560px; }
.checks { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 4px; }
.checks li { display: flex; align-items: center; gap: 12px; font: 600 15.5px/1.4 var(--font); letter-spacing: -0.015em; color: var(--nuit); }
.checks li span { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt); color: var(--white); }
.checks li svg { width: 13px; height: 13px; }
.sv-copy .hero-actions { justify-content: flex-start; margin-top: 12px; }

.sv-visual { position: relative; aspect-ratio: 1 / .92; border-radius: 36px; overflow: hidden; isolation: isolate;
  background: radial-gradient(60% 55% at 85% 10%, rgba(110, 155, 255, .5), rgba(110, 155, 255, 0) 70%), linear-gradient(160deg, #eef3ff, #d6e2ff);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 50px 90px -50px rgba(21, 48, 127, .65); }
.sv-visual.dark { background: radial-gradient(60% 55% at 85% 10%, rgba(36, 89, 230, .6), rgba(36, 89, 230, 0) 70%), var(--nuit); box-shadow: 0 50px 90px -50px rgba(10, 20, 48, .8); }
.sv-visual .orbits { position: absolute; inset: -12%; z-index: -1; width: 124%; height: 124%; color: rgba(36, 89, 230, .16); }
.sv-visual.dark .orbits { color: rgba(110, 155, 255, .18); }
.scene { position: absolute; inset: 15% 9% 9%; }
.scene .w { box-shadow: 0 30px 50px -24px rgba(10, 20, 48, .5); }
.scene .w::before { height: 7%; min-height: 16px; }
.sc-win { left: 0; top: 0; width: 100%; height: 100%; }
.in-win { position: absolute; inset: 14% 7% 7%; padding: 0 !important; }
.scene.v-site .w { left: 0; top: 0; width: 86%; height: 92%; }
.scene.v-site .w2 { left: 56%; top: 30%; width: 40%; height: 74%; }
.scene .v-shop { gap: 14px; }
.scene .v-land b { height: 16px; } .scene .v-land b + b { height: 10px; } .scene .v-land u { height: 26px; }
.scene.v-redo .w { width: 66%; height: 82%; }
.scene.v-redo .old { left: 0; top: 14%; } .scene.v-redo .new { left: 32%; top: 2%; }
.scene.v-logo::before { width: 72%; height: auto; aspect-ratio: 1; }
.scene.v-logo::after { width: 46%; height: auto; aspect-ratio: 1; }
.scene.v-logo svg { width: 28%; height: 34%; }
.scene.v-logo i { position: absolute; background: rgba(36, 89, 230, .16); }
.scene.v-logo i.h { left: 0; right: 0; top: 50%; height: 1px; } .scene.v-logo i.v { top: 0; bottom: 0; left: 50%; width: 1px; }
.scene.v-id { flex-direction: column; justify-content: center; align-items: flex-start; gap: 26px; padding: 0 6%; }
.scene.v-id .sw i { width: clamp(40px, 5vw, 58px); height: clamp(40px, 5vw, 58px); }
.scene.v-id .aa { font-size: clamp(54px, 7vw, 92px); }
.scene.v-id .card { position: absolute; right: 2%; bottom: 8%; width: 42%; }
.scene.v-id .card svg { width: 28%; height: 40%; }
.scene.v-mood { gap: 12px; padding: 0; grid-template-columns: 1.2fr 1fr 1fr; }
.scene.v-mood i:nth-child(4) { background: var(--white); } .scene.v-mood i:nth-child(5) { background: linear-gradient(200deg, #2459e6, #0a1430); }
.sv-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 18px; background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 0 0 1px rgba(10, 20, 48, .05), 0 22px 40px -22px rgba(21, 48, 127, .55); font: 700 13.5px/1.25 var(--font); letter-spacing: -0.02em; color: var(--nuit); }
.sv-chip small { display: block; font-weight: 500; font-size: 12px; letter-spacing: 0; color: var(--text-3); }
.sv-chip span { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt); color: var(--white); }
.sv-chip span svg { width: 17px; height: 17px; }
.sv-chip.c1 { left: 6%; bottom: 7%; }
.sv-chip.c2 { right: 6%; top: 6%; }

/* ---------- sections ---------- */
.sv-sec { padding: clamp(60px, 8vw, 110px) 0; }
.sv-sec + .sv-sec { padding-top: 0; }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.card { position: relative; display: grid; align-content: start; gap: 10px; padding: 28px; border-radius: 28px; background: var(--white); box-shadow: 0 0 0 1px var(--hairline), 0 24px 48px -36px rgba(21, 48, 127, .5); }
.card .n { font: 600 15px/1 var(--font); color: var(--cobalt); }
.card .ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--tint); color: var(--cobalt); margin-bottom: 6px; }
.card .ic svg { width: 22px; height: 22px; }
.card h3 { font: 600 20px/1.25 var(--font); letter-spacing: -0.035em; color: var(--nuit); }
.card p { font-size: 15.5px; line-height: 1.55; color: var(--text-2); }
.incl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.incl .card { grid-template-columns: 48px minmax(0, 1fr); gap: 4px 16px; padding: 24px; }
.incl .card .ic { grid-row: span 2; margin: 0; }
.note { margin-top: 18px; font-size: 14px; color: var(--text-3); }

/* the steps, on an orbit line */
.flow { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 48px; list-style: none; padding: 0; }
.flow::before { content: ""; position: absolute; left: 12%; right: 12%; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--azur) 0 8px, transparent 8px 16px); }
.flow li { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; padding: 0 8px; }
.flow .n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--cobalt); font: 700 18px/1 var(--font); box-shadow: inset 0 0 0 2px var(--glacier), 0 14px 26px -16px rgba(21, 48, 127, .5); }
.flow li:first-child .n, .flow li:last-child .n { background: var(--cobalt); color: var(--white); box-shadow: 0 0 0 6px rgba(36, 89, 230, .14); }
.flow h3 { margin-top: 6px; font: 600 18px/1.25 var(--font); letter-spacing: -0.03em; color: var(--nuit); }
.flow p { font-size: 15px; line-height: 1.5; color: var(--text-2); }
.flow-more { display: flex; justify-content: center; margin-top: 36px; }

/* the offer, in a dark panel */
.offer { padding: 0 max(14px, env(safe-area-inset-right, 0px)) 0 max(14px, env(safe-area-inset-left, 0px)); }
.offer-panel { position: relative; overflow: hidden; isolation: isolate; max-width: 1360px; margin-inline: auto; border-radius: 44px; padding: clamp(52px, 7vw, 92px) 0; background: var(--nuit); color: var(--white); }
.offer-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 60% at 0% 0%, rgba(36, 89, 230, .4), rgba(36, 89, 230, 0) 70%), radial-gradient(40% 60% at 100% 100%, rgba(110, 155, 255, .2), rgba(110, 155, 255, 0) 70%); }
.offer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.offer .h-xl { color: var(--white); }
.offer .lead { color: rgba(255, 255, 255, .7); } .offer .lead b { color: var(--white); }
.price { display: grid; gap: 18px; padding: clamp(26px, 3vw, 36px); border-radius: 30px; background: var(--white); color: var(--nuit); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.price-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--hairline); }
.price-head b { display: block; font: 600 20px/1.2 var(--font); letter-spacing: -0.035em; }
.price-head small { font-size: 14px; color: var(--text-3); }
.price-head strong { font: 600 clamp(30px, 3.4vw, 40px)/1 var(--font); letter-spacing: -0.05em; color: var(--cobalt); }
.price ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.price li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; line-height: 1.45; color: var(--text-2); }
.price li span { width: 22px; height: 22px; flex: none; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--cobalt); }
.price li svg { width: 12px; height: 12px; }
.price .pay-line { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--mist); font: 600 14px/1.4 var(--font); color: var(--marine); }
.price .pay-line svg { width: 18px; height: 18px; color: var(--cobalt); flex: none; }
.price .btn { width: 100%; justify-content: space-between; }

/* other services */
.more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.more a { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px 18px 16px 16px; border-radius: 22px; background: var(--white);
  box-shadow: 0 0 0 1px var(--hairline), 0 18px 36px -30px rgba(21, 48, 127, .5); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.more .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--cobalt); }
.more .ic svg { width: 21px; height: 21px; }
.more b { display: block; font: 600 16px/1.25 var(--font); letter-spacing: -0.03em; color: var(--nuit); }
.more small { font-size: 13.5px; color: var(--text-2); }
.more .go { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--nuit); box-shadow: inset 0 0 0 1px var(--hairline-strong); transition: background-color .25s ease, color .25s ease; }
.more .go svg { width: 15px; height: 15px; transform: rotate(-45deg); transition: transform .35s var(--ease); }
@media (hover: hover) {
  .more a:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(36, 89, 230, .2), 0 24px 44px -30px rgba(21, 48, 127, .6); }
  .more a:hover .go { background: var(--cobalt); color: var(--white); box-shadow: none; }
  .more a:hover .go svg { transform: rotate(0); }
}

/* ---------- phones and tablets ---------- */
@media (max-width: 980px) {
  .sv-grid, .offer-grid { grid-template-columns: 1fr; }
  .sv-visual { max-width: 560px; width: 100%; justify-self: center; }
  .cards3, .incl, .more { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .flow::before { display: none; }
}
@media (max-width: 640px) {
  .sv-hero { padding-top: calc(env(safe-area-inset-top, 0px) + 112px); }
  .sv-copy .hero-actions { width: 100%; }
  .cards3, .incl, .more { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow li { grid-template-columns: 56px minmax(0, 1fr); justify-items: start; text-align: left; gap: 2px 16px; padding: 0 0 26px; }
  .flow li .n { grid-row: span 2; }
  .flow h3 { margin-top: 4px; }
  .offer-panel { border-radius: 30px; }
  .sv-chip { font-size: 12px; padding: 8px 12px 8px 8px; } .sv-chip span { width: 28px; height: 28px; }
}

/* ---------- entrance of the header ---------- */
@media (prefers-reduced-motion: no-preference) {
  .sv-copy > * { animation: rise .9s var(--ease) both; }
  .sv-copy > :nth-child(2) { animation-delay: .06s; } .sv-copy > :nth-child(3) { animation-delay: .12s; }
  .sv-copy > :nth-child(4) { animation-delay: .2s; } .sv-copy > :nth-child(n+5) { animation-delay: .28s; }
  .sv-visual { animation: rise 1.1s .2s var(--ease) both; }
  .sv-chip { animation: bob 6s ease-in-out infinite alternate; } .sv-chip.c2 { animation-delay: -3s; }
  @keyframes bob { from { translate: 0 -6px; } to { translate: 0 8px; } }
}
