/* Boostr v2 — pages services sans board dédié (/commerce, /petitscommerces, /photo, /phototovideo)
   Même structure que la page Immo : hero noir + cadre vidéo 9:16, cartes stats, offres, CTA bar. */

.svc { display: flex; flex-direction: column; gap: 40px; padding-top: 16px; }

/* Hero */
.svc-hero { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: center; min-height: 640px; padding: 56px 64px; }
.svc-hero .copy { display: flex; flex-direction: column; gap: 24px; max-width: 720px; }
.svc-hero h1 { font-size: clamp(2.625rem, 5.3vw, 4.75rem); letter-spacing: -.04em; line-height: 1; }
.svc-hero .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.svc-hero .chips { display: flex; gap: 10px; flex-wrap: wrap; }
.svc-hero .frame { width: 320px; height: 528px; padding: 0; }
.svc-hero .frame .vid { width: 270px; }
.svc-hero .frame.stats { flex-direction: column; align-items: stretch; justify-content: center; gap: 0; padding: 32px; }
.svc-hero .frame.stats > div { display: flex; flex-direction: column; gap: 4px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.svc-hero .frame.stats > div:first-child { border-top: 0; }
.svc-hero .frame.stats .stat { color: var(--white); font-variant-numeric: tabular-nums; }
.svc-hero .frame.stats span:not(.stat) { color: var(--slate); font-size: 0.875rem; }
.vid-caption { margin-top: 12px; text-align: center; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: .12em; color: var(--slate-dark); text-transform: uppercase; }
.vid .sheen, .vid .sweep { z-index: 1; }
.vid.playing .sheen, .vid.playing .sweep { display: none; }
.vid .play { cursor: pointer; }

/* Cartes stats */
.svc-stat { font-family: var(--font-display); font-weight: 700; font-size: 1.875rem; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; text-wrap: balance; }
.card-white .desc { font-size: 0.875rem; color: var(--muted); }

/* Offres */
.svc-offers .intro { display: flex; flex-direction: column; gap: 12px; padding: 12px 8px; }
.svc-offers .big { font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em; font-size: clamp(2.5rem, 3.8vw, 3.25rem); line-height: 1; }
.svc-offers .intro .link-pill { align-self: flex-start; margin-top: 8px; }
.svc-offers .card { min-height: 380px; gap: 14px; padding: 32px; }
.svc-offers .card .title { font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em; font-size: clamp(1.625rem, 2vw, 1.75rem); line-height: 1.05; }
/* En-tête de carte : même hauteur avec ou sans badge, pour que titres, prix et listes démarrent à la même ligne */
.svc-offers .card > .mono, .svc-offers .card .head { min-height: 28px; display: flex; align-items: center; }

.svc-offers .card .price { font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em; font-size: 2.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.svc-offers .card .meta { font-size: 0.8125rem; }
.card-dark .meta, .card-dark .note { color: var(--slate); }
.card-outline .meta, .card-outline .note { color: var(--muted); }
.svc-offers .card .note { font-size: 0.8125rem; line-height: 1.5; }
.svc-offers .card .head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card-dark .mono { color: var(--slate); }
.card ul.dots li { position: relative; padding-left: 16px; line-height: 1.5; }
.card ul.dots li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 3px; background: var(--blue); }
.svc-offers .card .cta { height: 52px; margin-top: auto; }
/* Puce de délai + bouton groupés en pied de carte */
.svc-offers .card > .chip, .svc-offers .card > .chip-light { display: inline-flex; align-items: center; align-self: flex-start; height: 34px; padding: 0 14px; border-radius: 17px; font-size: 0.8125rem; gap: 8px; margin-top: auto; }
.svc-offers .card > .chip ~ .cta, .svc-offers .card > .chip-light ~ .cta { margin-top: 6px; }
.svc-option { flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 8px 20px; flex-wrap: wrap; padding: 22px 28px; }

/* Sections titrées */
.svc-head { display: flex; flex-direction: column; gap: 10px; padding: 0 8px; }
.svc-head p { max-width: 640px; color: var(--muted); }
.svc-steps .card-white { gap: 12px; padding: 28px; }
.svc-steps .n { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: .12em; color: var(--blue); }
.svc-steps strong { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.2; }

/* Aperçu espace client */
.svc-espace { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: center; padding: 56px 64px; }
.svc-espace .copy { display: flex; flex-direction: column; gap: 20px; }
.svc-espace .frame { padding: 16px; height: 620px; }
.svc-espace .screen { width: 100%; height: 100%; border-radius: 20px; overflow: hidden; background: var(--white); }
.svc-espace iframe { width: 100%; height: 100%; border: 0; }

/* Tableau comparatif */
.svc-table { overflow-x: auto; padding: 8px 24px; overscroll-behavior-x: contain; }
.svc-table:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.svc-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.875rem; }
.svc-table th, .svc-table td { text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--line); }
.svc-table tr:last-child td { border-bottom: 0; }
.svc-table th { font-family: var(--font-mono); font-weight: 400; font-size: 0.6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.svc-table td:nth-child(2) { color: var(--muted); }
.svc-table td:last-child { font-weight: 600; }
.svc-table .accent { font-weight: 700; }
.svc-table td:first-child { color: var(--ink); }

/* CTA */
.cta-bar .txt { font-size: 1rem; text-wrap: pretty; }
.svc .nowrap { white-space: nowrap; }
.cta-bar .txt .text-muted { display: block; font-size: 0.875rem; }
.cta-bar .btns { display: flex; gap: 8px; flex-wrap: wrap; }
.svc-links { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 8px; }
.svc-links .link-pill { min-height: 44px; padding: 0 16px; border-radius: 22px; transition: border-color .25s, color .25s; }
.svc-links .link-pill:hover { border-color: var(--ink); }
.svc-links .link-pill:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

@media (max-width: 1100px) {
  .svc-hero { padding: 48px 40px; gap: 32px; }
  .svc-offers.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-offers .intro { grid-column: 1 / -1; }
  .svc-espace { padding: 40px; gap: 32px; }
}
@media (max-width: 860px) {
  .svc { gap: 24px; padding-top: 8px; }
  .svc-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 40px 24px 28px; gap: 32px; }
  .svc-hero h1 { font-size: clamp(2.375rem, 11vw, 3rem); }
  .svc-hero .btns { flex-direction: column; }
  .svc-hero .btns .btn { width: 100%; }
  .svc-hero .chips .chip { height: 38px; padding: 0 14px; font-size: 0.8125rem; }
  .svc-hero .media { justify-self: center; width: 100%; max-width: 320px; }
  .svc-hero .frame { width: 100%; height: auto; padding: 22px; }
  .svc-hero .frame .vid { width: 100%; }
  .svc-hero .frame.stats { padding: 8px 24px; }
  .grid-4.keep-2 .card-white { padding: 18px; }
  .svc-stat { font-size: 1.5rem; }
  .svc-offers.grid-3 { grid-template-columns: minmax(0, 1fr); }
  .svc-offers .card { min-height: 0; padding: 26px; }
  .svc-espace { grid-template-columns: minmax(0, 1fr); padding: 32px 20px 20px; }
  .svc-espace .frame { height: 560px; max-width: 340px; width: 100%; justify-self: center; }
  .svc-table { padding: 4px 8px; }
  .svc-option { flex-direction: column; align-items: flex-start; padding: 20px 22px; }
  .svc-links .link-pill { white-space: normal; text-align: left; padding: 10px 16px; line-height: 1.35; }
  .cta-bar .btns { flex-direction: column; }
  .cta-bar .btns .btn { width: 100%; }
}

/* Tableau comparatif sur téléphone : chaque ligne devient une carte (pas de défilement horizontal) */
@media (max-width: 640px) {
  .svc-table { overflow: visible; padding: 4px 18px; }
  .svc-table table { min-width: 0; }
  .svc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .svc-table table, .svc-table tbody { display: block; }
  .svc-table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 14px; row-gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .svc-table tbody tr:last-child { border-bottom: 0; }
  .svc-table td { display: block; padding: 0; border: 0; }
  .svc-table td:first-child { grid-column: 1 / -1; font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -.01em; }
  .svc-table td:nth-child(2)::before, .svc-table td:nth-child(3)::before { display: block; margin-bottom: 3px; font-family: var(--font-mono); font-weight: 400; font-size: 0.625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .svc-table td:nth-child(2)::before { content: "Concurrents"; }
  .svc-table td:nth-child(3)::before { content: "Boostr"; color: var(--ink); }
}

/* Alignement au pixel avec la carte noire voisine : la carte contour compense son bord de 2,5 px dans son padding */
.svc-offers .card-outline { padding: 29.5px; }
@media (max-width: 860px) { .svc-offers .card-outline { padding: 23.5px; } }
