/* Km Zero · pages intérieures (s'appuie sur style.css) */

.inner-page { background: var(--blanc); }
.page-alt { background: var(--sable-clair); }
.inner-page .section[id], .inner-page [id] { scroll-margin-top: 100px; }
.sv-text { color: var(--texte-doux); font-size: 1.02rem; }

/* 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; }

/* Bandeau de titre */
.page-hero { position: relative; overflow: hidden; padding: 36px 0 56px; }
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%;
  border: 2px dashed rgba(143, 169, 143, .4); animation: spin 50s linear infinite; pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; display: grid; gap: 24px; align-items: end; }
@media (min-width: 900px) { .page-hero-inner { grid-template-columns: 1fr auto; } }
.page-hero h1 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem); font-weight: 500; letter-spacing: -.015em; margin-bottom: 14px; max-width: 18ch; animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.page-lead { margin: 0; max-width: 60ch; font-size: 1.08rem; color: var(--texte-doux); animation: rise .7s .1s cubic-bezier(.2, .7, .2, 1) both; }

/* Encadré d'appel à l'action */
.cta-box {
  width: calc(100% - 2 * var(--gouttiere)); max-width: calc(1200px - 2 * var(--gouttiere)); margin: 56px auto 0;
  display: grid; gap: 16px 22px; align-items: center; padding: 26px 28px; border-radius: var(--r-lg);
  background: var(--vert); color: var(--sable-clair);
}
@media (min-width: 760px) { .cta-box { grid-template-columns: auto 1fr auto; } }
.cta-box img { width: 56px; animation: orbit 7s ease-in-out infinite; }
.cta-box strong { display: block; font: 500 1.35rem/1.2 var(--f-titre); color: var(--sable-clair); margin-bottom: 4px; }
.cta-box p { margin: 0; color: rgba(244, 237, 224, .82); }

/* Comment ça marche */
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: none; }
@media (min-width: 700px) { .how-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .how-steps { grid-template-columns: repeat(3, 1fr); } }
.how-step {
  position: relative; overflow: hidden; padding: 28px 26px; border-radius: var(--r-md);
  background: var(--blanc); border: 1px solid var(--ligne);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, background-color .35s;
}
.how-step:hover { transform: translateY(-6px); box-shadow: var(--ombre); }
.how-num { position: absolute; right: 22px; top: 14px; font: 600 3.6rem/1 var(--f-titre); color: transparent; -webkit-text-stroke: 1.5px var(--sable); }
.how-ico { width: 54px; height: 54px; margin-bottom: 18px; border-radius: 16px; display: grid; place-items: center; background: var(--sable-clair); color: var(--vert); transition: background-color .3s, color .3s, transform .4s cubic-bezier(.2, .7, .2, 1.3); }
.how-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.how-step:hover .how-ico { background: var(--vert); color: var(--sable); transform: rotate(-8deg); }
.how-step h2 { font-size: 1.3rem; margin-bottom: 8px; }
.how-step p { margin: 0; color: var(--texte-doux); }
.how-step:last-child { background: var(--vert); border-color: var(--vert); }
.how-step:last-child h2 { color: var(--sable-clair); }
.how-step:last-child p { color: rgba(244, 237, 224, .82); }
.how-step:last-child .how-ico { background: rgba(244, 237, 224, .12); color: var(--sable); }
.how-step:last-child .how-num { -webkit-text-stroke-color: rgba(227, 211, 180, .4); }

.promise-grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 700px) { .promise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .promise-grid { grid-template-columns: repeat(4, 1fr); } }
.promise-grid li { padding: 22px; border-radius: var(--r-md); background: var(--blanc); border-top: 3px solid var(--vert); }
.promise-grid strong { display: block; font: 500 1.15rem var(--f-titre); color: var(--vert); margin-bottom: 6px; }
.promise-grid p { margin: 0; font-size: .9rem; color: var(--texte-doux); }

/* Trajets */
.route-detail { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .route-detail { grid-template-columns: 1fr 1.1fr; gap: 56px; } .route-detail-rev { grid-template-columns: 1.1fr 1fr; } }
.route-detail-media { position: relative; }
.route-detail-media img { width: 100%; height: auto; aspect-ratio: 4 / 3.6; object-fit: cover; border-radius: 40px 28px 44px 24px; box-shadow: 0 30px 60px -30px rgba(19, 38, 30, .5); }
.route-pill { position: absolute; left: 18px; bottom: 18px; padding: 8px 14px; border-radius: 999px; background: var(--blanc); color: var(--vert); font-weight: 600; font-size: .85rem; box-shadow: var(--ombre); }
.route-sub { font-size: 1rem; margin: 20px 0 0; }
.route-facts { margin: 22px 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 28px; }
.route-facts dt { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--texte-doux); }
.route-facts dd { margin: 2px 0 0; font-weight: 600; color: var(--vert); }
.city-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .city-grid { grid-template-columns: repeat(3, 1fr); } }
.city { overflow: hidden; border-radius: var(--r-md); background: var(--blanc); border: 1px solid var(--ligne); transition: transform .35s, box-shadow .35s; }
.city:hover { transform: translateY(-6px); box-shadow: var(--ombre); }
.city img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: scale .7s; }
.city:hover img { scale: 1.05; }
.city-body { padding: 20px 22px 24px; }
.city-body h3 { font-size: 1.4rem; margin-bottom: 6px; }
.city-body p:not(.eyebrow) { margin: 0; color: var(--texte-doux); }
.city-body .route-facts { margin-bottom: 0; grid-template-columns: repeat(2, auto); }
.city-other { display: flex; align-items: center; border-style: dashed; border-color: var(--sauge); background: rgba(255, 255, 255, .6); }
.city-other .btn { margin-top: 18px; }

/* À propos */
.about-split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .about-split { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.about-logo { display: grid; place-items: center; aspect-ratio: 1; max-width: 360px; border-radius: 50%; background: var(--sable-clair); }
.about-logo img { width: 55%; animation: orbit 8s ease-in-out infinite; }
.about-cols { display: grid; gap: 8px 40px; }
@media (min-width: 900px) { .about-cols { grid-template-columns: 1fr 1fr; } }
.about-card { padding: 28px; border-radius: var(--r-md); border: 1.5px dashed var(--sauge); background: var(--sable-clair); }
.about-card strong { display: block; font: 500 1.25rem var(--f-titre); color: var(--vert); margin-bottom: 6px; }
.about-card p { margin: 0; color: var(--texte-doux); }

/* FAQ */
.faq-search { position: relative; display: block; width: 100%; max-width: 380px; }
.faq-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; fill: none; stroke: var(--sauge); stroke-width: 2; stroke-linecap: round; }
.faq-search input { width: 100%; min-height: 54px; padding: 0 18px 0 48px; border-radius: 999px; border: 1.5px solid var(--ligne); background: var(--sable-clair); font: 400 1rem var(--f-texte); color: var(--encre); }
.faq-search input:focus { outline: none; border-color: var(--vert); background: var(--blanc); }
.faq-page { padding-top: 24px; }
.faq-page-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .faq-page-grid { grid-template-columns: 260px 1fr; gap: 48px; } }
.faq-cats { border-radius: var(--r-md); background: var(--sable-clair); padding: 10px; }
.faq-cats ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.faq-cats a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 12px; white-space: nowrap; text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--texte-doux); transition: background-color .2s, color .2s; }
.faq-cats a:hover, .faq-cats a.is-active { background: var(--blanc); color: var(--vert); }
.faq-cats em { font-style: normal; font-size: .72rem; padding: 1px 8px; border-radius: 999px; background: var(--sable); color: var(--vert); }
@media (min-width: 960px) { .faq-cats { position: sticky; top: 96px; } .faq-cats ul { flex-direction: column; } }
.faq-group { margin-bottom: 36px; }
.faq-group[hidden] { display: none; }
.faq-group h2 { font-size: 1.5rem; margin-bottom: 4px; }
.faq-group details[hidden] { display: none; }
.faq-empty { padding: 24px; border-radius: var(--r-md); border: 1.5px dashed var(--sauge); text-align: center; color: var(--texte-doux); }
.faq-empty a { color: var(--vert); font-weight: 600; }
.inner-page .faq summary::after { background: var(--sable-clair); }

/* Contact */
.contact-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .8fr 1.2fr; gap: 48px; } }
.contact-channels { display: grid; gap: 12px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--r-md); border: 1px solid var(--ligne); background: var(--blanc); text-decoration: none; color: inherit; transition: transform .3s, box-shadow .3s; }
.channel strong { display: block; font: 500 1.1rem var(--f-titre); color: var(--vert); }
.channel small { color: var(--texte-doux); }
.channel-ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--sable-clair); color: var(--vert); }
.channel-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.channel-main { background: var(--vert); border-color: var(--vert); }
.channel-main strong { color: var(--sable-clair); }
.channel-main small { color: rgba(244, 237, 224, .8); }
.channel-main .channel-ico { background: rgba(244, 237, 224, .12); color: var(--sable); }
a.channel:hover { transform: translateY(-3px); box-shadow: var(--ombre); }
.partner-box { margin-top: 8px; padding: 20px; border-radius: var(--r-md); background: var(--sable); }
.partner-box strong { display: block; font: 500 1.1rem var(--f-titre); color: var(--vert); margin-bottom: 4px; }
.partner-box p { margin: 0; font-size: .9rem; color: var(--vert); }
.contact-form { display: grid; gap: 16px; padding: 28px; border-radius: var(--r-lg); background: var(--sable-clair); }
@media (min-width: 768px) { .contact-form { padding: 40px; } }
.contact-form h2 { margin: 0 0 4px; font-size: 1.6rem; }
.contact-form .field input, .contact-form .field select, .contact-form .field textarea { background: var(--blanc); }
.contact-form .btn { justify-self: start; }
.form-error { margin: 0; min-height: 0; color: #8A1C14; font-weight: 600; font-size: .9rem; }
.form-error:empty { display: none; }
.form-ok { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--vert); color: var(--sable-clair); font-weight: 600; }
.form-ok:not([hidden]) { animation: rise .4s ease both; }

/* Blog */
.blog-filters { margin: 0 0 28px; }
.blog-filters .chip.is-active { background: var(--vert); border-color: var(--vert); color: var(--sable-clair); }
.post[hidden] { display: none; }
.blog-soon { margin: 28px 0 0; font-size: .9rem; color: var(--texte-doux); }
@media (min-width: 720px) { .blog-2 { grid-template-columns: repeat(2, 1fr); } }

/* Article et pages légales */
.article-head { padding-top: 28px; max-width: 860px; }
.article-cat { position: static; display: inline-block; margin: 0 0 14px; background: var(--sable-clair); }
.article-head h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); font-weight: 500; letter-spacing: -.015em; margin-bottom: 14px; }
.article-meta { margin: 14px 0 0; font-size: .85rem; color: var(--texte-doux); }
.article-cover { margin: 32px auto 0; }
.article-cover img { width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--r-lg); }
.article-grid { display: grid; gap: 32px; align-items: start; padding-top: 40px; padding-bottom: 72px; }
@media (min-width: 960px) { .article-grid { grid-template-columns: 260px minmax(0, 720px); gap: 56px; } }
.article-toc { padding: 20px; border-radius: var(--r-md); background: var(--sable-clair); }
@media (min-width: 960px) { .article-toc { position: sticky; top: 96px; } }
.article-toc strong { display: block; margin-bottom: 10px; font: 300 .78rem/1.4 var(--f-slogan); text-transform: uppercase; letter-spacing: .22em; color: var(--vert); }
.article-toc ol { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: .9rem; }
.article-toc a { color: var(--texte-doux); text-decoration: none; }
.article-toc a:hover, .article-toc a.is-active { color: var(--vert); font-weight: 600; }
.legal-links { display: grid; gap: 6px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--ligne); font-size: .85rem; }
.legal-links a { color: var(--vert); font-weight: 600; text-decoration: none; }
.prose { font-size: 1.05rem; line-height: 1.75; }
.prose h2 { margin: 40px 0 12px; font-size: 1.6rem; scroll-margin-top: 100px; }
.prose h2:first-of-type { margin-top: 24px; }
.prose p { color: #2B3D35; }
.prose a { color: var(--vert); font-weight: 600; }
.article-warning { padding: 14px 16px; border-radius: 12px; background: #FFF6D6; color: #5A4300 !important; font-size: .9rem; line-height: 1.5; }
.article-service { display: grid; gap: 14px 18px; align-items: center; margin-top: 48px; padding: 24px; border-radius: var(--r-md); background: var(--sable-clair); border: 1px solid var(--ligne); }
@media (min-width: 700px) { .article-service { grid-template-columns: auto 1fr auto; } }
.article-service strong { display: block; font: 500 1.15rem/1.3 var(--f-titre); color: var(--vert); }
.article-service p:not(.eyebrow) { margin: 2px 0 0; font-size: .9rem; color: var(--texte-doux); }
.article-service .eyebrow { margin-bottom: 4px; }
.price-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
.price-table th { text-align: left; padding: 12px 14px; background: var(--sable-clair); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--texte-doux); }
.price-table td { padding: 12px 14px; border-top: 1px solid var(--ligne); }
.table-wrap { overflow-x: auto; border: 1px solid var(--ligne); border-radius: var(--r-md); margin: 18px 0; }

/* Ajustements après relecture visuelle */
.breadcrumb { padding-top: 28px; }
.page-hero { padding-bottom: 24px; }
.page-hero + .section { padding-top: 40px; }
.article-head { max-width: 1200px; }
.article-head > * { max-width: 860px; }
.faq-search { width: 360px; max-width: 100%; }
