/* 01 · Votre métier : l'évolution directe du template 04.
   Même ossature (en-tête capsule, titre centré, exemples par métier),
   un seul ton de titre, des colonnes reliées plutôt que des cartes identiques. */
:root {
  --paper: #fffdf8;
  --ink: #18233d;
  --muted: #5b6273;
  --line: #e9e1cf;
  --belly: #f7efdb;
  --yellow: #f6c03c;
  --gold: #8a5a10;
  --navy: #1c2a4a;
  --star-off: #d9d2c1;
  --head: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --max: 1160px;
  --gut: clamp(16px, 4vw, 32px);
}

body { background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; }
section { padding-inline: var(--gut); }
section > * { max-width: var(--max); margin-inline: auto; }

.btn {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 600; text-decoration: none;
  transition: background-color .15s;
}
.btn:hover { background: #2b3a5e; }
.btn-light { background: var(--yellow); color: var(--ink); }
.btn-light:hover { background: #ffd35f; }
.link { color: var(--ink); font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 1.5px; text-decoration-color: var(--yellow); }
.link:hover { text-decoration-color: var(--ink); }
.small { font-size: 14px; color: var(--muted); }

/* En-tête capsule */
.top { position: sticky; top: 0; z-index: 20; padding: 14px var(--gut) 0; }
.top-bar {
  display: flex; align-items: center; gap: 24px; max-width: 1080px; margin: 0 auto;
  padding: 8px 8px 8px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px var(--line), 0 10px 30px -22px rgba(24, 35, 61, .5);
}
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 700 21px/1 var(--head); letter-spacing: -0.03em; color: var(--ink); }
.brand img { width: 34px; }
.brand b { color: var(--yellow); }
.top-nav { display: flex; gap: 4px; margin-left: auto; }
.top-nav a { padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; }
.top-nav a:hover { background: var(--belly); }
.top-cta { padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; }
.menu { display: none; margin-left: auto; }

/* Hero centré */
.hero { padding-top: clamp(64px, 10vw, 120px); padding-bottom: 56px; text-align: center; }
.hero h1 { max-width: 12.5em; font-size: clamp(2.8rem, 7.6vw, 5.75rem); font-weight: 750; line-height: .96; letter-spacing: -0.045em; }
.hero-lead { max-width: 58ch; margin-top: 28px; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; margin-top: 36px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Exemples par métier */
.trades { padding-bottom: 96px; }
.trades > .trade-tabs, .trades > .trade-panel { max-width: 1120px; }
.trade-tabs {
  display: flex; gap: 6px; padding: 6px; width: max-content; max-width: 100%; overflow-x: auto;
  border-radius: 999px; background: var(--belly); scrollbar-width: none;
}
.trade-tabs::-webkit-scrollbar { display: none; }
.trade-tabs button {
  flex: none; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px;
  background: transparent; font-size: 15px; font-weight: 600; color: var(--ink);
}
.trade-tabs button:hover { background: rgba(255, 255, 255, .7); }
.trade-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }

.trade-panel {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; margin-top: 18px;
  border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line);
}
.trade-panel.swap .trade-col > :not(h3) { animation: swap .28s ease-out; }
@keyframes swap { from { opacity: .25; } to { opacity: 1; } }
.trade-col { padding: 30px 28px 32px; }
.trade-col + .trade-col { border-left: 1px solid var(--line); }
.trade-col h3 { margin-bottom: 18px; font: 600 14px/1.3 var(--body); letter-spacing: 0; color: var(--gold); }
.trade-col p { font-size: 15.5px; color: var(--muted); }

.gcard { padding: 16px 18px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); background: #fff; }
.gcard p { margin-top: 10px; font-size: 15.5px; color: var(--ink); }
.gcard-head { display: flex; align-items: center; gap: 10px; }
.gcard-head strong { display: block; font-size: 15px; line-height: 1.2; }
.avatar { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #2f5d50; color: #fff; font-weight: 600; font-size: 15px; }
.stars { color: #f2b01e; font-size: 14px; letter-spacing: 1px; }
.stars i { font-style: normal; color: var(--star-off); }
.reply { position: relative; margin: 14px 0 0 22px; padding: 14px 16px; border-radius: 14px 14px 14px 4px; background: var(--belly); }
.reply p { font-size: 15px; color: var(--ink); }
.reply-tag { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--gold); }

.ask-moment { margin-bottom: 10px; font: 700 clamp(1.6rem, 2.4vw, 2rem)/1.05 var(--head) !important; letter-spacing: -0.03em; color: var(--ink) !important; }
.qr-mini {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; padding: 12px 16px 12px 12px;
  border-radius: 12px; background: var(--ink); color: #fff; transform: rotate(-2deg);
}
.qr-mini svg { width: 54px; padding: 4px; border-radius: 6px; background: #fff; color: var(--ink); }
.qr-mini span { font-size: 14px; font-weight: 600; }
.plan-hint { margin-top: 18px; font-size: 13.5px !important; }

.search { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 999px; background: var(--belly); color: var(--ink) !important; font-weight: 500; }
.search svg { width: 18px; flex: none; }
.mini-site { margin: 14px 0 16px; padding: 16px 18px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.mini-site strong { font: 700 20px/1.1 var(--head); letter-spacing: -0.02em; }
.mini-site ul { margin: 12px 0 0; padding: 0; list-style: none; }
.mini-site li { padding: 7px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.mini-site li:last-child { font-weight: 600; }
.trades-note { margin-top: 14px; text-align: center; font-size: 13px; color: var(--muted); }

/* Répondre aux avis */
.reviews { padding-block: 96px; border-top: 1px solid var(--line); }
.reviews > * { max-width: none; }
.reviews { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: center; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; }
.reviews h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.reviews-text > p { margin-top: 22px; max-width: 50ch; color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.facts div { max-width: 13ch; }
.facts dt { font: 700 2.2rem/1 var(--head); letter-spacing: -0.03em; }
.facts dd { margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--muted); }

.anatomy { padding: clamp(20px, 3vw, 32px); border-radius: 24px; background: var(--belly); }
.gcard-lg p { font-size: 16.5px; }
.anatomy .avatar { background: #7a4b8f; }
.anatomy-reply { margin: 16px 0 0 28px; padding: 18px 20px; border-radius: 14px 14px 14px 4px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.anatomy-reply p { font-size: 16px; line-height: 1.75; }
.anatomy-reply mark { padding: 1px 2px; border-radius: 3px; background: #fde7a4; color: inherit; }
.anatomy-reply mark::after {
  content: attr(data-n); display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 4px;
  border-radius: 50%; background: var(--ink); color: #fff; font: 700 11px/1 var(--body); vertical-align: 2px;
}
.anatomy figcaption ol { display: grid; gap: 8px; margin: 18px 0 0 28px; padding: 0; list-style: none; font-size: 15px; }
.anatomy figcaption b { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; }

/* Demander des avis */
.ask { padding-block: 96px; background: var(--navy); color: #fff; }
.ask-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px 72px; align-items: end; }
.ask h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.ask-head p { color: #c9d0e0; }
.visit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 64px; padding: 0; list-style: none; }
.visit li { position: relative; padding: 34px 32px 0 0; border-top: 2px solid #3a4b73; }
.visit li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); }
.visit-when { font-size: 14px; font-weight: 600; color: var(--yellow); }
.visit h3 { margin-top: 10px; font-size: 1.5rem; }
.visit p { margin-top: 10px; max-width: 34ch; color: #c9d0e0; font-size: 16px; }
.visit-plan { display: inline-block; margin-top: 18px; padding: 5px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px #4c5d86; font-size: 13px; color: #e3e8f2; }

/* Le site */
.site { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-block: 104px; }
.site > * { max-width: none; margin: 0; }
.site h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.site-text > p { margin-top: 20px; max-width: 48ch; color: var(--muted); }
.ticks { margin-top: 28px; padding: 0; display: grid; gap: 16px; }
.ticks li { padding-left: 16px; border-left: 2px solid var(--yellow); font-size: 16px; color: var(--muted); }
.ticks b { display: block; color: var(--ink); font-weight: 600; }

.browser { border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(24, 35, 61, .55); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--belly); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e0d5bc; }
.browser-bar span { margin-left: 12px; padding: 4px 14px; border-radius: 999px; background: #fff; font-size: 13px; color: var(--muted); }
.browser-body { padding: clamp(22px, 3vw, 36px); }
.bsite-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; font-size: 13px; color: var(--muted); }
.bsite-nav b { margin-right: auto; font: 700 17px/1 var(--head); color: var(--ink); }
.bsite-title { margin-top: 34px; max-width: 14ch; font: 700 clamp(1.7rem, 3vw, 2.4rem)/1.02 var(--head); letter-spacing: -0.035em; }
.bsite-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.bsite-btn { padding: 11px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; }
.bsite-hours { font-size: 14px; color: #2f6b4f; font-weight: 600; }
.bsite-widget { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 30px; padding: 14px 16px; border-radius: 12px; background: var(--belly); font-size: 14px; }

/* Maps et publications */
.more { display: grid; grid-template-columns: 1fr 1fr; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-bottom: 104px; }
.more > * { max-width: none; margin: 0; }
.more article { padding: 36px 40px 0 0; border-top: 1px solid var(--line); }
.more article + article { padding-left: 40px; border-left: 1px solid var(--line); }
.more h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.more p { margin-top: 14px; max-width: 46ch; color: var(--muted); }

/* Offres : un seul bloc, quatre colonnes */
.offers { padding-block: 96px; background: #fff; border-block: 1px solid var(--line); }
.offers-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 48px; }
.offers h2 { max-width: 18ch; font-size: clamp(2rem, 4vw, 3.1rem); }
.offers-head p { max-width: 36ch; color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 48px; border-radius: 24px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.plan { padding: 28px 24px 30px; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan-pro { background: var(--belly); }
.plan h3 { font-size: 1.45rem; }
.plan-price { margin-top: 14px; font-size: 14px; color: var(--muted); }
.plan-price strong { font: 700 2.6rem/1 var(--head); letter-spacing: -0.04em; color: var(--ink); margin-right: 4px; }
.plan-for { margin-top: 12px; min-height: 3.2em; font-size: 15px; font-weight: 600; line-height: 1.4; }
.plan ul { margin-top: 16px; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.plan li { font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.offers-foot { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px 72px; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-block: 96px; }
.faq > * { max-width: none; margin: 0; }
.faq h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 600; font-size: 17px; }
.qa summary::after { content: "+"; flex: none; font: 400 24px/1 var(--body); color: var(--gold); transition: transform .2s; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 40px 22px 0; color: var(--muted); }

/* Clôture */
.closing { padding-block: 0 96px; }
.closing { display: flex; align-items: center; gap: clamp(20px, 5vw, 64px); max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; }
.closing > * { margin: 0; max-width: none; }
.closing img { width: clamp(120px, 18vw, 210px); flex: none; }
.closing h2 { max-width: 18ch; font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: 26px; }

.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 32px var(--gut) 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { text-decoration: none; color: var(--ink); }
.foot nav a:hover { text-decoration: underline; }
.foot p { margin-left: auto; max-width: 40ch; }

@media (max-width: 1000px) {
  .top-nav { display: none; }
  .top-cta { margin-left: auto; }
  .menu { display: block; margin-left: 0; }
  .trade-panel { grid-template-columns: 1fr 1fr; }
  .trade-review { grid-column: 1 / -1; }
  .trade-col + .trade-col { border-left: 0; }
  .trade-ask { border-top: 1px solid var(--line); }
  .trade-site { border-top: 1px solid var(--line); border-left: 1px solid var(--line) !important; }
  .plans { grid-template-columns: 1fr 1fr; }
  .plan:nth-child(3) { border-left: 0; }
  .plan:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .reviews, .site, .faq, .ask-head { grid-template-columns: 1fr; }
  .site .browser { order: 2; }
  .visit { grid-template-columns: 1fr; gap: 36px; border-left: 2px solid #3a4b73; margin-left: 6px; }
  .visit li { border-top: 0; padding: 0 0 0 26px; }
  .visit li::before { top: 4px; left: -8px; }
  .more { grid-template-columns: 1fr; }
  .more article + article { padding-left: 0; border-left: 0; margin-top: 36px; }
  .closing { flex-direction: column; align-items: flex-start; }
  .foot p { margin-left: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .top-cta { display: none; }
  .menu { margin-left: auto; }
  .trade-tabs { width: 100%; flex-wrap: wrap; border-radius: 18px; }
  .trade-tabs button { padding: 0 14px; }
  .plan-for { min-height: 0; }
  .trade-panel { grid-template-columns: 1fr; }
  .trade-site { border-left: 0 !important; }
  .trade-col { padding: 24px 20px; }
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .anatomy-reply, .anatomy figcaption ol { margin-left: 0; }
  .reply { margin-left: 0; }
}
