/* Tony Frontau, CV en ligne (v3)
   Style sobre : fond blanc / gris clair, accent bleu acier, Inter, coins 4 à 6 px. */

:root {
  --ink:      #111827;
  --ink-2:    #374151;
  --ink-3:    #6b7280;
  --line:     #e5e7eb;
  --line-2:   #d1d5db;
  --bg:       #ffffff;
  --bg-alt:   #f5f6f8;
  --accent:   #1f4e79;   /* bleu acier */
  --accent-2: #163a5b;
  --accent-l: #e8eef5;
  --live:     #15803d;
  --r:        6px;
  --r-sm:     4px;
  --header-h: 60px;
  --maxw:     1120px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px; line-height: 1.6; color: var(--ink-2); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 999; }
.skip-link:focus { left: 1rem; top: .5rem; }
.muted-text { color: var(--ink-3); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1rem; border-radius: var(--r-sm);
  font-weight: 600; font-size: .92rem; line-height: 1.1;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { text-decoration: none; }
.btn-sm { padding: .45rem .8rem; font-size: .85rem; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); }
.btn-outline { border-color: var(--line-2); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: #fff; border-bottom: 1px solid var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; flex-direction: column; line-height: 1.2; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-name { font-weight: 700; font-size: 1rem; }
.brand-role { font-size: .75rem; color: var(--ink-3); }
.nav { margin-left: auto; }
.nav-list { display: flex; gap: .15rem; }
.nav-list a { display: block; padding: .45rem .7rem; border-radius: var(--r-sm); color: var(--ink-2); font-weight: 500; font-size: .92rem; }
.nav-list a:hover { background: var(--bg-alt); color: var(--ink); text-decoration: none; }
.nav-list a.is-current { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-list {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 0 1.25rem .75rem;
    background: #fff; border-bottom: 1px solid var(--line); display: none;
  }
  .nav-list.is-open { display: flex; }
  .nav-list a { padding: .8rem 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-list a.is-current { box-shadow: none; }
  .header-actions .btn span { display: none; }
  .brand-role { display: none; }
}

/* En-tête de page */
.hero { padding: 3.5rem 0 3rem; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 3rem; align-items: center; }
.hero h1 { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.25rem; }
.hero-name { font-size: clamp(1.9rem, 4.4vw, 2.9rem); font-weight: 700; letter-spacing: -.02em; }
.hero-role { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; color: var(--accent); }
.hero-pitch { font-size: 1.08rem; max-width: 62ch; margin-bottom: 1rem; }
.hero-meta { font-size: .92rem; color: var(--ink-3); margin-bottom: 1.5rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-photo { margin: 0; justify-self: end; width: 100%; max-width: 340px; }
.hero-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 30%; border-radius: var(--r); border: 1px solid var(--line); }

.kpis { margin: 2.75rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); }
.kpi { padding: 1.1rem 1.25rem; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .15rem; }
.kpi + .kpi { border-left: 1px solid var(--line); }
.kpi dt { font-size: .85rem; color: var(--ink-3); }
.kpi dd { font-size: 1.75rem; font-weight: 700; color: var(--ink); line-height: 1.1; }

@media (max-width: 860px) {
  .hero { padding-top: 2rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-photo { order: -1; justify-self: start; max-width: 120px; }
  .hero-photo img { aspect-ratio: 1; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpi:nth-child(3) { border-left: 0; }
  .kpi:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); }
.section-title { margin-bottom: 2rem; padding-bottom: .75rem; border-bottom: 2px solid var(--accent); display: inline-block; }
.section-lead { margin: -1rem 0 2rem; color: var(--ink-3); max-width: 70ch; }
.sub-title { font-size: 1rem; margin: 0 0 .9rem; }

/* Profil */
.profile-grid { display: grid; grid-template-columns: 220px 1fr; gap: 2.5rem; }
.profile-grid h2 { padding-bottom: .75rem; border-bottom: 2px solid var(--accent); align-self: start; }
.profile-text p { margin-bottom: 1rem; max-width: 72ch; }
.facts-title { margin-top: 1.75rem; }
.facts { margin-top: .5rem; border: 1px solid var(--line); border-radius: var(--r); }
.facts > div { display: grid; grid-template-columns: 140px 1fr; gap: 1rem; padding: .8rem 1rem; }
.facts > div + div { border-top: 1px solid var(--line); }
.facts dt { font-weight: 600; color: var(--ink); }
@media (max-width: 860px) {
  .profile-grid { grid-template-columns: 1fr; gap: 1rem; }
  .profile-grid h2 { justify-self: start; }
  .facts > div { grid-template-columns: 1fr; gap: .15rem; }
}

/* Expérience */
.timeline { display: grid; gap: 1rem; }
.job article { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r); padding: 1.25rem 1.4rem; }
.job-head { display: grid; grid-template-columns: 44px 1fr auto; gap: 1rem; align-items: center; margin-bottom: .9rem; }
.job-logo { width: 44px; height: 44px; object-fit: contain; padding: 4px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.job h3 { font-size: 1.08rem; }
.job-company { color: var(--ink-3); font-size: .95rem; }
.job-dates { font-size: .9rem; font-weight: 600; color: var(--ink-2); display: flex; align-items: center; gap: .5rem; white-space: nowrap; }
.pill { font-size: .72rem; font-weight: 600; padding: .15rem .45rem; border-radius: var(--r-sm); border: 1px solid #bbf7d0; background: #f0fdf4; color: var(--live); }
.job-bullets { list-style: disc; padding-left: 1.2rem; display: grid; gap: .35rem; }
.job-bullets li::marker { color: var(--ink-3); }
.job-stack { margin-top: .9rem; padding-top: .8rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-3); }
.job-stack span { font-weight: 600; color: var(--ink-2); }
@media (max-width: 640px) {
  .job article { padding: 1rem; }
  .job-head { grid-template-columns: 40px 1fr; }
  .job-logo { width: 40px; height: 40px; }
  .job-dates { grid-column: 1 / -1; }
}

/* Compétences */
.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 2.5rem; }
.skill-card { border: 1px solid var(--line); border-radius: var(--r); padding: 1.15rem 1.25rem; background: #fff; }
.skill-card h3 { font-size: 1rem; margin-bottom: .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.chips li { font-size: .84rem; padding: .2rem .55rem; border-radius: var(--r-sm); background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink-2); }
@media (max-width: 760px) { .skills-grid { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.certs { border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.certs li { display: grid; grid-template-columns: 56px 1fr auto; gap: .9rem; align-items: center; padding: .65rem .9rem; }
.certs li + li { border-top: 1px solid var(--line); }
.certs img, .cert-icon { width: 56px; height: 32px; object-fit: contain; }
.cert-icon { display: grid; place-items: center; font-size: .62rem; font-weight: 700; color: var(--accent); border: 1px solid var(--line-2); border-radius: var(--r-sm); }
.certs strong { color: var(--ink); }
.certs time { font-size: .85rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.vendors { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .5rem; }
.vendors li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; min-height: 104px; padding: .9rem .6rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; font-size: .85rem; font-weight: 500; color: var(--ink); text-align: center; }
.vendors img { width: 100%; max-width: 110px; height: 44px; object-fit: contain; }

/* Projets */
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.highlight { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--r); padding: 1.15rem 1.25rem; }
.highlight-tag { font-size: .78rem; font-weight: 600; color: var(--accent); }
.highlight h3 { font-size: 1.1rem; margin: .3rem 0 .45rem; }
.highlight p:last-child { font-size: .92rem; color: var(--ink-3); }
@media (max-width: 860px) { .highlights { grid-template-columns: 1fr; } }

.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: .9rem; margin-bottom: 1rem; display: grid; gap: .75rem; }
.seg { display: flex; flex-wrap: wrap; gap: .3rem; }
.seg-btn { border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); padding: .4rem .8rem; border-radius: var(--r-sm); font-size: .86rem; font-weight: 600; cursor: pointer; }
.seg-btn:hover { border-color: var(--accent); color: var(--accent); }
.seg-btn.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.filter-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr auto; gap: .5rem; align-items: center; }
.field { position: relative; display: block; }
.field input, .field select {
  width: 100%; height: 40px; padding: 0 .75rem; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: #fff; color: var(--ink); font: inherit; font-size: .9rem;
}
.field select { appearance: none; padding-right: 2rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 17px) 17px, calc(100% - 12px) 17px; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field-search i { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-size: .85rem; }
.field-search input { padding-left: 2.15rem; }
.filter-count { font-size: .86rem; color: var(--ink-3); }
.filter-count strong { color: var(--ink); }
@media (max-width: 860px) { .filter-row { grid-template-columns: 1fr; } }

.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 960px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .projects { grid-template-columns: 1fr; } }
.project { position: relative; display: flex; flex-direction: column; gap: .65rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; }
.project:hover { border-color: var(--accent); }
.project-link { color: var(--ink); }
.project-link::after { content: ''; position: absolute; inset: 0; }
.project-link:hover { text-decoration: none; }
.project:hover .project-link { color: var(--accent); }
.project-more { margin-top: auto; font-size: .82rem; font-weight: 600; color: var(--accent); }
.project-top { display: flex; align-items: center; gap: .7rem; }
.project-logo { width: 48px; height: 48px; flex: none; border-radius: var(--r-sm); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; background: #fff; }
.project-logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.client-icon { width: 100%; height: 100%; display: grid; place-items: center; background: var(--accent-l); color: var(--accent); font-size: 1.1rem; }
.project-logo .ini { font-size: .75rem; font-weight: 700; color: #fff; width: 100%; height: 100%; display: grid; place-items: center; }
.project-client { font-weight: 600; color: var(--ink); font-size: .9rem; line-height: 1.3; }
.project-meta { font-size: .78rem; color: var(--ink-3); }
.project h3 { font-size: .98rem; font-weight: 600; line-height: 1.35; }

.project-metas { display: grid; gap: .35rem; padding: .6rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.meta-label { font-size: .76rem; font-weight: 600; color: var(--ink-3); margin-right: .15rem; }
.badge { font-size: .74rem; font-weight: 500; line-height: 1.4; padding: .1rem .45rem; border-radius: var(--r-sm); border: 1px solid var(--line-2); color: var(--ink-2); background: #fff; white-space: nowrap; }
.badge-vendor   { display: inline-flex; align-items: center; gap: .4rem; background: #fff; padding: .2rem .5rem .2rem .35rem; }
.badge-vendor img { height: 22px; width: auto; max-width: 72px; object-fit: contain; }
.badge-vertical { color: var(--accent); border-color: #c7d5e4; background: var(--accent-l); }
.badge-tech     { color: #fff; border-color: var(--accent); background: var(--accent); }

.project-desc { font-size: .86rem; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.project-facts { display: flex; flex-wrap: wrap; gap: .8rem; font-size: .78rem; color: var(--ink-2); margin-top: auto; }
.project-facts i { color: var(--ink-3); margin-right: .25rem; }
.projects-empty { grid-column: 1 / -1; text-align: center; padding: 2.5rem 1rem; color: var(--ink-3); background: #fff; border: 1px dashed var(--line-2); border-radius: var(--r); }

.pagination { display: flex; justify-content: center; gap: .3rem; margin-top: 1.25rem; flex-wrap: wrap; }
.pagination button { min-width: 38px; height: 38px; padding: 0 .6rem; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); font-weight: 600; cursor: pointer; }
.pagination button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.pagination button[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination button:disabled { opacity: .4; cursor: default; }
.pagination .gap { align-self: center; color: var(--ink-3); padding: 0 .2rem; }

.clients { margin-top: 3rem; }
.client-logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; }
.client-logos li { height: 64px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: .7rem .9rem; }
.client-logos img { max-height: 36px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; }
@media (max-width: 860px) { .client-logos { grid-template-columns: repeat(3, 1fr); } }

/* Pages projet */
.breadcrumb { font-size: .85rem; color: var(--ink-3); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--ink-2); }
.detail-head { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.25rem; margin-bottom: 1.5rem; border-bottom: 2px solid var(--accent); }
.detail-logo { width: 72px; height: 72px; flex: none; border: 1px solid var(--line); border-radius: var(--r); display: grid; place-items: center; overflow: hidden; background: #fff; }
.detail-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.detail-logo .client-icon { font-size: 1.6rem; }
.detail-client { font-weight: 600; color: var(--ink-3); }
.detail h1 { font-size: clamp(1.4rem, 3vw, 2rem); }
.detail-grid { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; align-items: start; }
.detail-main .project-metas { border-top: 0; padding-top: 0; margin-bottom: 1.5rem; }
.detail-block { margin-bottom: 1.75rem; }
.detail-block h2 { font-size: 1.15rem; margin-bottom: .6rem; }
.detail-block p { margin-bottom: .7rem; max-width: 75ch; }
.detail-tech > div { padding: .7rem 0; border-top: 1px solid var(--line); }
.detail-tech dt { font-weight: 600; color: var(--ink); margin-bottom: .4rem; font-size: .92rem; }
.detail-tech dd { display: flex; flex-wrap: wrap; gap: .3rem; }
.detail-side { border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem; background: var(--bg-alt); position: sticky; top: calc(var(--header-h) + 1rem); }
.detail-side h2 { font-size: 1rem; margin-bottom: .6rem; }
.detail-facts { margin-bottom: 1rem; }
.detail-facts > div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-top: 1px solid var(--line); font-size: .9rem; }
.detail-facts dt { color: var(--ink-3); }
.detail-facts dd { color: var(--ink); font-weight: 600; text-align: right; }
.detail-side .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
.detail-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.detail-nav .btn { white-space: normal; }
@media (max-width: 860px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .detail-logo { width: 56px; height: 56px; }
}

/* Contact */
.contact-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: start; border: 1px solid var(--line); border-radius: var(--r); padding: 2rem; background: var(--bg-alt); }
.contact-card h2 { padding-bottom: .6rem; border-bottom: 2px solid var(--accent); display: inline-block; margin-bottom: 1rem; }
.contact-text > p { max-width: 52ch; }
.contact-cta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.contact-list { font-style: normal; display: grid; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.contact-list > * { display: flex; align-items: center; gap: .75rem; padding: .7rem 1rem; color: var(--ink); word-break: break-word; }
.contact-list > * + * { border-top: 1px solid var(--line); }
.contact-list a:hover { background: var(--bg-alt); text-decoration: none; }
.contact-list i { width: 16px; text-align: center; color: var(--accent); }
@media (max-width: 860px) { .contact-card { grid-template-columns: 1fr; padding: 1.25rem; } }

/* Pied de page */
.site-footer { border-top: 1px solid var(--line); padding: 1.25rem 0; font-size: .86rem; color: var(--ink-3); }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-inner a { color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Impression : version CV papier */
@media print {
  @page { margin: 14mm; }
  body { font-size: 10.5pt; color: #000; }
  .site-header, .skip-link, .hero-cta, .hero-photo, .filters, .projects, .pagination,
  .clients, .contact-cta, .site-footer, noscript { display: none !important; }
  .section, .hero { padding: 0 0 10pt; border: 0; }
  .section-alt { background: none; }
  .job article, .skill-card, .highlight, .certs, .contact-card { break-inside: avoid; background: none; }
  a { color: #000; }
}

/* TechNSec : compléments propres au site société */
.brand-logo img { height: 40px; width: auto; display: block; }
.hero-logo { max-width: 380px; align-self: center; }
.hero-logo img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border: 0; border-radius: 0; padding: 0; background: none; }
.skills-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .skills-grid-3 { grid-template-columns: 1fr; } }
.card-text { font-size: .92rem; color: var(--ink-3); margin-bottom: .8rem; }
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 960px) { .offers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .offers { grid-template-columns: 1fr; } }
.offer { display: flex; flex-direction: column; gap: .6rem; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--r); padding: 1.15rem 1.25rem; }
.offer h3 { font-size: 1.02rem; }
.offer p { font-size: .92rem; }
.offer-out { margin-top: auto; padding-top: .6rem; border-top: 1px solid var(--line); color: var(--ink-3); }
.offer-out span { font-weight: 600; color: var(--ink-2); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: step; margin-bottom: 2.5rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; background: #fff; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: .8rem; font-weight: 700; color: var(--accent); margin-bottom: .35rem; }
.steps h3 { font-size: 1rem; margin-bottom: .35rem; }
.steps p { font-size: .9rem; color: var(--ink-3); }
.tech-title { margin-top: .5rem; }
.vendors-wide { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.founder { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: start; }
.founder img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 30%; border-radius: var(--r); border: 1px solid var(--line); }
.founder h3 { font-size: 1.25rem; }
.founder-role { color: var(--accent); font-weight: 600; margin: .2rem 0 .9rem; }
.founder p { max-width: 70ch; margin-bottom: .9rem; }
.founder-certs { font-size: .92rem; color: var(--ink-3); }
.founder-certs span { font-weight: 600; color: var(--ink-2); }
@media (max-width: 720px) { .founder { grid-template-columns: 1fr; } .founder img { max-width: 160px; } }
@media (max-width: 860px) { .hero-logo { display: none; } .brand-logo img { height: 32px; } }

/* Mentions légales */
.breadcrumb { font-size: .85rem; color: var(--ink-3); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--ink-2); }
.legal { max-width: 860px; }
.legal section { margin-bottom: 2rem; }
.legal h2 { font-size: 1.15rem; margin-bottom: .7rem; }
.legal p { margin-bottom: .8rem; max-width: 75ch; }
.legal .facts { margin-top: 0; }
.legal .facts > div { grid-template-columns: 200px 1fr; }
@media (max-width: 860px) { .legal .facts > div { grid-template-columns: 1fr; } }
.legal-updated { font-size: .85rem; color: var(--ink-3); }
.site-footer p a { color: var(--ink-2); }
