:root {
  --ink: #07111f;
  --ink-2: #0d1b2d;
  --blue: #168bd2;
  --blue-light: #70cef5;
  --ivory: #f4f1e9;
  --paper: #fbfaf6;
  --white: #fff;
  --muted: #657080;
  --line: rgba(7, 17, 31, .14);
  --radius: 22px;
  --max: 1240px;
  --shadow: 0 24px 70px rgba(7, 17, 31, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 999; top: 12px; left: 12px; padding: 10px 14px; background: white; color: var(--ink); transform: translateY(-160%); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.topbar { min-height: 37px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 7px max(24px, calc((100vw - var(--max)) / 2)); background: var(--blue); color: white; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.topbar p { margin: 0; }
.topbar a { border-bottom: 1px solid rgba(255,255,255,.5); }
.site-header { position: absolute; z-index: 30; top: 37px; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 19px max(24px, calc((100vw - var(--max)) / 2)); color: white; border-bottom: 1px solid rgba(255,255,255,.18); transition: .25s ease; }
.site-header.is-sticky { position: fixed; top: 0; background: rgba(7,17,31,.94); backdrop-filter: blur(14px); box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); }
.brand span { display: grid; text-transform: uppercase; letter-spacing: .12em; line-height: 1.05; }
.brand strong { font-size: 14px; }
.brand small { margin-top: 5px; color: var(--blue-light); font-size: 10px; font-weight: 800; letter-spacing: .48em; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 700; }
.main-nav a:not(.nav-cta) { color: rgba(255,255,255,.84); }
.main-nav a:hover { color: white; }
.nav-cta { padding: 12px 18px; border-radius: 999px; color: var(--ink); background: white; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 12px; background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: white; }

.hero { position: relative; min-height: 790px; display: grid; align-items: end; overflow: hidden; color: white; background: var(--ink); }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(90deg, rgba(4,10,18,.94) 0%, rgba(4,10,18,.76) 42%, rgba(4,10,18,.18) 74%), linear-gradient(0deg, rgba(4,10,18,.84), transparent 46%); }
.hero-inner { position: relative; z-index: 2; width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 190px 0 72px; }
.eyebrow { margin: 0 0 20px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; vertical-align: middle; width: 34px; height: 1px; margin-right: 12px; background: currentColor; }
.eyebrow.light { color: var(--blue-light); }
.hero h1, .section h2 { margin: 0; font-weight: 800; letter-spacing: -.055em; line-height: .95; }
.hero h1 { max-width: 840px; font-size: clamp(58px, 8.5vw, 116px); }
.hero h1 em { color: var(--blue-light); font-family: Georgia, serif; font-weight: 400; }
.hero-lead { max-width: 640px; margin: 30px 0 0; color: rgba(255,255,255,.82); font-size: clamp(17px, 2vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 0 23px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 800; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--blue); color: white; }
.button.primary:hover { background: #0577bb; }
.button.ghost { color: white; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); }
.button.ghost:hover { background: white; color: var(--ink); }
.hero-points { display: flex; flex-wrap: wrap; gap: 34px; margin: 58px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.76); font-size: 13px; font-weight: 700; }
.hero-points li { display: flex; align-items: center; gap: 10px; }
.hero-points span { color: var(--blue-light); font-size: 10px; }
.hero-card { position: absolute; z-index: 3; right: max(24px, calc((100vw - var(--max)) / 2)); bottom: 68px; width: 235px; padding: 22px; color: var(--ink); background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-radius: 18px; box-shadow: var(--shadow); }
.hero-card .pulse { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #33b96c; box-shadow: 0 0 0 6px rgba(51,185,108,.14); }
.hero-card p { display: inline; margin: 0; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.hero-card strong, .hero-card small { display: block; }
.hero-card strong { margin-top: 14px; font-size: 20px; }
.hero-card small { margin-top: 4px; color: var(--muted); }

.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr) 1.1fr; width: min(var(--max), calc(100% - 48px)); margin: 0 auto; border-bottom: 1px solid var(--line); }
.trust-strip > * { margin: 0; padding: 25px 24px; border-left: 1px solid var(--line); }
.trust-strip > *:last-child { border-right: 1px solid var(--line); }
.trust-strip p { display: grid; gap: 3px; }
.trust-strip strong { font-size: 13px; }
.trust-strip span { color: var(--muted); font-size: 12px; }
.trust-strip > a { display: flex; align-items: center; justify-content: space-between; background: var(--ivory); font-size: 13px; font-weight: 800; }
.trust-strip > a:hover { background: #e9f5fb; }

.section { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 120px 0; }
.section h2 { font-size: clamp(42px, 5.8vw, 76px); }
.section h2 span { color: var(--blue); font-family: Georgia, serif; font-weight: 400; }
.split-heading, .portfolio-heading { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, .6fr); gap: 70px; align-items: end; }
.split-heading > p, .portfolio-heading > p { margin: 0 0 5px; color: var(--muted); font-size: 16px; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 64px; }
.service-card { min-height: 570px; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink); color: white; }
.service-card img { width: 100%; height: 100%; object-fit: cover; opacity: .66; transition: transform .6s ease, opacity .4s ease; }
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,10,18,.96), rgba(4,10,18,.04) 70%); }
.service-card:hover img { transform: scale(1.035); opacity: .8; }
.service-card-content { position: absolute; z-index: 2; inset: auto 0 0; padding: 34px; }
.service-index { display: block; margin-bottom: 16px; color: var(--blue-light); font-size: 11px; letter-spacing: .1em; }
.service-card h3 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.035em; }
.service-card p { max-width: 560px; margin: 0; color: rgba(255,255,255,.72); }
.service-card a { display: inline-flex; gap: 18px; margin-top: 20px; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.42); font-size: 13px; font-weight: 800; }

.portfolio { width: 100%; max-width: none; padding-right: max(24px, calc((100vw - var(--max)) / 2)); padding-left: max(24px, calc((100vw - var(--max)) / 2)); color: white; background: var(--ink); }
.portfolio-heading p { color: rgba(255,255,255,.64); }
.portfolio-heading h2 span { color: var(--blue-light); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 26px; }
.filter { padding: 9px 15px; color: rgba(255,255,255,.7); background: transparent; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; cursor: pointer; }
.filter.active, .filter:hover { color: var(--ink); background: white; }
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 12px; }
.portfolio-item { position: relative; grid-column: span 1; padding: 0; overflow: hidden; border: 0; border-radius: 14px; cursor: zoom-in; background: #101c2a; }
.portfolio-item.tall { grid-row: span 2; }
.portfolio-item.wide { grid-column: span 2; }
.portfolio-item.portrait { grid-row: span 2; }
.portfolio-item[hidden] { display: none; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.portfolio-item:hover img { transform: scale(1.04); }
.portfolio-item::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(4,10,18,.88)); }
.portfolio-item > span { position: absolute; z-index: 2; left: 18px; bottom: 16px; display: grid; color: white; text-align: left; font-size: 15px; font-weight: 700; }
.portfolio-item small { color: var(--blue-light); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.lightbox { width: min(1000px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 0; overflow: visible; border: 0; border-radius: 16px; background: #050b13; color: white; box-shadow: 0 30px 100px rgba(0,0,0,.7); }
.lightbox::backdrop { background: rgba(2,7,12,.88); backdrop-filter: blur(8px); }
.lightbox img { width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 16px 16px 0 0; }
.lightbox p { margin: 0; padding: 16px 20px; }
.lightbox-close { position: absolute; z-index: 2; top: 12px; right: 12px; width: 42px; height: 42px; color: white; background: rgba(7,17,31,.78); border: 1px solid rgba(255,255,255,.3); border-radius: 50%; font-size: 28px; cursor: pointer; }

.method { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.method-intro { position: sticky; top: 130px; }
.method-intro h2 { font-size: clamp(40px, 4.5vw, 60px); }
.method-intro > p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.text-link { display: inline-flex; gap: 20px; margin-top: 20px; padding-bottom: 5px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 800; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 70px 1fr; gap: 25px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.steps > li > span { color: var(--blue); font-size: 13px; font-weight: 800; }
.steps h3 { margin: 0 0 10px; font-size: 26px; letter-spacing: -.025em; }
.steps p { margin: 0; color: var(--muted); }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; align-items: center; }
.about-visual { position: relative; min-height: 630px; }
.about-visual > img { width: 100%; height: 630px; object-fit: cover; border-radius: var(--radius); }
.about-mark { position: absolute; right: -30px; bottom: 38px; width: 190px; height: 190px; display: grid; place-content: center; padding: 22px; color: white; background: var(--blue); border: 8px solid var(--paper); border-radius: 50%; text-align: center; }
.about-mark strong { font-size: 56px; line-height: 1; }
.about-mark span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.about-copy h2 { font-size: clamp(40px, 4.6vw, 62px); }
.about-copy .lead { margin-top: 28px; font-size: 19px; font-weight: 700; }
.about-copy > p:not(.eyebrow):not(.lead) { color: var(--muted); }
.check-list { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 12px; }
.check-list li::before { content: "✓"; flex: 0 0 24px; height: 24px; display: grid; place-content: center; color: white; background: var(--blue); border-radius: 50%; font-size: 12px; font-weight: 900; }

.insights { padding-top: 30px; }
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.insight-grid article { display: flex; flex-direction: column; min-height: 315px; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.insight-grid article > span { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.insight-grid h3 { margin: 24px 0 12px; font-size: 27px; line-height: 1.08; letter-spacing: -.035em; }
.insight-grid p { margin: 0; color: var(--muted); }
.insight-grid a { margin-top: auto; padding-top: 24px; font-size: 13px; font-weight: 800; }
.insight-grid a span { margin-left: 12px; color: var(--blue); }
.blog-button { width: fit-content; margin-top: 24px; color: white; background: var(--ink); }

.quote { width: 100%; max-width: none; display: grid; grid-template-columns: minmax(300px, .72fr) minmax(420px, 1fr); gap: 100px; padding-right: max(24px, calc((100vw - var(--max)) / 2)); padding-left: max(24px, calc((100vw - var(--max)) / 2)); color: white; background: var(--ink-2); }
.quote-copy h2 { font-size: clamp(44px, 5vw, 70px); }
.quote-copy > p:not(.eyebrow) { max-width: 520px; color: rgba(255,255,255,.68); font-size: 17px; }
.contact-cards { display: grid; gap: 10px; margin-top: 32px; }
.contact-cards a { display: grid; gap: 5px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; }
.contact-cards a:hover { border-color: var(--blue-light); }
.contact-cards small { color: var(--blue-light); text-transform: uppercase; letter-spacing: .12em; }
.contact-cards strong { overflow-wrap: anywhere; }
.quote-form { padding: 38px; color: var(--ink); background: white; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form label { display: grid; gap: 8px; margin-bottom: 17px; font-size: 12px; font-weight: 800; }
.quote-form label > span { color: #b73333; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; min-height: 50px; padding: 12px 14px; color: var(--ink); background: #f7f8fa; border: 1px solid #d9dde3; border-radius: 8px; }
.quote-form textarea { min-height: 125px; resize: vertical; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--blue); outline: 2px solid rgba(22,139,210,.15); }
.privacy-note { margin: 4px 0 20px; color: var(--muted); font-size: 11px; }
.privacy-note a { text-decoration: underline; }
.form-submit { border: 0; }
.form-status { min-height: 22px; margin: 14px 0 0; color: #18663d; font-size: 13px; font-weight: 700; }

.site-footer { padding: 70px max(24px, calc((100vw - var(--max)) / 2)) 24px; color: rgba(255,255,255,.72); background: #040a12; }
.footer-main { display: grid; grid-template-columns: 1.5fr .65fr 1fr .9fr; gap: 46px; padding-bottom: 55px; }
.footer-brand { display: flex; align-items: flex-start; gap: 16px; }
.footer-brand img { width: 72px; height: 72px; object-fit: cover; border-radius: 50%; }
.footer-brand strong { color: white; font-size: 18px; }
.footer-brand p { margin: 4px 0; color: var(--blue-light); font-family: Georgia, serif; font-style: italic; }
.footer-main h2 { margin: 0 0 18px; color: white; font-size: 12px; text-transform: uppercase; letter-spacing: .13em; }
.footer-main > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; font-size: 13px; }
.footer-main p { margin: 0; }
.footer-main a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); font-size: 11px; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* Pages juridiques */
.legal-body { background: var(--paper); }
.legal-body .site-header { position: relative; top: 0; color: white; background: var(--ink); }
.legal-hero { padding: 95px max(24px, calc((100vw - 920px) / 2)) 70px; color: white; background: var(--ink); }
.legal-hero h1 { max-width: 780px; margin: 0; font-size: clamp(44px, 7vw, 76px); line-height: 1; letter-spacing: -.05em; }
.legal-hero p:last-child { max-width: 680px; color: rgba(255,255,255,.66); }
.legal-content { width: min(920px, calc(100% - 48px)); margin: 0 auto; padding: 70px 0 110px; }
.legal-alert { margin-bottom: 36px; padding: 18px 20px; border-left: 4px solid #e79f21; background: #fff5df; border-radius: 0 10px 10px 0; color: #634413; }
.legal-content h2 { margin: 45px 0 12px; font-size: 28px; letter-spacing: -.03em; }
.legal-content h3 { margin: 28px 0 8px; font-size: 18px; }
.legal-content p, .legal-content li { color: #404b59; }
.legal-content a { color: #076aa6; text-decoration: underline; }
.legal-content dl { display: grid; grid-template-columns: 230px 1fr; border-top: 1px solid var(--line); }
.legal-content dt, .legal-content dd { margin: 0; padding: 13px 0; border-bottom: 1px solid var(--line); }
.legal-content dt { font-weight: 800; }
.todo { color: #8a3e12 !important; font-weight: 800; }

@media (max-width: 960px) {
  .main-nav { gap: 18px; }
  .hero-card { display: none; }
  .hero-inner { padding-bottom: 55px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-strip > *:nth-child(3) { border-top: 1px solid var(--line); }
  .trust-strip > *:last-child { border-top: 1px solid var(--line); }
  .split-heading, .portfolio-heading { grid-template-columns: 1fr; gap: 24px; }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .method { gap: 50px; }
  .about { gap: 48px; }
  .insight-grid { grid-template-columns: repeat(2, 1fr); }
  .quote { gap: 50px; }
  .footer-main { grid-template-columns: 1.2fr .8fr 1fr; }
  .footer-main > div:last-child { grid-column: 2; }
}

@media (max-width: 760px) {
  .topbar { justify-content: center; }
  .topbar p { display: none; }
  .site-header { padding: 14px 20px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 76px; left: 16px; right: 16px; display: none; align-items: stretch; flex-direction: column; gap: 4px; padding: 14px; color: white; background: var(--ink); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px; }
  .nav-cta { text-align: center; }
  .hero { min-height: 740px; }
  .hero-shade { background: linear-gradient(0deg, rgba(4,10,18,.96) 0%, rgba(4,10,18,.62) 68%, rgba(4,10,18,.35)); }
  .hero-inner { width: min(100% - 40px, var(--max)); padding: 160px 0 42px; }
  .hero h1 { font-size: clamp(51px, 16vw, 75px); }
  .hero-lead { margin-top: 22px; }
  .hero-points { gap: 18px; margin-top: 38px; }
  .trust-strip { width: calc(100% - 40px); grid-template-columns: 1fr; }
  .trust-strip > * { border-right: 1px solid var(--line); border-top: 1px solid var(--line); }
  .section { width: calc(100% - 40px); padding: 82px 0; }
  .section h2 { font-size: clamp(40px, 12vw, 58px); }
  .service-grid { grid-template-columns: 1fr; margin-top: 42px; }
  .service-card { min-height: 500px; }
  .service-card-content { padding: 26px; }
  .portfolio { width: 100%; padding-right: 20px; padding-left: 20px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
  .portfolio-item.wide { grid-column: span 2; }
  .method { grid-template-columns: 1fr; }
  .method-intro { position: static; }
  .about { grid-template-columns: 1fr; }
  .insight-grid { grid-template-columns: 1fr; }
  .about-visual, .about-visual > img { min-height: 440px; height: 440px; }
  .about-mark { right: -8px; width: 155px; height: 155px; }
  .quote { width: 100%; grid-template-columns: 1fr; padding: 82px 20px; }
  .quote-form { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-main > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .legal-content dl { grid-template-columns: 1fr; }
  .legal-content dt { padding-bottom: 2px; border-bottom: 0; }
  .legal-content dd { padding-top: 2px; }
}

@media (max-width: 480px) {
  .brand span { display: none; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-points { display: grid; grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .portfolio-item, .portfolio-item.wide, .portfolio-item.tall, .portfolio-item.portrait { grid-column: span 1; grid-row: span 1; }
  .footer-main { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
