:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #13243a;
  --muted: #627086;
  --line: #dfe6ef;
  --brand: #0f5f88;
  --brand-2: #1590b7;
  --dark: #0e2234;
  --accent: #d35b74;
  --shadow: 0 18px 60px rgba(18, 42, 63, .10);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 100px 0; }
.section-alt { background: #eef3f8; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(247, 249, 252, .86);
  border-bottom: 1px solid rgba(223, 230, 239, .9);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: baseline; gap: 12px; }
.brand-mark { font-family: Manrope, sans-serif; font-weight: 800; font-size: 1.45rem; color: var(--brand); letter-spacing: -.04em; }
.brand-sub { font-size: .82rem; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: .95rem; font-weight: 600; }
.main-nav a:not(.btn):hover { color: var(--brand); }
.menu-toggle { display: none; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 12px; font: inherit; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 20px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-weight: 700;
  box-shadow: 0 10px 25px rgba(15, 95, 136, .18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15, 95, 136, .24); }
.btn-sm { padding: 10px 15px; }
.btn-secondary { background: transparent; color: var(--brand); border: 1px solid var(--brand); box-shadow: none; }
.hero { padding-top: 88px; }
.hero-grid { display: grid; grid-template-columns: 1.35fr .85fr; align-items: center; gap: 72px; }
.eyebrow { margin: 0 0 14px; color: var(--brand); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; }
h1, h2, h3 { font-family: Manrope, sans-serif; line-height: 1.12; letter-spacing: -.035em; margin-top: 0; }
h1 { font-size: clamp(2.8rem, 6vw, 5.1rem); margin-bottom: 28px; }
h1 span { color: var(--brand); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 22px; }
.availability { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: .92rem; }
.availability span { width: 9px; height: 9px; border-radius: 50%; background: #2ca66f; box-shadow: 0 0 0 6px rgba(44,166,111,.12); }
.hero-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.hero-card-top { font-weight: 700; margin-bottom: 24px; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.metric-grid div { background: #f5f8fb; border-radius: 16px; padding: 18px; min-height: 122px; }
.metric-grid strong { display: block; font-size: 1.7rem; color: var(--brand); font-family: Manrope, sans-serif; }
.metric-grid span { display: block; color: var(--muted); font-size: .86rem; margin-top: 4px; }
.hero-card-note { margin: 22px 0 0; color: var(--muted); font-size: .86rem; }
.trust-strip { background: #fff; border-block: 1px solid var(--line); padding: 26px 0; }
.trust-strip p { margin: 0 0 12px; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.logos-text { display: flex; flex-wrap: wrap; gap: 18px 28px; color: #708095; font-weight: 800; letter-spacing: .03em; }
.section-heading { max-width: 780px; margin-bottom: 48px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.08rem; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: #bdd4e2; }
.card-index { display: block; font-size: .75rem; color: var(--accent); font-weight: 800; margin-bottom: 28px; letter-spacing: .12em; }
.card p { margin-bottom: 0; color: var(--muted); }
.case-study {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px;
}
.featured { padding: 34px; box-shadow: var(--shadow); margin-bottom: 22px; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: start; }
.case-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--muted); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 16px; }
.pill { background: #e8f2f7; color: var(--brand); border-radius: 999px; padding: 6px 10px; }
.check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 26px; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.case-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.case-study p { color: var(--muted); margin-bottom: 0; }
.quotes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
blockquote {
  margin: 0; padding: 28px; border-radius: 18px; background: #fff; border: 1px solid var(--line);
}
blockquote p { font-family: Manrope, sans-serif; font-size: 1.15rem; font-weight: 700; line-height: 1.45; margin-top: 0; }
blockquote footer { display: flex; flex-direction: column; gap: 2px; color: var(--muted); font-size: .88rem; }
blockquote footer strong { color: var(--text); }
.section-dark { background: var(--dark); color: #edf4f8; }
.section-dark .eyebrow { color: #7cc0dc; }
.section-dark .lead, .section-dark p { color: #b8c7d4; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; }
.about-copy p:first-child { margin-top: 0; }
.principles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.principles span { border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 9px 12px; font-size: .86rem; }
.contact-section { padding-top: 70px; }
.contact-card {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 42px; box-shadow: var(--shadow);
}
.contact-card h2 { margin-bottom: 12px; }
.contact-card p { color: var(--muted); }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.contact-note { margin: 0; font-size: .88rem; }
.site-footer { padding: 38px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 24px; align-items: end; color: var(--muted); font-size: .84rem; }
.brand-footer { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-card, .case-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; align-items: start; }
  .main-nav { position: absolute; inset: 78px 20px auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; flex-direction: column; align-items: stretch; box-shadow: var(--shadow); display: none; }
  .main-nav.open { display: flex; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .section { padding: 74px 0; }
  .hero { padding-top: 54px; }
  .cards-grid, .case-list, .quotes-grid, .metric-grid { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .hero-card, .featured, .contact-card { padding: 24px; }
  h1 { font-size: 2.55rem; }
}

.brand-logo {
  width: 92px;
  height: 44px;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.brand-logo-footer {
  width: 110px;
  height: 54px;
}

/* V3 — direction artistique premium */
.premium-hero { grid-template-columns: 1.15fr .85fr; gap: 64px; }
.hero-role {
  font-family: Manrope, sans-serif;
  font-weight: 700;
  color: var(--text);
  margin: -8px 0 20px;
  max-width: 760px;
}
.portrait-wrap {
  position: relative;
  min-height: 610px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.portrait-accent {
  position: absolute;
  width: 82%;
  height: 86%;
  right: 0;
  bottom: 0;
  border-radius: 180px 180px 28px 28px;
  background: linear-gradient(155deg, #dcebf2, #eef3f7);
}
.portrait {
  position: relative;
  z-index: 2;
  width: 88%;
  height: 590px;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 180px 180px 26px 26px;
  box-shadow: 0 24px 65px rgba(18,42,63,.16);
}
.portrait-badge {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 34px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
}
.portrait-badge strong {
  display: block;
  font: 800 1.35rem Manrope, sans-serif;
  color: var(--brand);
}
.portrait-badge span { color: var(--muted); font-size: .82rem; }
.hero-metrics {
  margin-top: 54px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4,1fr);
}
.hero-metrics div {
  padding: 8px 26px;
  border-right: 1px solid var(--line);
}
.hero-metrics div:first-child { padding-left: 0; }
.hero-metrics div:last-child { border-right: 0; }
.hero-metrics strong {
  display: block;
  font: 800 1.65rem Manrope, sans-serif;
  color: var(--brand);
}
.hero-metrics span { color: var(--muted); font-size: .86rem; }
.positioning-section { background: #fff; }
.positioning-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 72px;
  align-items: start;
}
.positioning-list { border-top: 1px solid var(--line); }
.positioning-list div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.positioning-list span {
  color: var(--accent);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
}
.positioning-list p {
  margin: 0;
  font: 700 1.05rem Manrope, sans-serif;
  line-height: 1.4;
}
.text-link {
  color: var(--brand);
  font-weight: 700;
  border-bottom: 1px solid rgba(15,95,136,.3);
  padding-bottom: 2px;
}
@media (max-width: 900px) {
  .premium-hero, .positioning-grid { grid-template-columns: 1fr; }
  .portrait-wrap { min-height: 520px; max-width: 540px; }
  .portrait { height: 500px; }
}
@media (max-width: 640px) {
  .portrait-wrap { min-height: 430px; }
  .portrait { height: 420px; width: 94%; }
  .portrait-accent { width: 90%; }
  .portrait-badge { left: 6px; bottom: 18px; }
  .hero-metrics { grid-template-columns: 1fr 1fr; }
  .hero-metrics div { padding: 14px; border-bottom: 1px solid var(--line); }
  .hero-metrics div:nth-child(2) { border-right: 0; }
}


/* Ajustements V3.1 */
.brand-logo {
  width: 112px !important;
  height: 54px !important;
  object-fit: contain !important;
  object-position: left center !important;
  background: transparent !important;
}
.brand-logo-footer {
  width: 124px !important;
  height: 60px !important;
}
.testimonial-link {
  display: inline-block;
  margin-top: 5px;
  color: var(--brand);
  font-weight: 700;
  font-size: .82rem;
  text-decoration: none;
}
.testimonial-link:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .brand-logo {
    width: 96px !important;
    height: 46px !important;
  }
}


/* Expertise différenciante — version claire et lisible */
.pos-focus {
  background: linear-gradient(135deg, #f2f7fa 0%, #e8f1f6 100%);
  color: var(--text);
  border-top: 1px solid #d7e4eb;
  border-bottom: 1px solid #d7e4eb;
}
.pos-focus .eyebrow { color: var(--brand); }
.pos-focus h2 { color: #163a5d; }
.pos-focus-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.pos-intro {
  margin-top: 0;
  color: #40566c;
  font-size: 1.08rem;
  line-height: 1.7;
}
.pos-highlight {
  margin: 20px 0;
  padding: 16px 18px;
  background: #ffffff;
  border-left: 4px solid var(--brand);
  border-radius: 0 12px 12px 0;
  color: #2c4358;
  box-shadow: 0 8px 22px rgba(22,58,93,.06);
}
.retail-domains {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0 10px;
}
.retail-domains span {
  background: #ffffff;
  border: 1px solid #cbdde7;
  color: #163a5d;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  font-size: .82rem;
}
.pos-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 22px 0;
}
.pos-points span {
  border: 1px solid #cbdde7;
  background: rgba(255,255,255,.72);
  color: #263e54;
  border-radius: 12px;
  padding: 13px 14px;
  font-weight: 700;
  font-size: .9rem;
}
.pos-proof {
  color: #5d7184;
  font-size: .92rem;
  margin-bottom: 0;
}
.card-domain {
  margin: 14px 0;
  padding: 12px 14px;
  background: #f3f7fa;
  border-radius: 10px;
  color: #29465f;
}
.trust-note {
  margin-top: 12px !important;
  max-width: 900px;
  font-size: .75rem !important;
  line-height: 1.45;
  color: #8995a3 !important;
  font-weight: 400 !important;
}
@media (max-width: 900px) {
  .pos-focus-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .pos-points { grid-template-columns: 1fr; }
}


.contact-phone {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}
.contact-phone:hover { color: var(--brand); }