/* page.css — shared shell for EnAffaire content pages (feature pages, guides).
   Extracted from the landing-page <style> block in index.php so the feature pages
   don't triplicate it. Design tokens (--bg, --ink, --brand, --line, --radius…)
   still come from assets/style.css, which must be linked FIRST.

   index.php and local-seo.html deliberately keep their own inline copies — this
   file is additive and does not change either of them. */

body.lp{background:var(--bg);display:block;min-height:0}
.lp-wrap{max-width:1080px;margin:0 auto;padding:0 20px}

/* Header */
.lp-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.92);
  backdrop-filter:saturate(1.4) blur(8px);border-bottom:1px solid var(--line)}
.lp-header .lp-wrap{display:flex;align-items:center;gap:14px;padding:9px 20px}
.brand{display:flex;align-items:center;gap:9px;margin-right:auto;text-decoration:none}
.brand img{width:34px;height:34px;display:block;border-radius:8px}
.brand .wordmark{font-size:1.9rem;margin:0;line-height:1;text-align:left}
.lp-header .login{font-weight:600;font-size:.95rem;border:1px solid var(--line);
  background:#fff;border-radius:999px;padding:.5rem 1.15rem;color:var(--brand-d)}
.lp-header .login:hover{border-color:var(--brand);text-decoration:none}
/* Language switcher — sits between the wordmark and Log in. */
.lp-header .langsw{font-weight:600;font-size:.92rem;color:var(--brand-d);
  padding:.5rem .55rem;white-space:nowrap}
.lp-header .langsw:hover{text-decoration:underline}
@media(max-width:420px){
  .lp-header .lp-wrap{gap:8px}
  .lp-header .langsw{padding:.5rem .25rem;font-size:.86rem}
}


/* Buttons */
.btn-cta.lg{font-size:1.05rem;padding:.9rem 1.9rem;margin:0}
.btn-cta.block{display:inline-block}
.btn-ghost{display:inline-block;font-weight:600;padding:.9rem 1.6rem;border-radius:999px;
  border:1px solid var(--line);background:#fff;color:var(--brand-d)}
.btn-ghost:hover{border-color:var(--brand);text-decoration:none}

/* Breadcrumbs */
.crumbs{max-width:1080px;margin:0 auto;padding:14px 20px 0;font-size:.86rem;color:var(--muted)}
.crumbs a{color:var(--brand-d)}
.crumbs span[aria-current]{color:var(--muted)}

/* Hero */
.hero-lp{text-align:center;padding:44px 20px 50px;
  background:radial-gradient(1200px 400px at 50% -80px,#e9f0ff 0%,var(--bg) 60%)}
.hero-lp h1{font-size:clamp(1.85rem,5vw,2.85rem);line-height:1.12;max-width:20ch;margin:.1em auto .3em}
.hero-lp .sub{font-size:1.13rem;max-width:58ch;margin:0 auto 1.5em;color:var(--muted)}
.hero-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.hero-note{display:block;margin-top:1rem;color:var(--muted);font-size:.9rem}

/* Sections */
.section{padding:54px 0;border-top:1px solid var(--line)}
.section.white{background:#fff}
.section h2{font-size:clamp(1.4rem,3.8vw,1.95rem);text-align:center;margin:0 0 .3em}
.section .lead{color:var(--muted);text-align:center;max-width:60ch;margin:0 auto 32px;font-size:1.04rem}

/* Prose — the body copy of a content page */
.prose{max-width:68ch;margin:0 auto;font-size:1.03rem;line-height:1.68}
.prose p{margin:0 0 1.05em;color:var(--ink)}
.prose h3{font-size:1.16rem;margin:1.8em 0 .5em}
.prose ul{margin:0 0 1.15em;padding-left:1.25em;color:var(--ink)}
.prose li{margin:.4em 0}
.prose .note{color:var(--muted);font-size:.95rem}

/* Four-step "how it works" — same component as the homepage, minus the phone mockup.
   Numbers use --brand (#2f6df6). The gold #B8860B is wordmark-only per style.css. */
.steps{display:grid;gap:16px;max-width:68ch;margin:0 auto}
.step{background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:18px 20px;display:grid;grid-template-columns:38px 1fr;gap:14px;align-items:start}
.section.white .step{background:var(--bg)}
.step .n{width:38px;height:38px;border-radius:50%;background:var(--brand);color:#fff;
  display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.05rem}
.step h3{margin:.25em 0 .25em;font-size:1.1rem}
.step p{margin:0;color:var(--muted);font-size:.97rem}

/* Minimal footer — one link back to the site, plus the legal line. */
.foot-min{max-width:1080px;margin:0 auto;text-align:center}
.foot-min .wordmark{font-size:2rem;margin:0 0 .1em}
.foot-min p{margin:.2em 0;color:var(--muted)}
.foot-min a{color:var(--brand-d)}

/* Three-up cards */
.feat{display:grid;gap:18px;grid-template-columns:repeat(3,1fr)}
.feat .card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px}
.section.white .feat .card{background:var(--bg)}
.feat .ic{font-size:1.5rem;line-height:1;margin-bottom:10px;display:block}
.feat h3{margin:.1em 0 .3em;font-size:1.1rem}
.feat p{margin:0;color:var(--muted);font-size:.96rem}

/* Price strip */
.pricebar{max-width:68ch;margin:0 auto;background:#fff;border:1px solid var(--line);
  border-radius:var(--radius);padding:22px 24px;text-align:center}
.pricebar .big{font-size:1.5rem;font-weight:700;color:var(--brand-d);display:block;margin-bottom:.2em}
.pricebar p{margin:.35em 0 0;color:var(--muted);font-size:.96rem}
.pricebar .cta{margin-top:1.1rem}

/* Related links */
.related{max-width:68ch;margin:0 auto;display:grid;gap:12px}
.related a{display:block;background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:15px 18px;font-weight:600;color:var(--brand-d)}
.related a:hover{border-color:var(--brand);text-decoration:none}
.related a span{display:block;font-weight:400;color:var(--muted);font-size:.93rem;margin-top:.2em}

/* Footer CTA + site footer */
.foot-cta{text-align:center;padding:60px 20px;
  background:radial-gradient(1000px 340px at 50% 120%,#e9f0ff 0%,#fff 60%);border-top:1px solid var(--line)}
.foot-cta h2{font-size:clamp(1.5rem,4vw,2.1rem);margin:0 0 .25em}
.foot-cta .sub{color:var(--muted);margin:0 auto 1.4em;max-width:46ch}
.foot-links{margin-top:1rem;color:var(--muted);font-size:.92rem}
.site-foot{background:#fff;border-top:1px solid var(--line);padding:38px 20px 30px;font-size:.9rem}
.foot-cols{display:grid;gap:26px;grid-template-columns:1.4fr 1fr 1fr;max-width:1080px;margin:0 auto}
.foot-cols h4{margin:0 0 .6em;font-size:.82rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.foot-cols p{margin:.25em 0;color:var(--muted)}
.foot-cols a{color:var(--brand-d)}
.foot-brand .wordmark{font-size:2rem;text-align:left;margin:0 0 .2em}
.foot-legal{max-width:1080px;margin:26px auto 0;padding-top:18px;border-top:1px solid var(--line);
  color:var(--muted);font-size:.82rem;text-align:center}

@media(max-width:900px){
  .feat{grid-template-columns:repeat(2,1fr)}
  .foot-cols{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .feat{grid-template-columns:1fr}
  .foot-cols{grid-template-columns:1fr}
  .brand .wordmark{font-size:1.6rem}
  .section{padding:44px 0}
  .hero-lp{padding:30px 18px 40px}
}

/* FAQ — native <details>, no JS. Answers stay in the DOM when collapsed so the
   FAQPage schema below always matches visible page text. */
#faq{scroll-margin-top:64px}   /* clears the sticky header on an #faq anchor link */
.faq{max-width:70ch;margin:0 auto;display:grid;gap:12px}
.faq details{background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:0 20px}
.section.white .faq details{background:var(--bg)}
.faq summary{cursor:pointer;font-weight:600;font-size:1.04rem;padding:17px 0;
  list-style:none;display:flex;justify-content:space-between;align-items:center;gap:14px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-weight:700;font-size:1.35rem;line-height:1;
  color:var(--brand);flex:none}
.faq details[open] summary::after{content:"\2212"}
.faq details[open] summary{border-bottom:1px solid var(--line)}
.faq .faq-a{padding:2px 0 18px}
.faq .faq-a p{margin:.7em 0 0;color:var(--muted);font-size:.99rem;line-height:1.62}

/* Hero price line + signup QR — homepage only. Ported from index.php so /fr/
   is not a reduced copy of the English homepage. */
.hero-price{max-width:54ch;margin:-.9em auto 1.5em;color:var(--brand-d);font-weight:600;font-size:1.02rem}
/* Signup QR — so Ron can hold up his phone and a customer scans it to reach signup.
   Mobile-first: large + prominent. Desktop: smaller (only useful over-the-shoulder). */
.hero-qr{margin:1.5rem auto 0;display:inline-flex;flex-direction:column;align-items:center;gap:.5rem;
  background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px 14px 11px;
  box-shadow:0 8px 24px rgba(32,48,74,.10)}
.hero-qr img{width:196px;height:196px;display:block}
.hero-qr .cap{font-weight:700;color:var(--brand-d);font-size:1rem}
@media(min-width:760px){
  .hero-qr{margin-top:1.3rem;padding:11px 11px 9px}
  .hero-qr img{width:120px;height:120px}
  .hero-qr .cap{font-size:.85rem}
}

/* How it works: steps beside the sample-page mockup (homepage only) */
.hiw{display:grid;gap:38px;grid-template-columns:1fr 320px;align-items:center}
.hiw .steps{max-width:none;margin:0}

/* Phone mockup */
.phone{width:300px;max-width:86vw;margin:0 auto;background:#0e1420;border-radius:46px;padding:14px 12px;
  box-shadow:0 24px 60px rgba(20,30,50,.30),inset 0 0 0 2px #29344a;position:relative}
.phone::before{content:"";position:absolute;top:6px;left:50%;transform:translateX(-50%);
  width:46px;height:5px;border-radius:3px;background:#29344a}
.phone-screen{background:#fff;border-radius:34px;overflow:hidden}
.ps-bar{display:flex;align-items:center;justify-content:center;gap:6px;
  padding:9px 12px;background:#f3f5f9;border-bottom:1px solid var(--line);font-size:.72rem;color:var(--muted)}
.ps-bar svg{width:11px;height:11px;opacity:.55;flex:none}
.mock-hero{background:linear-gradient(135deg,#20304a,#33507d);color:#fff;text-align:center;padding:26px 16px}
.mock-hero .mh-name{font-size:1.25rem;font-weight:700;line-height:1.15}
.mock-hero .mh-tag{opacity:.92;font-size:.82rem;margin-top:.3rem}
.mock-tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px}
.mock-tile{margin:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
.mock-tile.wide{grid-column:1 / -1}
.mock-tile img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;display:block}
.mock-tile.wide img{aspect-ratio:16/7}
.mock-tile .mt-cap{display:flex;justify-content:space-between;gap:6px;align-items:baseline;padding:.5rem .6rem;font-size:.8rem}
.mock-tile .mt-cap b{color:var(--brand-d);white-space:nowrap}
.mock-foot{text-align:center;font-size:.66rem;color:var(--muted);padding:0 0 12px}
.proof-note{text-align:center;color:var(--muted);font-size:.86rem;margin:18px 0 0}

@media(max-width:900px){ .hiw{grid-template-columns:1fr} }

/* The last tile stands alone on its own row; keep it under the middle column
   at every width instead of stranded on the left. */
.feat .card.solo{grid-column:2}
@media(max-width:900px){
  .feat .card.solo{grid-column:1 / -1;justify-self:center;width:calc(50% - 9px)}
}
@media(max-width:620px){
  .feat .card.solo{grid-column:auto;justify-self:auto;width:auto}
}
