/* Km Zero · pages services (s'appuie sur style.css) */

.service-page { background: var(--blanc); }

/* Fil d'Ariane */
.breadcrumb { padding-top: 20px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--texte-doux); }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 6px; color: var(--sauge); }
.breadcrumb a { color: var(--vert); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

/* En-tête du service */
.sv-hero { padding: 28px 0 56px; }
.sv-hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 980px) { .sv-hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.sv-hero-text { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.sv-hero-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; }
.sv-hero-tags .eyebrow { margin: 0; }
.sv-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--vert); color: var(--sable); }
.sv-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sv-hero h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); font-weight: 500; letter-spacing: -.015em; margin-bottom: 18px; }
.sv-lead { font-size: 1.08rem; color: var(--texte-doux); max-width: 54ch; margin-bottom: 26px; }
.sv-hero-price { display: grid; gap: 4px; padding: 18px 20px; margin-bottom: 24px; border-radius: var(--r-md); background: var(--sable-clair); border: 1px solid var(--ligne); max-width: 420px; }
.sv-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.sv-price strong { font: 600 2rem/1.1 var(--f-titre); color: var(--vert); }
.sv-price span { font-size: .85rem; color: var(--texte-doux); }
.sv-deposit { margin: 0; font-size: .85rem; color: var(--texte-doux); }
.sv-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.sv-hero-media { position: relative; margin: 0; animation: rise .8s .15s cubic-bezier(.2, .7, .2, 1) both; }
.sv-hero-media img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover;
  border-radius: 40px 28px 44px 24px; box-shadow: 0 30px 60px -30px rgba(19, 38, 30, .5);
}
.sv-hero-media::before {
  content: ""; position: absolute; z-index: -1; left: -24px; bottom: -24px; width: 45%; aspect-ratio: 1;
  border-radius: 58% 42% 55% 45% / 52% 60% 40% 48%; background: var(--sable); animation: morph 9s ease-in-out infinite;
}
.sv-hero-card {
  position: absolute; right: -8px; bottom: -22px; max-width: 290px;
  padding: 16px 18px; border-radius: var(--r-md); background: var(--blanc); box-shadow: var(--ombre);
  animation: floaty 6s 1s ease-in-out infinite;
}
.sv-hero-card strong { display: block; margin-bottom: 8px; font: 300 .75rem/1 var(--f-slogan); text-transform: uppercase; letter-spacing: .22em; color: var(--vert); }
.sv-hero-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .82rem; line-height: 1.4; }
.sv-hero-card li { position: relative; padding-left: 20px; }
.sv-hero-card li::before { content: ""; position: absolute; left: 1px; top: .35em; width: 10px; height: 6px; border: 2px solid var(--vert); border-top: 0; border-right: 0; transform: rotate(-45deg); }
@media (max-width: 600px) { .sv-hero-card { position: static; max-width: none; margin-top: -40px; margin-left: 16px; margin-right: 16px; } }

/* Sommaire collant */
.sv-tabs { position: sticky; top: 72px; z-index: 40; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }
.sv-tabs .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sv-tabs ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.sv-tabs ul::-webkit-scrollbar { display: none; }
.sv-tabs a:not(.btn) { display: block; padding: 16px 12px; white-space: nowrap; font-weight: 600; font-size: .88rem; color: var(--texte-doux); text-decoration: none; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.sv-tabs a:not(.btn):hover, .sv-tabs a.is-active { color: var(--vert); border-bottom-color: var(--vert); }
.sv-tabs-cta { flex: none; }
@media (max-width: 760px) { .sv-tabs-cta { display: none; } }
.sv-section { scroll-margin-top: 140px; }
.service-page .section[id] { scroll-margin-top: 140px; }

/* Sections */
.sv-alt { background: var(--sable-clair); }
.sv-split { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .sv-split { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.sv-text { color: var(--texte-doux); font-size: 1.02rem; }
.sv-profiles { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sv-profiles li { padding: 10px 18px; border-radius: 999px; background: var(--sable-clair); border: 1px solid var(--ligne); font-weight: 600; color: var(--vert); font-size: .9rem; }

.sv-includes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 700px) { .sv-includes { grid-template-columns: 1fr 1fr; } }
.sv-includes li {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--r-md);
  background: var(--blanc); border: 1px solid var(--ligne); transition: transform .3s, box-shadow .3s;
}
.sv-includes li:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.sv-includes p { margin: 0; font-weight: 600; line-height: 1.45; }
.sv-inc-num { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--vert); color: var(--sable); font: 600 .95rem var(--f-titre); }
.sv-inc-todo { border-style: dashed !important; }
.sv-inc-todo p { font-weight: 400; color: var(--texte-doux); }
.sv-inc-todo .sv-inc-num { background: var(--sable); color: var(--vert); }
.sv-not { margin-top: 24px; padding: 18px 22px; border-radius: var(--r-md); border: 1.5px dashed var(--sauge); background: rgba(255, 255, 255, .6); }
.sv-not h3 { margin: 0 0 8px; font-size: 1rem; }
.sv-not ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--texte-doux); font-size: .92rem; }
.sv-not li::before { content: "× "; color: var(--sauge); font-weight: 600; }

/* Déroulé */
.sv-timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 28px; max-width: 760px; }
.sv-timeline::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: repeating-linear-gradient(180deg, var(--sauge) 0 3px, transparent 3px 11px); }
.sv-timeline li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 20px; align-items: start; }
.sv-tl-dot { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--blanc); border: 2px solid var(--vert); color: var(--vert); font: 600 1.1rem var(--f-titre); box-shadow: 0 0 0 6px var(--blanc); transition: background-color .3s, color .3s; }
.sv-timeline li:hover .sv-tl-dot { background: var(--vert); color: var(--sable); }
.sv-timeline li:last-child .sv-tl-dot { background: var(--vert); color: var(--sable); }
.sv-timeline h3 { margin: 10px 0 6px; font-size: 1.3rem; }
.sv-timeline p { margin: 0; color: var(--texte-doux); }

/* Options */
.sv-sub { font-size: 1.1rem; margin: 0 0 14px; }
.sv-options { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .sv-options { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .sv-options { grid-template-columns: repeat(3, 1fr); } }
.sv-opt { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; align-items: start; padding: 16px; border-radius: 16px; background: var(--blanc); border: 1px solid var(--ligne); }
.sv-opt strong { display: block; font-size: .95rem; }
.sv-opt p { margin: 2px 0 0; font-size: .82rem; line-height: 1.4; color: var(--texte-doux); }
.sv-opt .opt-badge { grid-column: 2; justify-self: start; margin: 0; }
.sv-opt-ico { grid-row: span 2; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--sable-clair); color: var(--vert); }
.sv-opt-reco .sv-opt-ico { background: var(--vert); color: var(--sable); }
.sv-opt-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sv-more-opts { margin-top: 18px; }
.sv-more-opts summary { cursor: pointer; display: inline-flex; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--vert); color: var(--vert); font-weight: 600; font-size: .9rem; list-style: none; margin-bottom: 14px; }
.sv-more-opts summary::-webkit-details-marker { display: none; }
.sv-more-opts[open] summary { background: var(--vert); color: var(--sable-clair); }

/* Tarifs */
.sv-price-card { padding: 28px; border-radius: var(--r-lg); background: var(--vert); color: var(--sable-clair); display: grid; gap: 4px; box-shadow: 0 30px 60px -32px rgba(19, 38, 30, .6); }
.sv-pc-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed rgba(244, 237, 224, .22); }
.sv-pc-row span { color: rgba(244, 237, 224, .8); }
.sv-pc-main strong { font: 600 1.8rem/1 var(--f-titre); color: var(--sable); }
.sv-pc-fx { padding: 10px 0 18px; font-size: .85rem; color: rgba(244, 237, 224, .75); text-align: right; }
.sv-price-card .btn { margin-top: 8px; }
.sv-pc-note { margin: 10px 0 0; font-size: .8rem; color: rgba(244, 237, 224, .7); }

/* FAQ sur fond sable : pastilles blanches */
.service-page .faq-section .faq summary::after { background: var(--blanc); }

/* Autres services */
.sv-others { background: var(--blanc); }
.sv-others-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .sv-others-grid { grid-template-columns: repeat(3, 1fr); } }
.sv-other {
  display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--r-md);
  background: var(--blanc); border: 1px solid var(--ligne); text-decoration: none; color: inherit;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s, background-color .35s;
}
.sv-other:hover { transform: translateY(-6px); box-shadow: var(--ombre); border-color: transparent; }
.sv-other-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.sv-other-name { font: 600 1.4rem var(--f-titre); color: var(--vert); }
.sv-other-text { color: var(--texte-doux); font-size: .9rem; }
.sv-other-price { font: 600 1.25rem var(--f-titre); color: var(--vert); margin-top: 6px; }
.sv-other-more { margin-top: auto; padding-top: 10px; font-weight: 600; font-size: .88rem; color: var(--vert); display: inline-flex; gap: 6px; }
.sv-other-more span { transition: transform .25s; }
.sv-other:hover .sv-other-more span { transform: translateX(4px); }
.sv-other-featured { background: var(--vert); border-color: var(--vert); }
.sv-other-featured .sv-other-name, .sv-other-featured .sv-other-price, .sv-other-featured .sv-other-more { color: var(--sable-clair); }
.sv-other-featured .sv-other-text { color: rgba(244, 237, 224, .8); }
.sv-other-featured .pack-ico { background: rgba(244, 237, 224, .12); color: var(--sable); }

/* L'appel final suit un fond blanc */

@media (prefers-reduced-motion: reduce) {
  .sv-hero-media::before, .sv-hero-card { animation: none; }
}

/* Photo du haut : le format suit aspect-ratio, pas la hauteur indiquée dans le HTML */
.sv-hero-media img { height: auto; max-height: 560px; }
