:root {
  --ink: #121418;
  --ink-2: #1c1f25;
  --paper: #f5f2ec;
  --tint: #ebe6dc;
  --white: #ffffff;
  --red: #c8202b;
  --red-d: #a3161f;
  --gold: #e8a524;
  --steel: #5d6570;
  --line: #d8d2c6;
  --line-d: rgba(255, 255, 255, .14);
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --sans: "Archivo", system-ui, sans-serif;
  --w: 1200px;
}
*, *::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.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--sans); font-stretch: 75%; font-weight: 800; line-height: 1.02; letter-spacing: -.01em; margin: 0 0 .5em; text-transform: uppercase; }
h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--w), 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.label { font: 500 .78rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.label::before { content: ""; display: inline-block; width: 22px; height: 2px; background: currentColor; vertical-align: middle; margin-right: 10px; }
.label-light { color: var(--gold); }
.num { font: 500 .85rem var(--mono); color: var(--red); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; font: 700 .95rem var(--sans); font-stretch: 90%; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-d); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .5); color: var(--white); background: transparent; }
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.link:hover { color: var(--red); }

/* En-tête */
.top { position: sticky; top: 0; z-index: 50; background: rgba(245, 242, 236, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font-stretch: 75%; font-weight: 800; font-size: 1.25rem; text-transform: uppercase; color: var(--red); letter-spacing: .01em; }
.brand small { font: 400 .62rem var(--mono); color: var(--steel); letter-spacing: .03em; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.menu ul a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.menu ul a:hover, .menu ul a[aria-current] { border-color: var(--red); }
.burger { display: none; }

/* Héros */
.hero, .phero { position: relative; color: var(--white); background: var(--ink); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero::after, .phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 20, 24, .92) 0%, rgba(18, 20, 24, .55) 60%, rgba(18, 20, 24, .2) 100%); }
.hero-in, .phero-in { position: relative; z-index: 2; }
.hero-in { padding: clamp(80px, 13vw, 160px) 0 clamp(60px, 9vw, 110px); max-width: 900px; margin-left: max(16px, (100% - var(--w)) / 2); }
.hero h1 em { font-style: normal; color: var(--gold); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 620px; color: rgba(255, 255, 255, .85); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.stats { position: relative; z-index: 2; border-top: 1px solid var(--line-d); background: rgba(18, 20, 24, .7); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 20px 26px 0; border-right: 1px solid var(--line-d); }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-stretch: 75%; font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: var(--white); }
.stat span { font: .78rem var(--mono); color: rgba(255, 255, 255, .65); text-transform: uppercase; letter-spacing: .08em; }
.phero-in { padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 90px); }
.phero-plain { background: var(--ink) linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 100% 40px; }
.phero-plain::after { display: none; }
.crumbs { font: .8rem var(--mono); color: rgba(255, 255, 255, .6); margin-bottom: 28px; }
.crumbs a { color: rgba(255, 255, 255, .85); }

/* Sections */
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec-dark { background: var(--ink); color: var(--white); }
.sec-tint { background: var(--tint); }
.sec-head { max-width: 720px; margin-bottom: 48px; }

.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; background: var(--line); border: 2px solid var(--line); }
.svc { grid-column: span 2; display: flex; flex-direction: column; background: var(--white); text-decoration: none; }
.svc:nth-child(4), .svc:nth-child(5) { grid-column: span 3; }
.svc-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .3s; opacity: .92; }
.svc:hover .svc-img img { transform: scale(1.04); opacity: 1; }
.svc-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { margin: 8px 0 10px; }
.svc-body p { color: var(--steel); flex: 1; }
.more { font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; color: var(--red); }
.more::after { content: " →"; transition: margin .2s; }
.svc:hover .more::after { margin-left: 6px; }

.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-img { position: sticky; top: 100px; }
.about-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.cap { font: .75rem var(--mono); color: rgba(255, 255, 255, .55); margin-top: 10px; }
.about p { color: rgba(255, 255, 255, .8); }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); }
.steps li { background: var(--ink); padding: 24px; }
.steps h3 { margin: 8px 0 6px; font-size: 1.2rem; }
.steps p { font-size: .95rem; margin: 0; color: rgba(255, 255, 255, .7); }
.steps .num { color: var(--gold); }

.ag-home { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); }
.ag-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.ag-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.ag-org { font-weight: 700; }
.ag-scope { font: .8rem var(--mono); color: var(--steel); grid-column: 1; }
.ag-list .tag { grid-row: 1 / 3; grid-column: 2; align-self: center; }
.tag { display: inline-block; font: 500 .72rem var(--mono); text-transform: uppercase; letter-spacing: .08em; padding: 5px 9px; border: 1px solid var(--ink); white-space: nowrap; }
.tag-gold { border-color: var(--gold); background: var(--gold); color: var(--ink); }

.cta { background: var(--red); color: var(--white); padding: clamp(48px, 7vw, 80px) 0; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { margin-bottom: 8px; }
.cta p { margin: 0; max-width: 560px; color: rgba(255, 255, 255, .88); }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn-red { background: var(--ink); }
.cta .btn-red:hover { background: #000; }

/* Pages métier */
.two { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.big { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; }
.prest { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); counter-reset: p; }
.prest li { padding: 24px 0 24px 56px; border-bottom: 1px solid var(--line); position: relative; counter-increment: p; }
.prest li::before { content: "0" counter(p); position: absolute; left: 0; top: 27px; font: 500 .85rem var(--mono); color: var(--red); }
.prest h3 { margin: 0 0 6px; font-size: 1.3rem; }
.prest p { margin: 0; color: var(--steel); }
.callout { margin-top: 32px; padding: 24px; background: var(--white); border-left: 4px solid var(--gold); }
.wide-img img { width: 100%; aspect-ratio: 21 / 7; object-fit: cover; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 2px solid var(--ink); }
.faq summary { cursor: pointer; padding: 20px 40px 20px 0; font-weight: 700; font-size: 1.08rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 1.6rem var(--mono); color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--steel); padding-bottom: 12px; }
.others { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border: 2px solid var(--line); }
.others a { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--white); text-decoration: none; font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 1.2rem; line-height: 1.1; height: 100%; }
.others a:hover { background: var(--ink); color: var(--white); }

/* Agréments */
.table-wrap { overflow-x: auto; }
.ag-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.ag-table th { text-align: left; font: 500 .75rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--steel); padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.ag-table td { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ag-table td b { display: block; }
.ag-table .m { font: .8rem var(--mono); color: var(--steel); }
.note { margin-top: 24px; color: var(--steel); }

/* Contact */
.form { display: grid; gap: 18px; }
.field label { display: block; font: 500 .78rem var(--mono); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: 400 16px var(--sans); padding: 14px; border: 1.5px solid var(--line); background: var(--white); border-radius: 0; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.err { color: var(--red); font-weight: 600; margin: 0; }
.form-btns { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.coords { display: grid; gap: 28px; }
.coords .label { margin-bottom: 6px; }
.big-link { font-stretch: 80%; font-weight: 800; font-size: clamp(1.3rem, 2.5vw, 1.8rem); text-decoration: none; word-break: break-word; }
.big-link:hover { color: var(--red); }
.coords iframe { width: 100%; height: 260px; border: 0; filter: grayscale(.6); }

/* Pied */
.foot { background: var(--ink); color: rgba(255, 255, 255, .75); padding: 64px 0 0; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-brand { font-stretch: 75%; font-weight: 800; font-size: 1.6rem; text-transform: uppercase; color: var(--white); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--gold); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding: 20px 0; border-top: 1px solid var(--line-d); font: .75rem var(--mono); color: rgba(255, 255, 255, .5); }
.mbar { display: none; }

@media (max-width: 1080px) {
  .burger { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; padding: 12px; }
  .burger span:not(.sr) { display: block; height: 2px; background: var(--ink); transition: transform .25s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .menu { position: fixed; inset: 72px 0 0 0; background: var(--paper); flex-direction: column; align-items: stretch; padding: 16px 16px 32px; gap: 20px; transform: translateX(100%); visibility: hidden; transition: transform .3s cubic-bezier(.2, .7, .2, 1), visibility 0s .3s; }
  .menu.open { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
  .menu ul { flex-direction: column; gap: 0; }
  .menu ul a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-stretch: 75%; font-weight: 800; font-size: 1.5rem; text-transform: uppercase; }
}
@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc, .svc:nth-child(4), .svc:nth-child(5) { grid-column: auto; }
  .about, .ag-home, .two { grid-template-columns: 1fr; }
  .about-img { position: static; }
  .about-img img { aspect-ratio: 4 / 3; }
  .others { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .wide-img img { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 60px; }
  .stats-in { grid-template-columns: 1fr 1fr; }
  .stat, .stat + .stat { padding: 18px 12px; border-right: 0; border-bottom: 1px solid var(--line-d); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line-d); padding-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .hero-btns .btn, .cta-btns .btn { flex: 1 1 100%; }
  .brand small { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding-bottom: env(safe-area-inset-bottom); background: var(--ink); }
  .mbar a { display: flex; align-items: center; justify-content: center; min-height: 56px; color: var(--white); text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; }
  .mbar a + a { background: var(--red); }
  .ag-table thead { display: none; }
  .ag-table tr { display: grid; grid-template-columns: 40px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .ag-table td { border: 0; padding: 0 0 6px; }
  .ag-table td:nth-child(n+3) { grid-column: 2; }
}
@media (hover: none) { .svc:hover .svc-img img { transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } html { scroll-behavior: auto; } }

/* Bouton WhatsApp flottant (ordinateur et tablette ; sur mobile, la barre du bas le remplace) */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 45; display: flex; align-items: center; gap: 10px; padding: 12px 20px 12px 14px; background: #25d366; color: #fff; text-decoration: none; font-weight: 700; border-radius: 999px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .2s; }
.wa-float:hover { transform: translateY(-2px); }
@media (max-width: 640px) { .wa-float { display: none; } .mbar a + a { background: #25d366; color: var(--ink); } }
