/* Pages SEO de holey.fr (logiciel de devis, devis à la voix, relance…) : même univers que la page d'accueil, mise en page article. */
:root {
  --y: #FFC21A; --y-soft: #FFF4D1; --k: #111111; --ink: #1B1A17; --muted: #625E55; --line: #E7E3DA; --paper: #F7F5EF; --green: #2E7D32;
  --font-display: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font-body); font-size: 18px; line-height: 1.65; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.d { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .005em; line-height: .98; }
h1, h2, h3 { margin: 0; text-wrap: balance; }

/* Menu */
.logo { font-family: var(--font-display); font-weight: 800; font-size: 22px; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: 4px; align-items: center; color: var(--ink); }
.logo b { background: var(--y); padding: 0 6px; transform: skewX(-8deg); display: inline-block; }
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; font-family: var(--font-body); font-weight: 700; font-size: 17px; border-radius: 999px; padding: 13px 24px; background: var(--k); color: #fff; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(17,17,17,.18); }
.btn.sm { padding: 8px 16px; font-size: 14px; }
.btn.y { background: var(--y); color: var(--k); }
/* En-tête du site (non collant), menus déroulants Produit / Ressources */
.site-head { position: relative; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-head .sh-bar { max-width: 1180px; margin: 0 auto; padding: 0 20px; height: 68px; display: flex; align-items: center; gap: 28px; }
.site-head .logo { flex: none; }
.site-head .hm { display: flex; align-items: center; gap: 4px; }
.site-head .hm-item { position: relative; }
.site-head .hm-trig, .site-head .hm-top { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; font: 600 15px var(--font-body); color: var(--ink); padding: 9px 12px; border-radius: 10px; cursor: pointer; text-decoration: none; }
.site-head .hm-trig:hover, .site-head .hm-top:hover, .site-head .hm-item.open .hm-trig { background: var(--paper); }
.site-head .hm-chev { transition: transform .15s ease; color: var(--muted); }
.site-head .hm-item.open .hm-chev { transform: rotate(180deg); }
.site-head .hm-panel { display: none; position: absolute; top: calc(100% + 10px); left: -12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(17,17,17,.14); padding: 22px; grid-template-columns: 270px 270px 250px; gap: 24px; }
.site-head .hm-panel.hm-panel-sm { grid-template-columns: 280px 250px; }
.site-head .hm-item.open .hm-panel { display: grid; }
@media (hover: hover) and (min-width: 961px) { .site-head .hm-item:hover .hm-panel { display: grid; } .site-head .hm-item:hover .hm-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } }
.site-head .hm-col { display: flex; flex-direction: column; gap: 2px; }
.site-head .hm-h { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 0 8px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.site-head .hm-link { display: flex; gap: 12px; align-items: flex-start; padding: 9px 8px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.site-head .hm-link:hover { background: var(--paper); }
.site-head .hm-link:hover .hm-ic { background: var(--y); }
.site-head .hm-ic { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--paper); display: grid; place-items: center; transition: background .15s; }
.site-head .hm-link b { display: block; font-size: 15px; line-height: 1.25; }
.site-head .hm-link small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; margin-top: 2px; }
.site-head .hm-card { display: flex; flex-direction: column; gap: 6px; background: var(--paper); border-radius: 14px; padding: 16px; text-decoration: none; color: var(--ink); }
.site-head .hm-card .hm-h { border: 0; padding: 0; margin: 0 0 4px; }
.site-head .hm-card-art { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; background: var(--y); border-radius: 12px; padding: 16px 12px; margin-bottom: 6px; }
.site-head .hm-card-pill { background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.site-head .hm-card-pill.ok { background: var(--k); color: var(--y); align-self: flex-end; }
.site-head .hm-card small { color: var(--muted); }
.site-head .hm-more { font-weight: 700; font-size: 14px; margin-top: 4px; }
.site-head .sh-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.site-head .sh-login { font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.site-head .hm-mob { display: none; }
.site-head .sh-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.site-head .sh-burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
@media (max-width: 960px) {
  .site-head .sh-bar { gap: 12px; height: 62px; }
  .site-head .sh-burger { display: flex; }
  .site-head .sh-login { display: none; }
  .site-head .hm { display: none; }
  .site-head.menu-open .hm { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 62px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0,0,0,.12); padding: 10px 14px 18px; max-height: calc(100vh - 62px); overflow: auto; }
  .site-head.menu-open .hm-mob { display: inline-flex; border-top: 1px solid var(--line); border-radius: 0; margin-top: 6px; }
  .site-head.menu-open .hm-trig, .site-head.menu-open .hm-top { width: 100%; justify-content: space-between; font-size: 17px; padding: 14px 8px; }
  .site-head .hm-panel { position: static; box-shadow: none; border: 0; padding: 0 0 10px; grid-template-columns: 1fr !important; gap: 8px; }
  .site-head .hm-card { display: none; }
}
@media (max-width: 420px) { .hide-xs { display: none; } }

/* Haut de page */
.crumbs { font-size: 14px; color: var(--muted); margin: 34px 0 0; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.hero { padding: 22px 0 46px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 70px); }
.hero h1 em { font-style: normal; background: var(--y); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lead { font-size: 21px; color: var(--ink); opacity: .85; margin: 18px 0 24px; max-width: 46ch; }
.reassure { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--muted); margin-top: 12px; }
.reassure span::before { content: "✓ "; color: var(--green); font-weight: 700; }
.hero-card { background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 24px; }
.hero-card h2 { font-family: var(--font-body); font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.hero-card ol, .hero-card ul { margin: 0; padding-left: 20px; }
.hero-card li { margin: 6px 0; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } }

/* Contenu */
.layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; padding-bottom: 40px; }
.toc { position: sticky; top: 24px; font-size: 15px; border-left: 3px solid var(--y); padding-left: 16px; }
.toc b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.toc a { display: block; text-decoration: none; color: var(--muted); margin: 7px 0; line-height: 1.3; }
.toc a:hover { color: var(--ink); }
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; } .toc { display: none; } }
.prose { max-width: 760px; }
.prose h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 4vw, 42px); line-height: 1; margin: 56px 0 16px; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 10px; }
.prose h3 { font-size: 21px; margin: 28px 0 8px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose a { text-decoration-color: var(--y); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 22px; font-size: 16px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
.prose th { background: var(--paper); }
.note { background: var(--y-soft); border-radius: 16px; padding: 16px 18px; margin: 0 0 20px; }
.quote { background: var(--paper); border-left: 4px solid var(--y); border-radius: 0 14px 14px 0; padding: 14px 18px; margin: 0 0 18px; font-style: italic; }
.tpl { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin: 0 0 18px; white-space: pre-line; font-size: 16px; }
.tpl b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 6px; font-style: normal; }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; margin: 14px 0 !important; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 10px; background: var(--k); color: var(--y); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 20px; }

/* Appels à l'action */
.cta-box { background: var(--k); color: #fff; border-radius: 24px; padding: 26px; margin: 34px 0; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-box b { font-family: var(--font-display); font-size: 28px; text-transform: uppercase; line-height: 1; }
.cta-box small { display: block; color: #bbb; margin-top: 6px; font-size: 14px; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 26px; line-height: .8; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* À lire aussi */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 10px 0 24px; }
.related a { display: block; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; text-decoration: none; background: #fff; }
.related a:hover { border-color: var(--k); }
.related b { display: block; font-size: 18px; margin-bottom: 4px; }
.related span { color: var(--muted); font-size: 15px; line-height: 1.4; display: block; }

/* Bas de page */
.final { margin: 40px 0 0; background: var(--y); border-radius: 32px; padding: 54px 24px; text-align: center; }
.final h2 { font-size: clamp(36px, 6vw, 62px); max-width: 18ch; margin: 0 auto 14px; }
.final p { font-size: 18px; margin: 0 0 22px; }
.site-foot { border-top: 1px solid var(--line); margin-top: 56px; padding: 56px 0 28px; background: var(--paper); color: var(--muted); font-size: 15px; line-height: 1.5; }
.site-foot .sf-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; display: block; }
.site-foot .sf-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
.site-foot .sf-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.site-foot .sf-brand p { margin: 0; max-width: 34ch; }
.site-foot .sf-small { font-size: 13px; }
.site-foot .sf-col b { display: block; color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin: 6px 0 16px; }
.site-foot .sf-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-foot .sf-col a { color: var(--muted); text-decoration: none; }
.site-foot .sf-col a:hover { color: var(--ink); }
.site-foot .sf-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 44px; padding-top: 20px; font-size: 13px; }
@media (max-width: 860px) { .site-foot .sf-top { grid-template-columns: 1fr 1fr; gap: 32px 24px; } .site-foot .sf-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-foot .sf-top { grid-template-columns: 1fr; } }
