/* =====================================================================
   SOSAN — Feuille de style
   Couleurs issues du logo : bleu marine #163149 · rouge #D81E25
   ===================================================================== */

:root {
  --navy: #163149;
  --navy-900: #0c1d2d;
  --navy-700: #1f4262;
  --red: #d81e25;
  --red-600: #b8161c;

  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #eef2f6;
  --text: #15293d;
  --muted: #55667a;
  --line: #dde3ea;
  --accent: var(--red);
  --accent-hover: var(--red-600);
  --heading: var(--navy);
  --shadow: 0 1px 2px rgba(12, 29, 45, .06), 0 10px 30px -12px rgba(12, 29, 45, .18);
  --shadow-lg: 0 24px 60px -20px rgba(12, 29, 45, .35);
  --header-bg: rgba(255, 255, 255, .86);

  --radius: 18px;
  --radius-sm: 12px;
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --header-h: 76px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0b1724;
  --surface: #11233a;
  --surface-2: #0e1e31;
  --text: #e3eaf2;
  --muted: #9aabbe;
  --line: #213a55;
  --accent: #ee3a41;
  --accent-hover: #ff5257;
  --heading: #f3f6fa;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -14px rgba(0, 0, 0, .6);
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, .7);
  --header-bg: rgba(11, 23, 36, .86);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .3s, color .3s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Icônes ---------- */
[data-icon] { display: inline-flex; width: 1.15em; height: 1.15em; flex: none; }
[data-icon] svg { width: 100%; height: 100%; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font: 600 .98rem/1 var(--font-head); letter-spacing: -.005em; cursor: pointer;
  transition: transform .2s, background-color .2s, border-color .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--accent); color: #fff; box-shadow: 0 8px 22px -10px rgba(216, 30, 37, .7); }
.btn--red:hover { background: var(--accent-hover); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #f0f3f7; }
.btn--wa { background: #1fa855; color: #fff; }
.btn--wa:hover { background: #178c46; }
.btn--lg { padding: 1em 1.7em; font-size: 1.02rem; }
.btn--sm { padding: .6em 1.05em; font-size: .9rem; }

.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); display: grid; place-items: center; cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .2s;
}
.icon-btn:hover { border-color: var(--accent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font: 600 .8rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .14em;
  color: var(--accent); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: #ff8a8e; }
.h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); font-weight: 700; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-900); color: #c4d1de; font-size: .88rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topbar__links { display: flex; gap: 22px; }
.topbar a:hover { color: #fff; }
@media (max-width: 760px) { .topbar { display: none; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: var(--header-bg); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .5); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { flex: none; }
.brand__logo { height: 34px; width: auto; }
.brand__logo--dark { display: none; }
[data-theme="dark"] .brand__logo--light { display: none; }
[data-theme="dark"] .brand__logo--dark { display: block; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a:not(.btn) {
  position: relative; padding: 10px 14px; border-radius: 10px;
  font: 500 .97rem/1 var(--font-head); color: var(--text); transition: color .2s, background-color .2s;
}
.nav > a:not(.btn):hover { color: var(--accent); }
.nav > a.is-active { color: var(--accent); }
.nav > a.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; background: var(--accent); border-radius: 2px; }
.nav__shop { margin-left: 10px; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__shop { display: none; }

.theme-toggle__moon { display: none; }
[data-theme="dark"] .theme-toggle__sun { display: none; }
[data-theme="dark"] .theme-toggle__moon { display: inline-flex; }

.burger { display: none; flex-direction: column; gap: 5px; }
.burger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
  .burger { display: flex; }
  .header__shop { display: inline-flex; }
  .header__actions { margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 24px;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav > a:not(.btn) { padding: 15px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav > a.is-active::after { display: none; }
  .nav__shop { margin: 14px 0 0; padding: 1em; }
}
@media (max-width: 420px) {
  .brand__logo { height: 26px; }
  .header__shop span:last-child { display: none; }
  .header__shop { padding: .6em; width: 44px; height: 44px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy-900); }
.hero__slides, .hero__slides img { position: absolute; inset: 0; }
.hero__slides img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease, transform 7s ease-out; }
.hero__slides img.is-active { opacity: 1; transform: scale(1); }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(12, 29, 45, .95) 0%, rgba(22, 49, 73, .85) 40%, rgba(22, 49, 73, .35) 75%, rgba(22, 49, 73, .2) 100%),
    linear-gradient(0deg, rgba(12, 29, 45, .7) 0%, transparent 35%);
}
.hero__content { position: relative; padding: 96px 0 140px; }
.hero__title { color: #fff; font-size: clamp(2.2rem, 1.3rem + 4.2vw, 4.4rem); font-weight: 800; max-width: 15ch; margin-bottom: .45em; }
.hero__title em { font-style: normal; color: #ff4b51; position: relative; }
.hero__text { font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); color: #d6e0ea; max-width: 56ch; margin-bottom: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__slogan { margin: 2.6rem 0 0; display: flex; align-items: center; gap: 14px; font: 600 .85rem/1 var(--font-head); letter-spacing: .22em; text-transform: uppercase; color: #a9bbcd; }
.hero__slogan i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.hero__dots { position: absolute; right: max(16px, calc((100% - 1200px) / 2)); bottom: 120px; display: flex; gap: 8px; }
.hero__dots button { width: 10px; height: 10px; padding: 0; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .4); cursor: pointer; transition: width .3s, background-color .3s; }
.hero__dots button.is-active { width: 30px; background: #fff; }
@media (max-width: 640px) {
  .hero { min-height: auto; }
  .hero__content { padding: 64px 0 120px; }
  .hero__shade { background: linear-gradient(180deg, rgba(12, 29, 45, .75), rgba(12, 29, 45, .92)); }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__dots { left: 16px; right: auto; bottom: 96px; }
  .hero__slogan { letter-spacing: .14em; font-size: .75rem; }
}

/* ---------- Chiffres ---------- */
.stats {
  position: relative; z-index: 2; margin: -72px 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
  border: 1px solid var(--line);
}
.stats li { padding: 28px 24px; text-align: center; border-right: 1px solid var(--line); }
.stats li:last-child { border-right: 0; }
.stats strong { display: block; font: 800 clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem)/1 var(--font-head); color: var(--heading); margin-bottom: 8px; }
.stats strong small { font-size: .5em; color: var(--accent); margin-left: 2px; }
.stats li > span { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: -56px; }
  .stats li:nth-child(2) { border-right: 0; }
  .stats li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stats li { padding: 22px 12px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--tint { background: var(--surface-2); }
.section__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }

/* ---------- À propos ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.about__media { position: relative; aspect-ratio: 1 / 1.02; }
.about__media img { position: absolute; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); cursor: zoom-in; }
.about__img1 { inset: 0 18% 18% 0; width: 82%; height: 82%; }
.about__img2 { right: 0; bottom: 0; width: 52%; height: 48%; border: 6px solid var(--bg); }
.about__badge {
  position: absolute; left: 6%; bottom: 4%; background: var(--red); color: #fff;
  border-radius: var(--radius-sm); padding: 16px 20px; box-shadow: var(--shadow-lg);
}
.about__badge strong { display: block; font: 800 2rem/1 var(--font-head); }
.about__badge span { font-size: .85rem; opacity: .9; }
.about__text p { color: var(--muted); font-size: 1.08rem; }
.callout { display: flex; gap: 16px; margin-top: 28px; padding: 20px 22px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); box-shadow: var(--shadow); }
.callout strong { font-family: var(--font-head); color: var(--heading); }
.callout p { margin: 4px 0 0; color: var(--text) !important; font-size: 1rem !important; }
.callout__icon { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(216, 30, 37, .1); color: var(--accent); padding: 10px; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; width: 100%; margin-inline: auto; }
}

/* ---------- Services (aperçu) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.svc-card {
  grid-column: span 2; position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 340px; border-radius: var(--radius); overflow: hidden; color: #fff; isolation: isolate;
  box-shadow: var(--shadow);
}
.svc-card:nth-child(4), .svc-card:nth-child(5) { grid-column: span 3; }
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s ease; }
.svc-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 29, 45, .05) 20%, rgba(12, 29, 45, .92) 100%); transition: background .4s; }
.svc-card:hover img { transform: scale(1.07); }
.svc-card:hover::before { background: linear-gradient(180deg, rgba(22, 49, 73, .3) 0%, rgba(12, 29, 45, .96) 100%); }
.svc-card__body { padding: 26px; }
.svc-card__num { font: 700 .85rem/1 var(--font-head); color: #ff6d72; letter-spacing: .12em; }
.svc-card h3 { color: #fff; font-size: 1.32rem; margin: 10px 0 8px; }
.svc-card p { color: #cfdae5; font-size: .96rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font: 600 .9rem/1 var(--font-head); color: #fff; }
.svc-card__more [data-icon] { transition: transform .25s; }
.svc-card:hover .svc-card__more [data-icon] { transform: translateX(4px); }
@media (max-width: 960px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card, .svc-card:nth-child(4), .svc-card:nth-child(5) { grid-column: span 1; }
  .svc-card:last-child { grid-column: span 2; }
}
@media (max-width: 600px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card, .svc-card:last-child { grid-column: auto; min-height: 280px; }
}

/* ---------- Services (détail) ---------- */
.svc { padding: clamp(64px, 8vw, 104px) 0; border-bottom: 1px solid var(--line); }
.svc:nth-child(even) { background: var(--surface-2); }
.svc__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.svc:nth-child(even) .svc__media { order: 2; }
.svc__media { position: sticky; top: calc(var(--header-h) + 24px); }
.svc__main { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); background: var(--surface); }
.svc__main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: opacity .35s; }
.svc__count { position: absolute; right: 14px; bottom: 14px; background: rgba(12, 29, 45, .75); color: #fff; font: 600 .8rem/1 var(--font-head); padding: 8px 12px; border-radius: 99px; display: inline-flex; gap: 6px; align-items: center; backdrop-filter: blur(4px); pointer-events: none; }
.svc__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.svc__thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; aspect-ratio: 1; cursor: pointer; background: none; opacity: .65; transition: opacity .2s, border-color .2s; }
.svc__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.svc__thumbs button.is-active, .svc__thumbs button:hover { opacity: 1; border-color: var(--accent); }
.svc__num { font: 800 clamp(3.4rem, 2.6rem + 3vw, 5rem)/1 var(--font-head); color: transparent; -webkit-text-stroke: 1.5px var(--accent); opacity: .8; margin-bottom: 8px; }
.svc__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
.svc__lead { color: var(--muted); font-size: 1.1rem; margin-bottom: 28px; }
.svc__list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.svc__item { display: flex; gap: 16px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, transform .2s, box-shadow .2s; }
.svc__item:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); transform: translateX(4px); box-shadow: var(--shadow); }
.svc__check { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--navy); color: #fff; padding: 7px; }
[data-theme="dark"] .svc__check { background: var(--accent); }
.svc__item h4 { font-size: 1.02rem; margin: 2px 0 4px; }
.svc__item p { margin: 0; color: var(--muted); font-size: .97rem; line-height: 1.55; }
@media (max-width: 900px) {
  .svc__inner { grid-template-columns: 1fr; }
  .svc:nth-child(even) .svc__media { order: 0; }
  .svc__media { position: static; }
}

/* ---------- Coworking ---------- */
.cowork { position: relative; padding: clamp(80px, 12vw, 160px) 0; overflow: hidden; background: var(--navy-900); }
.cowork__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cowork__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 29, 45, .15), rgba(12, 29, 45, .55)); }
.cowork .container { position: relative; display: flex; justify-content: flex-end; }
.cowork__card { width: min(540px, 100%); background: var(--surface); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-lg); }
.cowork__card p { color: var(--muted); }
.chips { list-style: none; padding: 0; margin: 20px 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); font: 500 .9rem/1 var(--font-head); color: var(--heading); }
.chips li [data-icon] { color: var(--accent); }
@media (max-width: 700px) {
  .cowork { padding: 0 0 32px; background: var(--bg); }
  .cowork__bg { position: relative; height: 280px; }
  .cowork__shade { display: none; }
  .cowork .container { margin-top: -60px; }
}

/* ---------- Boutique ---------- */
.shop { background: radial-gradient(1200px 500px at 85% 0%, rgba(216, 30, 37, .22), transparent 60%), var(--navy); color: #d8e2ec; }
[data-theme="dark"] .shop { background: radial-gradient(1200px 500px at 85% 0%, rgba(216, 30, 37, .18), transparent 60%), #0e2135; }
.shop .h2 { color: #fff; }
.shop .lead { color: #c1cfdc; }
.shop__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.shop__head > div { max-width: 640px; }
.shop__grid { display: grid; grid-template-columns: 1fr 1fr 1.25fr; grid-template-rows: 240px 240px; gap: 18px; }
.shop__item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; padding: 0; border: 0; background: #0c1d2d; text-align: left; }
.shop__item:nth-child(1) { grid-row: span 2; }
.shop__item:nth-child(2) { grid-row: span 2; }
.shop__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.shop__item:hover img { transform: scale(1.05); }
.shop__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 18px; background: linear-gradient(transparent, rgba(12, 29, 45, .9)); color: #fff; font: 600 1rem/1.2 var(--font-head); display: flex; justify-content: space-between; align-items: center; }
.shop__info { grid-row: span 2; border-radius: var(--radius); padding: 32px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); display: flex; flex-direction: column; gap: 18px; }
.shop__info h3 { color: #fff; font-size: 1.3rem; margin: 0; }
.shop__info ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.shop__info li { display: flex; gap: 12px; align-items: flex-start; }
.shop__info li [data-icon] { color: #ff6d72; margin-top: 4px; }
.shop__info .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 960px) {
  .shop__grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .shop__item { aspect-ratio: 3 / 4; }
  .shop__item:nth-child(1), .shop__item:nth-child(2) { grid-row: auto; }
  .shop__item:nth-child(3) { aspect-ratio: 4 / 3; }
  .shop__info { grid-row: auto; }
}
@media (max-width: 560px) {
  .shop__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .shop__item:nth-child(3), .shop__info { grid-column: span 2; }
  .shop__item figcaption { font-size: .85rem; padding: 30px 12px 12px; }
}

/* ---------- Pourquoi ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why__card { position: relative; padding: 32px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .3s, border-color .3s; overflow: hidden; }
.why__card::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--accent); transition: width .4s; }
.why__card:hover { transform: translateY(-6px); }
.why__card:hover::after { width: 100%; }
.why__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); color: #fff; padding: 14px; margin-bottom: 22px; }
.why__card:nth-child(even) .why__icon { background: var(--red); }
[data-theme="dark"] .why__icon { background: #1f4262; }
.why__card h3 { font-size: 1.15rem; }
.why__card p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (max-width: 1000px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

/* ---------- Clients ---------- */
.clients .section__head { margin-inline: auto; text-align: center; }
.clients .eyebrow::before { display: none; }
.clients__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.clients__list li { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 28px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font: 600 .95rem/1.3 var(--font-head); color: var(--heading); transition: transform .3s, border-color .3s; }
.clients__list li:hover { transform: translateY(-4px); border-color: var(--accent); }
.clients__list li [data-icon] { width: 40px; height: 40px; color: var(--accent); }
@media (max-width: 1000px) { .clients__list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .clients__list { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.contact__info { display: grid; gap: 14px; }
.cinfo { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s; }
a.cinfo:hover { border-color: var(--accent); }
.cinfo__icon { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(216, 30, 37, .1); color: var(--accent); padding: 12px; }
.cinfo small { display: block; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px; }
.cinfo strong { font-family: var(--font-head); font-weight: 600; color: var(--heading); word-break: break-word; }
.contact__form { padding: clamp(24px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font: 600 .88rem/1 var(--font-head); color: var(--heading); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--bg); transition: border-color .2s, box-shadow .2s; font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(216, 30, 37, .12); }
.form__error { color: var(--accent); font-size: .92rem; min-height: 1.2em; margin: 0 0 10px; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map { margin-top: 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 360px; background: var(--surface-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
[data-theme="dark"] .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.7); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form__actions .btn { flex: 1 1 100%; }
  .map { height: 280px; }
}

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #a9b9c9; padding: 64px 0 0; font-size: .97rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer__logo { height: 36px; width: auto; margin-bottom: 18px; }
.footer__slogan { font: 600 .8rem/1 var(--font-head); letter-spacing: .2em; text-transform: uppercase; color: #ff6d72; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Boutons flottants ---------- */
.wa-float, .to-top { position: fixed; right: 18px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-lg); border: 0; cursor: pointer; transition: transform .25s, opacity .25s; }
.wa-float { bottom: 18px; background: #1fa855; color: #fff; padding: 14px; }
.wa-float:hover { transform: scale(1.08); }
.to-top { bottom: 84px; width: 44px; height: 44px; right: 23px; background: var(--surface); color: var(--heading); border: 1px solid var(--line); padding: 12px; opacity: 0; pointer-events: none; }
.to-top.is-visible { opacity: 1; pointer-events: auto; }

/* ---------- Visionneuse ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6, 14, 22, .94); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 10px; }
.lightbox figcaption { color: #c9d5e1; margin-top: 14px; font-family: var(--font-head); text-align: center; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; padding: 13px; cursor: pointer; transition: background-color .2s; }
.lightbox button:hover { background: var(--red); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .lightbox { padding: 60px 12px 90px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
}

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Liste coworking */
.cw-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 14px; }
.cw-list li { display: flex; gap: 14px; align-items: flex-start; }
.cw__ic { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: rgba(216, 30, 37, .1); color: var(--accent); padding: 9px; }
.cw-list strong { display: block; font-family: var(--font-head); color: var(--heading); font-size: 1rem; }
.cw-list span:not(.cw__ic) { display: block; color: var(--muted); font-size: .94rem; line-height: 1.5; }

/* Signature K-Squad */
.credit a { font-family: var(--font-head); font-weight: 700; color: #fff; border-bottom: 2px solid var(--red); padding-bottom: 1px; transition: color .2s; }
.credit a:hover { color: #ff6d72; }
