/* =========================================================
   SEO-LOVER v2 — feuille de style unique, sans framework
   DA : "carnet de terrain" — papier chaud, encre océan, lave
   ========================================================= */

@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/assets/fonts/fraunces.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 400 600; font-display: swap; src: url('/assets/fonts/fraunces-italic.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/assets/fonts/instrument-sans.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('/assets/fonts/jetbrains-mono.woff2') format('woff2'); }

:root {
  --paper: #F5F1E8;
  --paper-2: #ECE5D5;
  --card: #FFFCF6;
  --ink: #0F1B2D;
  --ink-2: #33415A;
  --muted: #6A665C;
  --line: #D8CEBB;
  --lava: #D2461A;
  --lava-soft: #F6D9CC;
  --lagoon: #0D7472;
  --lagoon-soft: #D3E9E6;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--lava); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typo ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.15; }
h1 em, h2 em { font-style: italic; color: var(--lava); font-weight: 400; }

.eyebrow {
  font: 500 .78rem/1.3 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--lagoon);
  display: inline-flex; align-items: center; gap: .6em;
  margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 36em; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .95em 1.4em;
  border-radius: 999px;
  font: 600 .98rem/1 var(--sans);
  text-decoration: none;
  border: 1.5px solid var(--ink);
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--lava); border-color: var(--lava); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn svg { width: 18px; height: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo {
  font: 600 1.35rem/1 var(--serif);
  letter-spacing: -.02em;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: .45em;
}
.logo-mark { width: 30px; height: 30px; }
.logo b { color: var(--lava); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .96rem; color: var(--ink-2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lava); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav .btn { color: var(--paper); padding: .7em 1.15em; font-size: .9rem; text-decoration: none; }
.nav .btn:hover { color: var(--paper); }

.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-weight: 600; padding: .5em .9em; border: 1.5px solid var(--ink); border-radius: 999px; font-size: .9rem; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .menu-panel { display: flex; }
.menu-panel {
  display: none; flex-direction: column; gap: 4px;
  position: absolute; right: 0; top: calc(100% + 10px);
  min-width: 220px; padding: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 20px 40px -20px rgba(15, 27, 45, .35);
}
.menu-panel a { padding: .7em .8em; border-radius: 8px; text-decoration: none; font-weight: 500; }
.menu-panel a:hover { background: var(--paper-2); }

@media (max-width: 1120px) {
  .nav { display: none; }
  .menu { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.hero-topo { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55; }
.hero-topo svg { position: absolute; right: -18%; top: -20%; width: 90%; min-width: 700px; height: auto; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 1.8rem; font-size: .9rem; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: .45em; }
.hero-meta svg { width: 16px; height: 16px; color: var(--lagoon); }

.portrait { position: relative; }
.portrait-frame {
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  background: #4a4a4a;
  aspect-ratio: 4 / 5;
  border: 1.5px solid var(--ink);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.proof-chip {
  position: absolute; left: -28px; bottom: 36px;
  background: var(--card); border: 1.5px solid var(--ink); border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 6px 6px 0 var(--ink);
  max-width: 240px;
}
.proof-chip strong { display: block; font: 500 2rem/1 var(--serif); color: var(--lava); letter-spacing: -.02em; }
.proof-chip span { font-size: .85rem; color: var(--ink-2); line-height: 1.35; display: block; margin-top: 6px; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .portrait { max-width: 360px; margin-inline: auto; width: 100%; }
  .proof-chip { left: -8px; }
}

/* ---------- Bandeau clients ---------- */
.clients { border-block: 1px solid var(--line); padding: 26px 0; }
.clients .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; }
.clients p { margin: 0; font: 500 .75rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.clients ul { display: flex; flex-wrap: wrap; gap: 10px 34px; list-style: none; margin: 0; padding: 0; }
.clients li { font: 500 1.15rem/1 var(--serif); color: var(--ink-2); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark .eyebrow { color: #7FD1CC; }
.section-dark .lead, .section-dark p { color: #C9CFDA; }
.section-dark h2 em { color: #FF8A5B; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }

/* ---------- Étude de cas ---------- */
.case { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(245, 241, 232, .18); border: 1px solid rgba(245, 241, 232, .18); border-radius: 14px; overflow: hidden; margin: 2rem 0; }
.stat { background: var(--ink); padding: 18px 16px; }
.stat strong { display: block; font: 500 clamp(1.6rem, 3vw, 2.2rem)/1 var(--serif); color: #FFFFFF; letter-spacing: -.02em; }
.stat span { display: block; font-size: .82rem; color: #A9B2C3; margin-top: 8px; line-height: 1.35; }
.chart-card { background: #16263D; border: 1px solid rgba(245, 241, 232, .14); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); }
.chart-card figcaption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font: 400 .78rem/1.4 var(--mono); color: #A9B2C3; margin-top: 14px; }
.chart-title { font: 500 .8rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #7FD1CC; margin-bottom: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--lava); padding-bottom: 2px; }
.section-dark .link-arrow { color: #fff; border-color: #FF8A5B; }

@media (max-width: 860px) {
  .case { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
}

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column;
  transition: border-color .2s ease, transform .2s ease;
}
.service:hover { border-color: var(--ink); transform: translateY(-3px); }
.service-num { font: 500 .8rem/1 var(--mono); color: var(--lava); margin-bottom: 18px; }
.service h3 { margin-bottom: .45em; }
.service p { color: var(--ink-2); }
.service ul { margin: 0 0 1.4em; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.service li { padding: .6em 0; border-bottom: 1px solid var(--line); font-size: .95rem; display: flex; gap: .6em; }
.service li::before { content: "→"; color: var(--lagoon); font-family: var(--mono); }
.service .tag { margin-top: auto; font: 500 .78rem/1.3 var(--mono); color: var(--muted); }
.service-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; background: var(--lagoon-soft); border-color: #A9D2CD; }
.service-wide .service-num { color: var(--lagoon); }

@media (max-width: 760px) {
  .services { grid-template-columns: 1fr; }
  .service-wide { grid-template-columns: 1fr; }
}

/* ---------- Méthode ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 1.5px solid var(--ink); }
.steps li { padding: 28px 24px 0 0; position: relative; counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: -13px; left: 0;
  font: 500 .78rem/1 var(--mono); background: var(--paper); padding-right: 10px; color: var(--lava);
  height: 24px; display: flex; align-items: center;
}
.steps h3 { font-size: 1.3rem; }
.steps p { font-size: .95rem; color: var(--ink-2); }
.steps .when { font: 400 .78rem/1.3 var(--mono); color: var(--muted); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Réunion ---------- */
.local { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.facts { display: grid; gap: 14px; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.fact h3 { font-size: 1.15rem; margin-bottom: .35em; }
.fact p { margin: 0; font-size: .95rem; color: var(--ink-2); }
.island { margin-top: 28px; }
@media (max-width: 860px) { .local { grid-template-columns: 1fr; } }

/* ---------- À propos ---------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.about-photo { border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--ink); aspect-ratio: 1; background: #4a4a4a; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.about blockquote { margin: 0 0 1.4rem; font: 400 italic clamp(1.3rem, 2.4vw, 1.75rem)/1.3 var(--serif); letter-spacing: -.01em; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.creds li { font: 500 .8rem/1 var(--mono); padding: .65em .9em; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about-photo { max-width: 320px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1.5px solid var(--ink); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 20px; align-items: baseline;
  padding: 22px 0;
  font: 500 clamp(1.1rem, 1.8vw, 1.3rem)/1.3 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.4rem/1 var(--mono); color: var(--lava); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--ink-2); max-width: 70ch; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta h2 { max-width: 16ch; margin-inline: auto; }
.cta .lead { margin-inline: auto; }
.cta .actions { justify-content: center; }
.section-dark .btn-primary { background: var(--lava); border-color: var(--lava); color: #fff; }
.section-dark .btn-primary:hover { background: #fff; border-color: #fff; color: var(--ink); }
.section-dark .btn-ghost { border-color: #C9CFDA; color: #fff; }
.section-dark .btn-ghost:hover { background: #fff; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: #0A1422; color: #A9B2C3; padding: 64px 0 28px; font-size: .93rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h2 { font: 500 .78rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55em; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .logo { color: #fff; margin-bottom: 1rem; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid #22314A; padding-top: 22px; margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; }
@media (max-width: 860px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flottant (sobre) ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: .8em 1.1em; border-radius: 999px; font-weight: 600; font-size: .9rem;
  box-shadow: 0 10px 30px -10px rgba(15, 27, 45, .6);
}
.wa-float svg { width: 18px; height: 18px; color: #4ADE80; }
.wa-float:hover { background: var(--lava); }

/* ---------- Pages intérieures ---------- */
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.breadcrumb { font: 400 .8rem/1.4 var(--mono); color: var(--muted); margin-bottom: 1.6rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--ink); }
.shot { margin: 2rem 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.shot img { border-radius: 8px; width: 100%; }
.shot figcaption { font: 400 .8rem/1.4 var(--mono); color: var(--muted); padding: 10px 4px 2px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 2rem 0; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.kpi strong { display: block; font: 500 2rem/1 var(--serif); color: var(--lava); }
.kpi span { display: block; font-size: .85rem; color: var(--ink-2); margin-top: 8px; }
@media (max-width: 640px) { .kpis { grid-template-columns: 1fr; } }
.todo { background: #FFF3C4; outline: 1px dashed #B58900; padding: 0 .2em; }

/* ---------- Formulaire ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: .85em 1em;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.form .hint { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.form button { justify-self: start; cursor: pointer; }
.hp { position: absolute; left: -9999px; }
.contact-side { display: grid; gap: 14px; }
.contact-side a { text-decoration: none; }
@media (max-width: 760px) { .contact-grid, .form .row { grid-template-columns: 1fr; } }

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

/* ---------- Pages de service ---------- */
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.svc-aside { position: sticky; top: 92px; background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 26px; box-shadow: 6px 6px 0 var(--ink); }
.svc-aside dl { margin: 0 0 1.4rem; display: grid; gap: 14px; }
.svc-aside dt { font: 500 .74rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lagoon); margin-bottom: 4px; }
.svc-aside dd { margin: 0; font-weight: 500; }
.svc-aside .price { font: 500 1.9rem/1 var(--serif); color: var(--lava); }
.svc-aside .btn { width: 100%; justify-content: center; }
.svc-aside .small { font-size: .82rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
@media (max-width: 900px) { .svc-layout { grid-template-columns: 1fr; } .svc-aside { position: static; } }

.checklist { list-style: none; padding: 0 !important; margin: 1.2em 0 1.6em; border-top: 1px solid var(--line); }
.checklist li { padding: .75em 0 .75em 2em; border-bottom: 1px solid var(--line); position: relative; margin: 0 !important; }
.checklist li::before { content: "✓"; position: absolute; left: .2em; color: var(--lagoon); font-weight: 700; }
.callout { background: var(--lava-soft); border-left: 4px solid var(--lava); border-radius: 0 12px 12px 0; padding: 18px 22px; margin: 1.8em 0; }
.callout p { margin: 0; color: var(--ink); }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; } }
.service a.link-arrow { margin-top: auto; align-self: flex-start; }
.table-wrap { overflow-x: auto; margin: 1.6em 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; background: var(--card); }
.prose th, .prose td { text-align: left; padding: .7em .9em; border: 1px solid var(--line); vertical-align: top; }
.prose th { font: 500 .78rem/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; background: var(--paper-2); }

/* ---------- Outil : simulateur SERP ---------- */
.tool { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 960px) { .tool { grid-template-columns: 1fr; } }
.tool .form { gap: 16px; }
.field-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.meter { height: 6px; border-radius: 99px; background: var(--paper-2); overflow: hidden; margin-top: 8px; }
.meter i { display: block; height: 100%; width: 0; background: var(--lagoon); transition: width .15s ease, background .15s ease; }
.meter i.warn { background: #D4A017; }
.meter i.bad { background: var(--lava); }
.count { font: 400 .78rem/1 var(--mono); color: var(--muted); white-space: nowrap; }
.count.bad { color: var(--lava); }
.toggle { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 999px; padding: 3px; gap: 3px; }
.toggle button { border: 0; background: transparent; font: 600 .85rem/1 var(--sans); padding: .6em 1em; border-radius: 999px; cursor: pointer; color: var(--ink); }
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.preview-wrap { position: sticky; top: 92px; display: grid; gap: 16px; }
.preview-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.serp { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; font-family: Arial, Helvetica, sans-serif; color: #202124; overflow: hidden; }
.serp.mobile { max-width: 400px; padding: 16px; }
.serp-site { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.serp-fav { width: 28px; height: 28px; border-radius: 50%; background: #F1F3F4; border: 1px solid #DADCE0; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #1A73E8; flex: none; }
.serp-name { font-size: 14px; line-height: 20px; color: #202124; }
.serp-url { font-size: 12px; line-height: 18px; color: #4D5156; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.serp-title { font-size: 20px; line-height: 26px; color: #1A0DAB; margin: 4px 0 4px; font-weight: 400; word-break: break-word; }
.serp.mobile .serp-title { font-size: 18px; line-height: 24px; color: #1558D6; }
.serp-desc { font-size: 14px; line-height: 22px; color: #4D5156; word-break: break-word; }
.serp-desc .date { color: #70757A; }
.serp-desc b { font-weight: 700; color: #5F6368; }
.checks { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.checks li { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .93rem; }
.checks li:last-child { border-bottom: 0; }
.checks .ico { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 .75rem/1 var(--mono); color: #fff; margin-top: 1px; }
.checks .ok .ico { background: var(--lagoon); }
.checks .warn .ico { background: #D4A017; }
.checks .bad .ico { background: var(--lava); }
.tool-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-sm { padding: .7em 1.05em; font-size: .88rem; cursor: pointer; }
.code-out { font: 400 .8rem/1.5 var(--mono); background: var(--ink); color: #E6E9EF; padding: 16px; border-radius: 12px; white-space: pre-wrap; word-break: break-all; margin: 0; }
.toast { font: 500 .82rem/1 var(--mono); color: var(--lagoon); min-height: 1em; }
.service h3 a { text-decoration: none; } .service h3 a:hover { text-decoration: underline; text-decoration-color: var(--lava); }

/* ---------- Actualités ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; transition: border-color .2s ease, transform .2s ease; }
.post-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.post-card h3 { font-size: 1.3rem; }
.post-card h3 a { text-decoration: none; }
.post-card p { color: var(--ink-2); font-size: .95rem; }
.post-card .link-arrow { margin-top: auto; align-self: flex-start; }
.post-meta { font: 500 .75rem/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted) !important; margin-bottom: 14px; }
.post-meta span { color: var(--lagoon); }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } }
.prose ol li { margin-bottom: .7em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--lagoon); font-style: italic; color: var(--ink-2); }
