/* TrouverArtisan.be — design system
   Palette: deep petrol + construction amber on warm paper.
   Type: Georgia (editorial display for headings & guides) + system sans (UI/body). */

:root{
  --ink:#15272c;
  --brand:#0e3a46;
  --brand-2:#14535f;
  --accent:#ef9d17;
  --accent-dark:#c97d06;
  --trust:#1c7a5b;
  --paper:#fbfbf8;
  --surface:#ffffff;
  --surface-2:#f4f5f1;
  --muted:#586a6e;
  --line:#e5e8e3;
  --line-2:#d6dad4;
  --shadow-sm:0 1px 2px rgba(20,40,46,.06),0 2px 8px rgba(20,40,46,.05);
  --shadow-md:0 6px 24px rgba(14,58,70,.10);
  --radius:14px;
  --radius-sm:9px;
  --maxw:1160px;
  --font-serif:Georgia,"Iowan Old Style","Times New Roman",serif;
  --font-sans:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--font-sans);
  color:var(--ink);
  background:var(--paper);
  line-height:1.65;
  font-size:17px;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
svg:not([width]){width:1.2em;height:1.2em;flex:none}
a{color:var(--brand-2);text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:var(--maxw);margin:0 auto;padding:0 22px}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* skip link */
.skip{position:absolute;left:-999px;top:0;background:var(--brand);color:#fff;padding:10px 16px;z-index:2000;border-radius:0 0 8px 0}
.skip:focus{left:0}

/* focus */
:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:4px}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:1000;background:rgba(251,251,248,.92);backdrop-filter:saturate(1.4) blur(8px);border-bottom:1px solid var(--line)}
.header-row{display:flex;align-items:center;gap:18px;height:66px}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:1.18rem;color:var(--brand);letter-spacing:-.01em}
.brand:hover{text-decoration:none}
.brand svg{width:30px;height:30px;flex:none}
.brand b{color:var(--accent-dark)}
.main-nav{margin-left:auto}
.main-nav ul{display:flex;align-items:center;gap:4px;list-style:none}
.main-nav a{color:var(--ink);font-weight:600;font-size:.98rem;padding:9px 13px;border-radius:8px}
.main-nav a:hover{background:var(--surface-2);text-decoration:none}
.header-cta{display:inline-flex;align-items:center;gap:7px;background:var(--accent);color:#3a2600;font-weight:700;padding:10px 16px;border-radius:9px;box-shadow:var(--shadow-sm)}
.header-cta:hover{background:var(--accent-dark);color:#fff;text-decoration:none}
.nav-toggle{display:none;margin-left:auto;background:none;border:1px solid var(--line-2);border-radius:9px;padding:9px 11px;cursor:pointer;color:var(--brand)}
.nav-toggle svg{width:22px;height:22px;display:block}

@media(max-width:880px){
  .main-nav{position:fixed;inset:66px 0 auto 0;background:var(--surface);border-bottom:1px solid var(--line);
    margin:0;display:none;box-shadow:var(--shadow-md)}
  .main-nav.open{display:block}
  .main-nav ul{flex-direction:column;align-items:stretch;gap:0;padding:8px 14px 16px}
  .main-nav a{padding:13px 8px;border-radius:0;border-bottom:1px solid var(--line)}
  .main-nav .header-cta{margin-top:12px;justify-content:center;border-bottom:none}
  .nav-toggle{display:inline-flex}
}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;gap:9px;font-weight:700;font-size:1.02rem;
  padding:14px 26px;border-radius:10px;cursor:pointer;border:0;transition:transform .12s ease,background .15s ease}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.btn-primary{background:var(--accent);color:#3a2600;box-shadow:var(--shadow-sm)}
.btn-primary:hover{background:var(--accent-dark);color:#fff}
.btn-ghost{background:var(--surface);color:var(--brand);border:1.5px solid var(--line-2)}
.btn-ghost:hover{border-color:var(--brand);background:var(--surface-2)}
.btn-lg{padding:16px 30px;font-size:1.08rem}
.btn svg{width:20px;height:20px}
.header-cta svg{width:17px;height:17px}

/* ---------- Hero ---------- */
.hero{position:relative;background:
   radial-gradient(120% 120% at 88% -10%,rgba(239,157,23,.16),transparent 46%),
   linear-gradient(158deg,#0e3a46 0%,#0c313b 60%,#0a2b33 100%);
  color:#eef4f3;overflow:hidden}
.hero:after{content:"";position:absolute;right:-140px;bottom:-140px;width:420px;height:420px;border-radius:50%;
  background:radial-gradient(circle,rgba(20,83,95,.55),transparent 70%);pointer-events:none}
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:52px;align-items:center;padding:74px 0 78px}
.hero h1{font-family:var(--font-serif);font-weight:700;font-size:clamp(2.1rem,4.6vw,3.35rem);
  line-height:1.08;letter-spacing:-.015em;color:#fff;margin-bottom:20px}
.hero p.lead{font-size:1.16rem;color:#cfe0dd;max-width:33ch;margin-bottom:30px}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.hero-note{margin-top:20px;font-size:.94rem;color:#a9c4c0;display:flex;align-items:center;gap:8px}
.hero-note svg{width:18px;height:18px;color:var(--accent)}

/* trade picker card in hero */
.picker{background:var(--surface);color:var(--ink);border-radius:var(--radius);padding:24px;box-shadow:0 18px 50px rgba(6,26,31,.4)}
.picker h2{font-family:var(--font-sans);font-size:1.12rem;margin-bottom:4px}
.picker p{color:var(--muted);font-size:.93rem;margin-bottom:16px}
.picker label{display:block;font-weight:600;font-size:.86rem;margin-bottom:6px;color:var(--brand)}
.picker select{width:100%;font-size:1rem;font-family:inherit;padding:13px 14px;border:1.5px solid var(--line-2);
  border-radius:10px;background:var(--surface-2);color:var(--ink);margin-bottom:14px;appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230e3a46' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center}
.picker .btn{width:100%;justify-content:center}
.picker .reassure{margin-top:14px;display:flex;flex-wrap:wrap;gap:10px 16px;font-size:.85rem;color:var(--muted)}
.picker .reassure span{display:inline-flex;align-items:center;gap:6px}
.picker .reassure svg{width:15px;height:15px;color:var(--trust)}

@media(max-width:860px){
  .hero-grid{grid-template-columns:1fr;gap:34px;padding:52px 0 56px}
  .hero p.lead{max-width:none}
}

/* ---------- Trust strip ---------- */
.trust-strip{background:var(--brand);color:#d7e6e3}
.trust-strip .container{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:18px 22px}
.trust-strip .ti{text-align:center;padding:6px}
.trust-strip .ti b{display:block;font-family:var(--font-serif);font-size:1.5rem;color:#fff;line-height:1.1}
.trust-strip .ti span{font-size:.86rem;color:#a9c4c0}
@media(max-width:640px){.trust-strip .container{grid-template-columns:repeat(2,1fr);gap:14px 8px}}

/* ---------- Section scaffolding ---------- */
section{scroll-margin-top:80px}
.block{padding:66px 0}
.block-tint{background:var(--surface-2)}
.section-head{max-width:60ch;margin-bottom:38px}
.section-head.center{margin-inline:auto;text-align:center}
.eyebrow{display:inline-block;font-weight:700;font-size:.82rem;letter-spacing:.04em;color:var(--accent-dark);margin-bottom:10px}
h2.section-title{font-family:var(--font-serif);font-weight:700;font-size:clamp(1.6rem,3vw,2.2rem);line-height:1.15;letter-spacing:-.01em;color:var(--brand)}
.section-head p{color:var(--muted);font-size:1.06rem;margin-top:12px}

/* ---------- Category groups & cards ---------- */
.cat-group{margin-bottom:46px}
.cat-group:last-child{margin-bottom:0}
.cat-group > h3{font-size:1.02rem;font-weight:800;color:var(--brand);letter-spacing:.01em;
  display:flex;align-items:center;gap:12px;margin-bottom:18px;padding-bottom:12px;border-bottom:1px solid var(--line-2)}
.cat-group > h3:before{content:"";width:22px;height:3px;background:var(--accent);border-radius:2px}
.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(248px,1fr));gap:16px}
.cat-card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius);padding:22px 20px;box-shadow:var(--shadow-sm);
  transition:border-color .15s ease,box-shadow .15s ease,transform .12s ease}
.cat-card:hover{text-decoration:none;border-color:var(--brand-2);box-shadow:var(--shadow-md);transform:translateY(-2px)}
.cat-card .ic{width:44px;height:44px;border-radius:11px;background:#eef4f2;color:var(--brand);
  display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.cat-card .ic svg{width:24px;height:24px}
.cat-card h4{font-size:1.08rem;color:var(--ink);margin-bottom:6px}
.cat-card p{color:var(--muted);font-size:.92rem;line-height:1.5;flex:1}
.cat-card .go{margin-top:14px;font-weight:700;font-size:.9rem;color:var(--accent-dark);display:inline-flex;align-items:center;gap:6px}
.cat-card:hover .go{color:var(--brand)}
.cat-card .go svg{width:15px;height:15px;transition:transform .15s ease}
.cat-card:hover .go svg{transform:translateX(3px)}

/* ---------- Steps (how it works) ---------- */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;counter-reset:step}
.step{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:28px 24px;position:relative}
.step:before{counter-increment:step;content:counter(step);position:absolute;top:-16px;left:24px;
  width:38px;height:38px;background:var(--brand);color:#fff;border-radius:50%;
  display:flex;align-items:center;justify-content:center;font-family:var(--font-serif);font-size:1.2rem;font-weight:700}
.step h3{font-size:1.12rem;margin:12px 0 8px;color:var(--brand)}
.step p{color:var(--muted);font-size:.96rem}
@media(max-width:760px){.steps{grid-template-columns:1fr;gap:32px}}

/* ---------- Feature / why cards ---------- */
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.why{padding:6px}
.why .ic{width:46px;height:46px;border-radius:12px;background:var(--brand);color:var(--accent);
  display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.why .ic svg{width:24px;height:24px}
.why h3{font-size:1.08rem;color:var(--ink);margin-bottom:7px}
.why p{color:var(--muted);font-size:.95rem}
@media(max-width:860px){.why-grid{grid-template-columns:repeat(2,1fr);gap:26px}}
@media(max-width:480px){.why-grid{grid-template-columns:1fr}}

/* ---------- Breadcrumb ---------- */
.crumbs{font-size:.88rem;color:var(--muted);padding:18px 0 0}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.crumbs li{display:flex;align-items:center;gap:8px}
.crumbs li+li:before{content:"›";color:var(--line-2)}
.crumbs a{color:var(--brand-2)}

/* ---------- Category page ---------- */
.cat-hero{background:linear-gradient(160deg,#0e3a46,#0b2f38);color:#eef4f3;padding:26px 0 42px}
.cat-hero h1{font-family:var(--font-serif);font-weight:700;font-size:clamp(1.9rem,3.8vw,2.7rem);line-height:1.1;color:#fff;margin:12px 0 12px;max-width:20ch}
.cat-hero p{color:#cfe0dd;font-size:1.1rem;max-width:60ch}
.cat-hero .crumbs{color:#a9c4c0;padding-top:0}
.cat-hero .crumbs a{color:#cfe0dd}
.cat-hero .crumbs li+li:before{color:#4d7078}

.cat-body{padding:44px 0 40px}
.cat-layout{display:grid;grid-template-columns:1fr 340px;gap:44px;align-items:start}
@media(max-width:960px){.cat-layout{grid-template-columns:1fr;display:flex;flex-direction:column}
  .cat-layout>aside{order:-1}}

/* quote form card */
.quote-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow-md);overflow:hidden;position:sticky;top:82px}
.quote-card .qc-head{background:linear-gradient(135deg,var(--accent),#f6b23e);padding:20px 22px;color:#3a2600}
.quote-card .qc-head h2{font-family:var(--font-sans);font-size:1.14rem;line-height:1.25}
.quote-card .qc-head p{font-size:.9rem;margin-top:5px;color:#5c3f00}
.quote-card .qc-body{padding:8px 8px 4px}
.quote-frame{width:100%;min-height:560px;border:0;display:block;border-radius:8px}
.quote-card .qc-foot{display:flex;flex-wrap:wrap;gap:8px 16px;padding:14px 20px 18px;border-top:1px solid var(--line);font-size:.85rem;color:var(--muted)}
.quote-card .qc-foot span{display:inline-flex;align-items:center;gap:6px}
.quote-card .qc-foot svg{width:15px;height:15px;color:var(--trust)}
@media(max-width:960px){.quote-card{position:static}.quote-frame{min-height:640px}}

/* article (guide) content */
.article{max-width:70ch}
.article h2{font-family:var(--font-serif);font-weight:700;font-size:1.62rem;line-height:1.2;color:var(--brand);
  margin:8px 0 16px;letter-spacing:-.01em}
.article h3{font-family:var(--font-serif);font-weight:700;font-size:1.24rem;color:var(--ink);margin:30px 0 10px}
.article p{margin:0 0 16px;color:#33454a}
.article ul,.article ol{margin:0 0 18px 1.2em;color:#33454a}
.article li{margin-bottom:7px}
.article strong{color:var(--ink)}
.article a{color:var(--brand-2);text-decoration:underline;text-underline-offset:2px}
.article table{width:100%;border-collapse:collapse;margin:8px 0 24px;font-size:.95rem;
  border:1px solid var(--line-2);border-radius:10px;overflow:hidden}
.article th{background:var(--brand);color:#fff;text-align:left;padding:11px 14px;font-weight:600;font-size:.9rem}
.article td{padding:11px 14px;border-top:1px solid var(--line)}
.article tr:nth-child(even) td{background:var(--surface-2)}
.article .warning-box,.article .highlight-box{border-radius:12px;padding:16px 18px;margin:0 0 22px;
  font-size:.96rem;line-height:1.6}
.article .warning-box{background:#fff6e6;border:1px solid #f3d191;border-left:4px solid var(--accent);color:#5a4200}
.article .highlight-box{background:#eef6f3;border:1px solid #c3e0d6;border-left:4px solid var(--trust);color:#14453a}
.article .warning-box strong,.article .highlight-box strong{color:inherit}
.article .warning-box>*:last-child,.article .highlight-box>*:last-child{margin-bottom:0}

/* callout / sources */
.callout{background:#eef4f2;border:1px solid #d5e4e0;border-left:4px solid var(--trust);
  border-radius:10px;padding:18px 20px;margin:26px 0}
.callout h3{font-family:var(--font-sans);font-size:1.02rem;color:var(--brand);margin:0 0 8px;display:flex;align-items:center;gap:8px}
.callout h3 svg{width:19px;height:19px;color:var(--trust)}
.callout p{font-size:.95rem;margin:0 0 8px;color:#33454a}
.callout p:last-child{margin-bottom:0}
.sources-list{list-style:none;margin:6px 0 0!important;padding:0!important}
.sources-list li{margin-bottom:9px!important;padding-left:22px;position:relative;font-size:.95rem}
.sources-list li:before{content:"↗";position:absolute;left:0;color:var(--accent-dark);font-weight:700}
.sources-list a{font-weight:600}
.sources-list em{color:var(--muted);font-style:normal;font-size:.88rem}

/* FAQ accordion */
.faq{margin-top:14px}
.faq-item{border:1px solid var(--line);border-radius:11px;margin-bottom:12px;background:var(--surface);overflow:hidden}
.faq-item[open]{border-color:var(--brand-2)}
.faq-item summary{list-style:none;cursor:pointer;padding:17px 20px;font-weight:600;color:var(--ink);
  display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:1.02rem}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary:hover{background:var(--surface-2)}
.faq-item summary .chev{flex:none;width:20px;height:20px;color:var(--brand-2);transition:transform .2s ease}
.faq-item[open] summary .chev{transform:rotate(180deg)}
.faq-item .faq-a{padding:0 20px 18px;color:#33454a;font-size:.98rem}

/* related */
.related{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;margin-top:16px}
.related a{display:flex;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--line);
  border-radius:10px;padding:13px 15px;font-weight:600;font-size:.95rem;color:var(--ink)}
.related a:hover{border-color:var(--brand-2);text-decoration:none;background:var(--surface-2)}
.related a svg{width:18px;height:18px;color:var(--brand-2);flex:none}

/* mid-page cta band */
.cta-band{background:linear-gradient(150deg,#0e3a46,#123f4b);color:#eef4f3;border-radius:var(--radius);
  padding:34px 32px;margin:40px 0 0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px}
.cta-band h3{font-family:var(--font-serif);font-size:1.5rem;color:#fff;margin-bottom:6px}
.cta-band p{color:#cfe0dd;font-size:1rem;max-width:46ch}

/* legal / prose page */
.prose{max-width:78ch;margin:0 auto;padding:8px 0 20px}
.prose h1{font-family:var(--font-serif);font-size:2rem;color:var(--brand);margin-bottom:6px;padding-bottom:14px;border-bottom:2px solid var(--accent)}
.prose .updated{color:var(--muted);font-size:.9rem;margin-bottom:24px}
.prose h2{font-family:var(--font-serif);font-size:1.3rem;color:var(--ink);margin:28px 0 10px}
.prose h3{font-size:1.05rem;color:var(--brand);margin:18px 0 8px}
.prose p,.prose li{color:#33454a;margin-bottom:12px}
.prose ul{margin:0 0 14px 1.3em}
.prose a{color:var(--brand-2);text-decoration:underline}

/* contact */
.contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin-top:10px}
.contact-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:26px 24px;box-shadow:var(--shadow-sm)}
.contact-card .ic{width:44px;height:44px;border-radius:11px;background:#eef4f2;color:var(--brand);display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.contact-card .ic svg{width:23px;height:23px}
.contact-card h3{font-size:1.06rem;margin-bottom:6px}
.contact-card p{color:var(--muted);font-size:.96rem}
.contact-card a{font-weight:700}

/* ---------- Footer ---------- */
.site-footer{background:#0b2f38;color:#bcd2ce;padding:56px 0 30px;margin-top:20px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.1fr;gap:34px}
.site-footer h3{color:#fff;font-size:1.04rem;margin-bottom:14px}
.site-footer .brand-f{display:flex;align-items:center;gap:9px;font-weight:800;font-size:1.16rem;color:#fff;margin-bottom:12px}
.site-footer .brand-f svg{width:26px;height:26px}
.site-footer p{font-size:.93rem;line-height:1.6;color:#a9c4c0;margin-bottom:8px}
.site-footer ul{list-style:none}
.site-footer li{margin-bottom:9px}
.site-footer a{color:#bcd2ce;font-size:.93rem}
.site-footer a:hover{color:#fff}
.foot-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.foot-badges span{display:inline-flex;align-items:center;gap:6px;font-size:.82rem;background:rgba(255,255,255,.06);
  padding:6px 10px;border-radius:20px;color:#cfe0dd}
.foot-badges svg{width:14px;height:14px;color:var(--accent)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:38px;padding-top:22px;
  display:flex;flex-wrap:wrap;gap:10px 24px;justify-content:space-between;font-size:.86rem;color:#8fb0ab}
.footer-bottom a{color:#8fb0ab}
@media(max-width:860px){.footer-grid{grid-template-columns:1fr 1fr;gap:30px}}
@media(max-width:520px){.footer-grid{grid-template-columns:1fr}}

@media(prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
