/* ==========================================================
   Pages services : site vitrine, landing page, refonte, référencement
   Préfixes : .svc- (commun), .sv- (site vitrine), .lp- (landing page),
   .rf- (refonte), .seo- (référencement)
   ========================================================== */

/* ---------- Commun : en-tête de page en deux colonnes ---------- */
.svc-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.svc-hero > * { min-width: 0; }
.page-hero .svc-hero h1 { font-size: clamp(44px, 5.4vw, 80px); }
.svc-hero__visual { position: relative; }
.svc-hero--top { align-items: start; }

/* Icônes au trait */
.svc-ico { width: 44px; height: 44px; color: var(--gold); margin-bottom: 26px; flex-shrink: 0; }
.svc-ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }

/* Étiquette « code » au-dessus d'une carte */
.svc-code { font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 12px; color: var(--gold); margin-bottom: 24px; overflow-wrap: anywhere; }

/* ---------- Commun : la formule ---------- */
.svc-offer { align-items: center; }
.svc-offer__card { position: relative; background: var(--bg); border: 1px solid rgba(198, 164, 103, .45); padding: 50px 46px; box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .9); }
.section:not(.section--alt) .svc-offer__card { background: var(--bg2); }
.svc-offer__card::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(198, 164, 103, .14); pointer-events: none; }
.svc-offer__price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.svc-offer__price span { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); width: 100%; }
.svc-offer__price strong { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4vw, 54px); line-height: 1; color: var(--gold-soft); }
.svc-offer__price small { font-size: 13px; color: var(--muted); }
.svc-offer__card .checks { margin: 30px 0 38px; }
.svc-offer__card .btn { display: block; position: relative; }

/* ---------- Commun : à lire aussi ---------- */
.svc-more .head { margin-bottom: 50px; }
.svc-more h2 { font-size: clamp(32px, 3.6vw, 46px); }
.svc-more .tile h3 { font-size: clamp(24px, 2.2vw, 28px); }

/* ==========================================================
   SITE VITRINE
   ========================================================== */

/* Arborescence type */
.sv-tree { background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.sv-tree__bar { display: flex; justify-content: space-between; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--bg3); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sv-tree__bar em { font-style: normal; color: var(--gold); }
.sv-tree__body { padding: 30px 28px 34px; }
.sv-tree ul { list-style: none; }
.sv-tree ul ul { margin-left: 22px; padding-left: 22px; border-left: 1px solid rgba(198, 164, 103, .35); }
.sv-tree ul ul li { position: relative; padding-top: 12px; }
.sv-tree ul ul li::before { content: ""; position: absolute; left: -22px; top: 31px; width: 18px; height: 1px; background: rgba(198, 164, 103, .35); }
.sv-tree ul ul li:last-child::after { content: ""; position: absolute; left: -23px; top: 32px; bottom: 0; width: 3px; background: var(--bg2); }
.sv-node { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--bg); border: 1px solid var(--line); font-size: 14px; min-width: 0; }
.sv-node b { font-weight: 500; }
.sv-node code { margin-left: auto; font-family: ui-monospace, Consolas, monospace; font-size: 11px; color: var(--muted); overflow-wrap: anywhere; text-align: right; }
.sv-node i { width: 14px; height: 18px; border: 1px solid var(--gold); border-radius: 2px; flex-shrink: 0; position: relative; }
.sv-node i::after { content: ""; position: absolute; left: 2px; right: 2px; top: 4px; height: 6px; border-top: 1px solid rgba(198, 164, 103, .6); border-bottom: 1px solid rgba(198, 164, 103, .6); }
.sv-node--root { border-color: rgba(198, 164, 103, .6); }
.sv-node--root b { font-family: var(--serif); font-size: 20px; font-weight: 500; }
.sv-node--cta { border-color: var(--gold); background: rgba(198, 164, 103, .1); }
.sv-node--cta b { color: var(--gold-soft); }
.sv-node--small { font-size: 12px; padding: 7px 12px; color: var(--muted); }
.sv-tree__foot { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.sv-tree__foot span::before { content: "✦"; color: var(--gold); margin-right: 8px; font-size: 10px; }

/* Trois missions */
.sv-missions .tile { padding-top: 54px; }
.sv-missions .tile__num { font-size: 56px; line-height: 1; margin-bottom: 26px; opacity: .9; }

/* Démonstrations par métier */
.sv-demos { display: grid; gap: 110px; }
.sv-demo { display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; align-items: center; }
.sv-demo > * { min-width: 0; }
.sv-demo:nth-child(even) .sv-device { order: 2; }
.sv-device { position: relative; padding-bottom: 34px; }
.sv-device .browser { transition: transform .5s cubic-bezier(.2, .8, .2, 1), border-color .4s; }
.sv-demo:hover .browser { border-color: rgba(198, 164, 103, .5); }
.sv-mini { padding: 18px 22px 22px; font-size: 11px; overflow-wrap: break-word; }
.sv-mini .mini__nav { flex-wrap: wrap; row-gap: 6px; }
.sv-mini .mini__title { font-size: 26px; max-width: 80%; }
.sv-mini__text { margin-top: 8px; max-width: 75%; opacity: .78; line-height: 1.5; }
.sv-mini__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; padding: 10px 0; border-top: 1px solid var(--m-soft); border-bottom: 1px solid var(--m-soft); }
.sv-mini__facts div { min-width: 0; line-height: 1.35; }
.sv-mini__facts i { display: block; font-style: normal; font-size: 8px; letter-spacing: .14em; text-transform: uppercase; color: var(--m-accent); margin-bottom: 2px; }
.sv-mini__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.sv-mini__cards div { min-width: 0; background: var(--m-soft); padding: 26px 10px 10px; border-radius: 3px; line-height: 1.4; }
.sv-mini__cards b { display: block; font-family: var(--m-font); font-size: 12px; font-weight: 600; margin-bottom: 3px; }
.sv-mini__cards span { opacity: .75; font-size: 9px; }

/* Téléphone superposé */
.sv-phone { position: absolute; right: 14px; bottom: 0; width: 158px; border: 6px solid #22252c; border-radius: 22px; overflow: hidden; background: #22252c; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.sv-phone::before { content: ""; display: block; height: 10px; background: #22252c; }
.sv-phone .mini { padding: 10px 10px 12px; font-size: 8px; min-height: 270px; }
.sv-phone .mini__nav { margin-bottom: 12px; gap: 6px; }
.sv-phone .mini__nav b { font-size: 10px; }
.sv-phone .mini__nav em { padding: 3px 6px; font-size: 7px; }
.sv-phone .mini__title { font-size: 15px; max-width: none; }
.sv-phone .mini__btn { margin-top: 8px; padding: 5px 8px; }
.sv-phone .sv-mini__cards { grid-template-columns: 1fr; gap: 5px; margin-top: 10px; }
.sv-phone .sv-mini__cards div { padding: 8px; }
.sv-phone .sv-mini__cards b { font-size: 10px; }
.sv-demo:hover .sv-phone { transform: translateY(-8px); }
.sv-demo__kicker { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.sv-demo h3 { margin: 12px 0 14px; font-size: clamp(32px, 3.2vw, 44px); }
.sv-demo__goal { color: var(--muted); }
.sv-demo .link-arrow { display: inline-block; margin-top: 26px; }
.sv-fiction { text-align: center; color: var(--muted); font-size: 13px; margin-top: 70px; }

/* ==========================================================
   LANDING PAGE
   ========================================================== */

/* Maquette annotée */
.lp-wire .browser__bar span { max-width: 240px; }
.lp-wire__page { list-style: none; padding: 8px 0; }
.lp-row { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; border-bottom: 1px dashed rgba(198, 164, 103, .22); }
.lp-row:last-child { border-bottom: 0; }
.lp-row > * { min-width: 0; }
.lp-sk { padding: 18px 20px; display: grid; gap: 7px; align-content: center; border-right: 1px solid var(--line); min-height: 100%; }
.lp-sk i { display: block; height: 7px; border-radius: 4px; background: #2c2f37; }
.lp-sk .w90 { width: 90%; } .lp-sk .w75 { width: 75%; } .lp-sk .w60 { width: 60%; } .lp-sk .w45 { width: 45%; }
.lp-sk .big { height: 14px; background: #3a3d45; }
.lp-sk .btn-sk { width: 40%; height: 18px; border-radius: 3px; background: var(--gold); margin-top: 4px; }
.lp-sk__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.lp-sk__cols span { height: 34px; border-radius: 3px; background: #23262d; border: 1px solid #2c2f37; }
.lp-sk__dots { display: flex; align-items: center; gap: 0; }
.lp-sk__dots span { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--gold); flex-shrink: 0; }
.lp-sk__dots em { flex: 1; height: 1px; background: rgba(198, 164, 103, .4); }
.lp-sk__acc { display: grid; gap: 5px; }
.lp-sk__acc span { height: 12px; border-bottom: 1px solid #2c2f37; position: relative; }
.lp-sk__acc span::after { content: "+"; position: absolute; right: 0; top: -6px; font-size: 11px; color: var(--gold); }
.lp-sk__field { height: 14px; border-bottom: 1px solid #3a3d45; }
.lp-row--action { background: rgba(198, 164, 103, .06); }
.lp-note { padding: 16px 20px; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: baseline; }
.lp-note b { grid-row: span 2; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 26px; line-height: 1; color: var(--gold); }
.lp-note strong { font-weight: 500; font-size: 14px; letter-spacing: .04em; }
.lp-note span { color: var(--muted); font-size: 13px; line-height: 1.45; }

/* Quand en avez-vous besoin */
.lp-cases .tile h3 { font-size: clamp(24px, 2.2vw, 30px); }

/* Principes : petites illustrations */
.lp-viz { height: 92px; margin-bottom: 30px; display: flex; align-items: center; }
.lp-target { width: 88px; height: 88px; border-radius: 50%; background: radial-gradient(circle, var(--gold) 0 9%, transparent 10% 27%, rgba(198, 164, 103, .5) 28% 29%, transparent 30% 47%, rgba(198, 164, 103, .35) 48% 49%, transparent 50% 67%, rgba(198, 164, 103, .2) 68% 69%, transparent 70%); }
.lp-speed { width: 100%; max-width: 230px; }
.lp-speed__bar { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.lp-speed__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); transform-origin: left; animation: lp-load 2.4s cubic-bezier(.2, .8, .2, 1) infinite; }
.lp-speed__page { display: grid; gap: 6px; margin-top: 16px; }
.lp-speed__page span { height: 6px; border-radius: 3px; background: #2c2f37; }
.lp-speed__page span:nth-child(1) { width: 70%; background: #3a3d45; }
.lp-speed__page span:nth-child(2) { width: 90%; }
.lp-speed__page span:nth-child(3) { width: 55%; }
@keyframes lp-load { 0% { transform: scaleX(0); } 45%, 100% { transform: scaleX(1); } }
.lp-bars { display: flex; align-items: flex-end; gap: 8px; height: 80px; padding-bottom: 1px; border-bottom: 1px solid var(--line); }
.lp-bars span { width: 16px; background: rgba(198, 164, 103, .35); border-radius: 2px 2px 0 0; }
.lp-bars span:last-child { background: var(--gold); }

/* ==========================================================
   REFONTE
   ========================================================== */
.rf-signs .tile h3 { font-size: clamp(24px, 2.2vw, 30px); }
.rf-compare .old-site__text2 { margin-top: 10px; }
.rf-steps li { display: flex; flex-direction: column; }
.rf-viz { margin-top: 24px; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line); font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 11px; color: var(--muted); line-height: 1.7; overflow-wrap: anywhere; }
.rf-viz p { font-size: 11px !important; }
.rf-viz em { font-style: normal; color: var(--gold); }
.rf-viz s { color: #5d5a54; }
.rf-viz__tags { display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--sans); }
.rf-viz__tags span { padding: 2px 8px; border: 1px solid var(--line); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.rf-viz__tags span:first-child { border-color: rgba(198, 164, 103, .5); color: var(--gold); }
.rf-viz__tags span:last-child { text-decoration: line-through; color: #5d5a54; }
.rf-viz__switch { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.rf-viz__switch i { width: 30px; height: 16px; border-radius: 8px; background: var(--gold); position: relative; flex-shrink: 0; }
.rf-viz__switch i::after { content: ""; position: absolute; right: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); }
.rf-diag { margin: 0; }

/* ==========================================================
   RÉFÉRENCEMENT
   ========================================================== */

/* Page de résultats fictive */
.seo-serp { background: #f7f6f3; color: #1f2329; border-radius: 10px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); font-family: Arial, Helvetica, sans-serif; font-weight: 400; }
.seo-serp__search { display: flex; align-items: center; gap: 12px; margin: 18px 20px 0; padding: 10px 18px; background: #fff; border: 1px solid #dcdad5; border-radius: 24px; font-size: 14px; color: #3a3f47; min-width: 0; }
.seo-serp__search svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: #8a8f98; stroke-width: 2; }
.seo-serp__search span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seo-serp__tabs { display: flex; gap: 18px; padding: 12px 38px 0; border-bottom: 1px solid #e4e2dd; font-size: 12px; color: #6b7079; }
.seo-serp__tabs span { padding-bottom: 8px; }
.seo-serp__tabs span:first-child { color: #1f2329; border-bottom: 2px solid #1f2329; }
.seo-serp__body { padding: 20px 38px 26px; }
.seo-serp__result { position: relative; }
.seo-serp__site { display: flex; align-items: center; gap: 10px; min-width: 0; }
.seo-serp__fav { width: 28px; height: 28px; border-radius: 50%; background: #8a5a2b; color: #f4efe6; display: grid; place-items: center; font-family: Georgia, serif; font-size: 11px; flex-shrink: 0; }
.seo-serp__site div { min-width: 0; line-height: 1.3; }
.seo-serp__site b { display: block; font-size: 13px; font-weight: 400; }
.seo-serp__site span { display: block; font-size: 11px; color: #5f6570; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seo-serp__title { position: relative; margin-top: 8px; font-size: 19px; line-height: 1.3; color: #1a3e8c; }
.seo-serp__desc { position: relative; margin-top: 4px; font-size: 13px; line-height: 1.55; color: #4a4f57; }
.seo-serp__extras { position: relative; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; font-size: 12px; }
.seo-serp__extras span { padding: 4px 10px; border: 1px solid #dcdad5; border-radius: 14px; background: #fff; color: #3a3f47; }
.seo-serp__extras span:first-child { color: #8a5a2b; }
.seo-serp__ghost { display: grid; gap: 7px; margin-top: 26px; padding-top: 20px; border-top: 1px solid #ebe9e4; opacity: .7; }
.seo-serp__ghost i { height: 7px; border-radius: 4px; background: #e4e2dd; }
.seo-serp__ghost i:nth-child(1) { width: 40%; } .seo-serp__ghost i:nth-child(2) { width: 75%; height: 10px; background: #d5dbea; } .seo-serp__ghost i:nth-child(3) { width: 92%; } .seo-serp__ghost i:nth-child(4) { width: 64%; }
/* Repères numérotés */
.seo-pin { position: absolute; left: -30px; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: var(--bg); font-family: var(--sans); font-size: 11px; font-weight: 500; display: grid; place-items: center; }
.seo-notes { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 22px; border-top: 1px solid var(--line); }
.seo-notes li { min-width: 0; padding: 18px 16px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: baseline; }
.seo-notes li + li { border-left: 1px solid var(--line); padding-left: 16px; }
.seo-notes .seo-pin { position: static; }
.seo-notes code { font-family: ui-monospace, Consolas, monospace; font-size: 12px; color: var(--gold); overflow-wrap: anywhere; }
.seo-notes span { grid-column: 2; font-size: 13px; color: var(--muted); line-height: 1.45; }
.seo-caption { margin-top: 18px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Ce que nous ne promettons pas */
.seo-cross { list-style: none; border-top: 1px solid var(--line); }
.seo-cross li { display: flex; gap: 20px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; }
.seo-cross li::before { content: "✕"; font-family: var(--sans); font-size: 14px; color: var(--muted); width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; transform: translateY(-3px); }
.seo-promise { margin-top: 40px; padding: 30px 32px; border: 1px solid rgba(198, 164, 103, .45); background: rgba(198, 164, 103, .06); display: flex; gap: 20px; align-items: flex-start; }
.seo-promise::before { content: "✦"; color: var(--gold); font-size: 18px; line-height: 1.5; }
.seo-promise p { color: var(--ink); }
.seo-promise b { color: var(--gold-soft); font-weight: 500; }

/* ---------- Écrans moyens ---------- */
@media (max-width: 1020px) {
  .svc-hero { grid-template-columns: 1fr; gap: 60px; }
  .sv-demo { grid-template-columns: 1fr; gap: 40px; }
  .sv-demo:nth-child(even) .sv-device { order: 0; }
  .sv-demos { gap: 90px; }
}

/* ---------- Téléphone ---------- */
@media (max-width: 640px) {
  .svc-offer__card { padding: 36px 24px; }
  .sv-tree__body { padding: 22px 16px 26px; }
  .sv-tree ul ul { margin-left: 10px; padding-left: 16px; }
  .sv-tree ul ul li::before { left: -16px; width: 12px; }
  .sv-tree ul ul li:last-child::after { left: -17px; }
  .sv-node code { display: none; }
  .sv-device { padding-bottom: 0; }
  .sv-phone { display: none; }
  .sv-mini { padding: 14px 14px 16px; font-size: 10px; }
  .sv-mini .mini__title { font-size: 20px; max-width: none; }
  .sv-mini__text { max-width: none; }
  .sv-mini__facts { grid-template-columns: 1fr; gap: 6px; }
  .sv-mini__cards { grid-template-columns: 1fr; gap: 6px; }
  .sv-mini__cards div { padding: 10px; }
  .lp-row { grid-template-columns: 1fr; }
  .lp-sk { border-right: 0; padding-bottom: 6px; }
  .lp-note { padding-top: 8px; }
  .seo-serp__body { padding: 18px 18px 22px 40px; }
  .seo-serp__tabs { padding: 12px 20px 0; }
  .seo-serp__title { font-size: 17px; }
  .seo-pin { left: -28px; }
  .seo-notes { grid-template-columns: 1fr; }
  .seo-notes li + li { border-left: 0; padding-left: 0; }
  .seo-promise { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-speed__bar i { animation: none; transform: none; }
  .sv-demo:hover .sv-phone { transform: none; }
}
