/* ==========================================================================
   BatiWeb — pages de référencement (pages métier et guides)
   Même univers visuel que l'accueil premium (noyer, crème, ambre, Inter + Instrument Serif),
   en version légère : aucune animation obligatoire, aucun JavaScript pour s'afficher.
   ========================================================================== */
:root {
  --bg: #090502; --cream: #fff4e4; --cream-80: rgba(255, 238, 218, .8); --cream-60: rgba(255, 238, 218, .6);
  --amber: #ffb36b; --line: rgba(255, 237, 215, .1); --line-2: rgba(255, 237, 215, .18);
  --glass: linear-gradient(180deg, rgba(255, 237, 215, .065), rgba(255, 237, 215, .02));
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --pad: clamp(18px, 4vw, 48px);
}
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; color: var(--cream); font: 400 17px/1.6 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; letter-spacing: -.011em; -webkit-font-smoothing: antialiased;
  background: radial-gradient(70vmax 60vmax at 90% -10%, rgba(224, 124, 52, .17), transparent 70%), radial-gradient(60vmax 50vmax at -10% 40%, rgba(132, 66, 24, .22), transparent 70%), var(--bg); background-attachment: fixed; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: rgba(255, 179, 107, .5); text-underline-offset: 4px; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--amber); color: #1a0e06; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--cream); color: #1a0e06; padding: 10px 16px; border-radius: 99px; transition: top .2s; }
.skip:focus { top: 12px; }
.ic { width: 18px; height: 18px; flex: none; }

/* ---------- en-tête ---------- */
.top { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px var(--pad) 0; pointer-events: none; }
.top > * { pointer-events: auto; }
.logo { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px 0 12px; border-radius: 99px; font: 600 17px/1 'Inter', sans-serif; letter-spacing: -.035em; text-decoration: none;
  background: rgba(20, 11, 6, .72); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.mark { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: linear-gradient(135deg, #ffe6c2, #ff9b4d 55%, #b8480f); color: #1a0e06; font: 700 15px/1 'Inter', sans-serif; letter-spacing: 0; }
.links { display: flex; align-items: center; gap: 2px; height: 46px; padding: 4px; border-radius: 99px; font-size: 14px; background: rgba(20, 11, 6, .72); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.links a:not(.btn) { display: inline-flex; align-items: center; height: 38px; padding: 0 15px; border-radius: 99px; color: var(--cream-60); text-decoration: none; transition: color .3s, background .3s; }
.links a:not(.btn):hover { color: var(--cream); background: rgba(255, 237, 215, .08); }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; font: 500 15px/1 'Inter', sans-serif; letter-spacing: -.012em; text-decoration: none; white-space: nowrap; border-radius: 99px; cursor: pointer; transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s, background .3s, border-color .3s; }
.btn.cta { padding: 16px 22px 16px 26px; color: #1a0e06; background: linear-gradient(180deg, #fffaf1, #ffe5c2); box-shadow: 0 1px 0 rgba(255, 255, 255, .85) inset, 0 12px 32px -10px rgba(255, 146, 66, .55), 0 2px 6px rgba(0, 0, 0, .4); }
.btn.cta:hover { transform: translateY(-2px); box-shadow: 0 1px 0 #fff inset, 0 18px 44px -8px rgba(255, 146, 66, .75), 0 2px 6px rgba(0, 0, 0, .4); }
.btn.cta .ic { width: 28px; height: 28px; padding: 7px; border-radius: 50%; background: #1a0e06; color: #ffe5c2; margin-right: -8px; }
.btn.cta.sm { padding: 9px 12px 9px 18px; font-size: 14px; height: 38px; }
.btn.cta.sm .ic { width: 22px; height: 22px; padding: 5px; margin-right: -2px; }
.btn.cta.lg { padding: 19px 24px 19px 30px; font-size: 16px; }
.btn.cta.lg .ic { width: 32px; height: 32px; padding: 8px; }
.btn.ghost { padding: 15px 24px; border: 1px solid var(--line-2); background: rgba(255, 237, 215, .04); color: var(--cream); }
.btn.ghost:hover { background: rgba(255, 237, 215, .1); border-color: rgba(255, 237, 215, .4); }
.btn:active { transform: scale(.97); }

/* ---------- mise en page ---------- */
main { max-width: 1180px; margin: 0 auto; padding: 24px var(--pad) 40px; }
.crumbs { margin: 14px 0 0; font-size: 13px; color: var(--cream-60); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: '›'; margin-right: 6px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.p-hero { padding: clamp(36px, 8vh, 90px) 0 clamp(24px, 5vh, 56px); }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.045em; }
h1 { font-size: clamp(36px, 5.6vw, 84px); line-height: 1; max-width: 17em; text-wrap: balance; }
h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; font-size: 1.06em; display: inline-block; padding: .08em .12em .2em .16em; margin: -.08em -.12em -.2em -.16em;
  background: linear-gradient(100deg, #ffe9cc, #ffbf7d 40%, #ff8f45); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
h2 { font-size: clamp(28px, 3.6vw, 52px); line-height: 1.04; margin-bottom: clamp(20px, 3vw, 36px); text-wrap: balance; }
h3 { font-size: 20px; line-height: 1.2; letter-spacing: -.03em; font-weight: 600; margin-bottom: 8px; }
.lead { font-size: clamp(18px, 1.7vw, 23px); line-height: 1.5; color: var(--cream-80); max-width: 40em; margin-top: 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; font-size: 14px; color: var(--cream-80); }
.trust li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 11px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255, 237, 215, .04); }
.trust .ic { color: var(--amber); width: 15px; height: 15px; }
.byline { margin-top: 20px; font-size: 14px; color: var(--cream-60); }
.p-sec { padding: clamp(36px, 6vh, 72px) 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.cards li, .offs li, .ex-box { border: 1px solid var(--line); border-radius: 26px; background: var(--glass); box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset; padding: 26px; }
.cards p, .feats p, .ex-box p, .o-d { font-size: 15.5px; line-height: 1.55; color: var(--cream-80); }
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 12px 40px; }
.feats li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.tick { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid rgba(255, 179, 107, .42); background: rgba(255, 179, 107, .12); color: var(--amber); }
.tick .ic { width: 15px; height: 15px; }
.ex-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: linear-gradient(120deg, rgba(255, 179, 107, .13), rgba(255, 237, 215, .02) 60%); border-color: rgba(255, 179, 107, .3); }
.ex-box > div { flex: 1 1 380px; }
.offs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.offs .reco { border-color: rgba(255, 179, 107, .5); background: linear-gradient(180deg, rgba(255, 179, 107, .14), rgba(255, 237, 215, .03) 50%); }
.o-n { font-size: 18px; font-weight: 600; letter-spacing: -.03em; display: flex; align-items: center; gap: 10px; }
.badge { font: 600 11px/1 'Inter', sans-serif; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; background: linear-gradient(180deg, #fffaf1, #ffd9a8); color: #1a0e06; }
.o-p { font-size: 46px; line-height: 1; letter-spacing: -.06em; font-weight: 500; margin: 10px 0 12px; background: linear-gradient(180deg, #fff, #ffd9ab); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .06em; }
.note { margin-top: 20px; font-size: 14.5px; color: var(--cream-60); max-width: 60em; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 22px; background: var(--glass); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(255, 179, 107, .38); background: linear-gradient(180deg, rgba(255, 237, 215, .09), rgba(255, 237, 215, .03)); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-size: clamp(17px, 1.6vw, 21px); font-weight: 500; letter-spacing: -.03em; line-height: 1.25; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; width: 30px; height: 30px; margin-top: -15px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); font-size: 20px; line-height: 1; color: var(--cream); transition: transform .3s; }
.faq details[open] summary::after { content: '–'; transform: rotate(180deg); background: linear-gradient(180deg, #fffaf1, #ffe0b4); color: #1a0e06; border-color: transparent; }
.faq details p { padding: 0 24px 22px; color: var(--cream-80); font-size: 16.5px; max-width: 52em; }
.p-cta { margin: clamp(20px, 4vh, 48px) 0; padding: clamp(28px, 5vw, 60px); text-align: left; border: 1px solid var(--line-2); border-radius: 32px; background: linear-gradient(110deg, rgba(255, 179, 107, .16), rgba(255, 237, 215, .03) 60%); }
.p-cta h2 { margin-bottom: 14px; max-width: 18em; }
.p-cta p { color: var(--cream-80); max-width: 36em; margin-bottom: 26px; }
.p-more { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.p-more h2 { font-size: clamp(24px, 2.4vw, 34px); margin-bottom: 18px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { display: inline-block; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 99px; background: rgba(255, 237, 215, .04); text-decoration: none; font-size: 14.5px; transition: background .3s, border-color .3s; }
.pills a:hover { background: rgba(255, 179, 107, .14); border-color: rgba(255, 179, 107, .5); }
.guide-list li + li { margin-top: 10px; }
.guide-list a { font-size: 16.5px; }

/* guides : texte courant */
.prose { max-width: 46em; margin-top: 12px; }
.prose section { padding: 0 0 28px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 36px); margin: 18px 0 14px; }
.prose p, .prose li { font-size: 18px; line-height: 1.65; color: var(--cream-80); }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { margin: 14px 0; display: grid; gap: 10px; padding-left: 22px; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li::marker { color: var(--amber); }
.prose strong { color: var(--cream); font-weight: 600; }
.prose a { color: var(--amber); }

/* ---------- pied de page ---------- */
.foot { border-top: 1px solid var(--line); margin-top: 40px; padding: 48px var(--pad) 90px; }
.foot-cols { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.foot-t { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.foot-cols li + li { margin-top: 8px; }
.foot-cols a { font-size: 15px; color: var(--cream-80); text-decoration: none; }
.foot-cols a:hover { color: var(--cream); text-decoration: underline; }
.foot-bot { max-width: 1180px; margin: 36px auto 0; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--cream-60); }
.foot-bot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-bot a { text-decoration: none; }
.foot-bot a:hover { text-decoration: underline; }

/* barre d'action mobile */
.dock-m { display: none; }
@media (max-width: 900px) {
  .links a:not(.btn) { display: none; }
  .p-more, .foot-cols { grid-template-columns: 1fr; }
  .dock-m { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 95; display: flex; gap: 10px; }
  .dock-m .btn { flex: 1; height: 50px; }
  .dock-m .btn.ghost { background: rgba(14, 8, 4, .9); }
  .btn.cta.lg { width: 100%; }
  .cta-row .btn { flex: 1 1 100%; }
  .ex-box .btn { width: 100%; }
  .foot { padding-bottom: 110px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition-duration: .01ms !important; } }
