/* 3S Production — feuille de style du site
   Couleurs : modifiez les variables de :root ci-dessous.
   Attention : les derniers blocs (bandeau d'accueil, thème, menu) l'emportent sur les précédents. */

:root {
  --bg: #ffffff;
  --bg2: #ebf2ff;
  --c: #fff;
  --t: #0b1a3a;
  --m: #5b6475;
  --a: #0f4fe0;
  --o: #1a63f5;
  --d: #0a1f5c;
  --b: #d8e3fa;
  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
html {
  scroll-padding-top: env(safe-area-inset-top, 0px);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--t);
  font:
    15px/1.6 "Poppins",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 30;
}
h1,
h2,
h3,
.lg {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 400;
  margin: 0;
}
em {
  color: var(--a);
  font-style: italic;
}
.w {
  max-width: 1100px;
  margin: auto;
  padding: 0 24px;
}
header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 24px;
  max-width: 1100px;
  margin: auto;
  flex-wrap: wrap;
}
.lg {
  font-size: 1.7rem;
  font-weight: 700;
  cursor: pointer;
}
.lg i {
  color: var(--o);
  font-style: normal;
}
.lg small {
  font:
    600 0.7rem "Poppins",
    system-ui;
  letter-spacing: 0.18em;
  color: var(--m);
  margin-left: 8px;
}
nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
nav button {
  background: none;
  border: 0;
  font: inherit;
  font-size: 0.88rem;
  padding: 6px 12px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
nav button.on {
  font-weight: 600;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 13px 26px;
  font:
    600 0.85rem "Poppins",
    system-ui;
  cursor: pointer;
  text-decoration: none;
  background: var(--o);
  color: #fff;
}
.pill.k {
  background: var(--d);
  color: #fff;
}
.pill.k i {
  color: var(--o);
}
.pill.l {
  background: none;
  color: var(--t);
  border: 1px solid var(--b);
}
.pg {
  display: none;
}
.pg.on {
  display: block;
}
.hero {
  position: relative;
  overflow: hidden;
}
.hero .w {
  position: relative;
  z-index: 2;
}
.bdg {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  padding: 8px 18px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}
.bdg:before {
  content: "● ";
  color: var(--o);
}
.hero h1 {
  margin: 28px 0 18px;
}
.hero h1 em {
  display: block;
}
.tags {
  margin-top: 70px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  opacity: 0.85;
}
.tags b {
  color: var(--o);
  margin: 0 8px;
}
.sec.alt {
  background: var(--bg2);
}
.ey {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--a);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hd {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hd span {
  color: var(--m);
  font-size: 0.85rem;
}
.g3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.sv {
  background: var(--c);
  padding: 26px;
}
.ic {
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.sv h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.sv p,
.sv ul {
  color: var(--m);
  font-size: 0.88rem;
  margin: 0 0 16px;
}
.sv ul {
  padding-left: 18px;
}
.sv a {
  color: var(--a);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.pj {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  cursor: pointer;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.pj.big {
  aspect-ratio: 8/7;
}
.pj:before {
  content: "";
  position: absolute;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  left: 30%;
  top: 10%;
  background: rgba(190, 215, 255, 0.4);
}
.pj:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
}
.pj.ph:before {
  display: none;
}
.v0 {
  background-color: #1a63f5;
  background-image: linear-gradient(135deg, #4f9dff, #0f3fb0);
}
.v1 {
  background-image: linear-gradient(135deg, #6db0ff, #1550c8);
}
.v2 {
  background-image: linear-gradient(135deg, #2f7cff, #0a2a85);
}
.v3 {
  background-image: linear-gradient(135deg, #7fbaff, #1a56d0);
}
.pj .tg {
  position: absolute;
  left: 18px;
  top: 18px;
  color: #222;
  border-radius: 99px;
  padding: 5px 14px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  z-index: 2;
  text-transform: uppercase;
}
.pj .tx {
  position: absolute;
  left: 24px;
  right: 70px;
  bottom: 20px;
  z-index: 2;
}
.pj .tx small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
}
.pj .tx h3 {
  font-size: 1.25rem;
  margin-top: 4px;
}
.pj .ar {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f4f1ec;
  color: #222;
  display: grid;
  place-items: center;
  z-index: 2;
}
.pj .pl {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 68px;
  height: 68px;
  margin: -34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.25);
  z-index: 2;
}
.pj .pl:after {
  content: "";
  position: absolute;
  left: 27px;
  top: 21px;
  border: 13px solid transparent;
  border-left: 21px solid #fff;
  border-right: 0;
}
.pj.s .tx h3 {
  font-size: 1rem;
}
.pj.s .tx {
  right: 20px;
}
.g4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.g6 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 30px;
}
.ph1 {
  padding: 64px 0 24px;
}
.ph1 h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  line-height: 1.1;
  margin: 10px 0 18px;
}
.ph1 p {
  color: var(--m);
  max-width: 560px;
  margin: 0;
}
.fl {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 30px 0;
}
.fl .n {
  margin-left: auto;
  color: var(--m);
  font-size: 0.85rem;
}
.ch {
  border: 1px solid var(--b);
  background: var(--c);
  color: var(--t);
  border-radius: 99px;
  padding: 9px 22px;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.cta {
  padding: 52px 0 26px;
}
.cta .r {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cta h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-top: 8px;
}
.cta .ey {
  color: var(--o);
}
.cta .ft {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
  font-size: 0.78rem;
}
.two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: start;
}
input,
select,
textarea {
  width: 100%;
  background: var(--bg);
  color: var(--t);
  border: 1px solid var(--b);
  border-radius: 8px;
  padding: 11px 13px;
  font: inherit;
  margin: 4px 0 12px;
}
label {
  font-size: 0.8rem;
  color: var(--m);
}
#modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
  padding: 20px;
}
#modal.on {
  display: flex;
}
#mb {
  background: var(--c);
  width: 100%;
}
#mb img {
  width: 100%;
  border-radius: 8px;
  margin: 8px 0;
}
#mb iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 8px;
}
.adm {
  border: 1px dashed var(--a);
  border-radius: 12px;
  padding: 20px;
  margin: 30px 0;
}
.adm .r {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--b);
  font-size: 0.88rem;
}
.adm .s {
  background: none;
  border: 1px solid var(--b);
  color: var(--t);
  border-radius: 8px;
  padding: 3px 10px;
  cursor: pointer;
  margin-left: 4px;
}
.pill {
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(26, 99, 245, 0.35);
}
.hero h1 {
  font-size: clamp(2.9rem, 8.5vw, 6rem);
  letter-spacing: -0.025em;
  line-height: 1.02;
}
.hero p {
  font-size: 1.1rem;
  max-width: 440px;
}
.hero .w > * {
  animation: up 0.9s both;
}
.hero .w > *:nth-child(2) {
  animation-delay: 0.1s;
}
.hero .w > *:nth-child(3) {
  animation-delay: 0.2s;
}
.hero .w > *:nth-child(4) {
  animation-delay: 0.3s;
}
.hero .w > *:nth-child(5) {
  animation-delay: 0.4s;
}
@keyframes up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.ph1 {
  animation: up 0.8s both;
}
.mq {
  overflow: hidden;
  padding: 18px 0;
  white-space: nowrap;
}
.mq div {
  display: inline-block;
  animation: mq 28s linear infinite;
  font:
    italic 1.3rem "Playfair Display",
    Georgia,
    serif;
}
.mq span {
  color: var(--o);
  margin: 0 22px;
}
@keyframes mq {
  to {
    transform: translateX(-50%);
  }
}
.sec {
  padding: 96px 0;
}
.hd h2 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  letter-spacing: -0.02em;
}
.sv {
  border-radius: 24px;
  border: 1px solid var(--b);
  box-shadow: none;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.sv:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.12);
}
.ic {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--o), #0f4fe0);
  color: #fff;
  font-size: 1.1rem;
}
.pj {
  border-radius: 24px;
  transition:
    transform 0.35s,
    box-shadow 0.35s;
}
.pj:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.25);
}
.pj:hover .ar {
  background: var(--o);
  transform: rotate(45deg);
}
.pj .ar {
  transition: 0.3s;
}
.pj .tg {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
}
.ch {
  transition: 0.2s;
}
.ch:hover {
  border-color: var(--o);
}
.ch.on {
  background: var(--o);
  color: #fff;
  border-color: var(--o);
}
.rv {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s,
    transform 0.7s;
}
.rv.in {
  opacity: 1;
  transform: none;
}
.stp {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 22px;
  margin-top: 80px;
}
.stp div {
  border-top: 1px solid var(--b);
  padding-top: 18px;
}
.stp b {
  font:
    italic 2.6rem "Playfair Display",
    Georgia,
    serif;
  color: var(--o);
  display: block;
  line-height: 1;
}
.stp h3 {
  font-size: 1.25rem;
  margin: 10px 0 6px;
}
.stp p {
  color: var(--m);
  font-size: 0.88rem;
  margin: 0;
}
@media (max-width: 800px) {
  .hero {
    min-height: 560px;
    padding: 64px 0;
  }
  .sec {
    padding: 64px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .rv {
    opacity: 1;
    transform: none;
  }
}
.sc {
  display: flex;
  gap: 16px;
  align-items: center;
  text-decoration: none;
  color: var(--t);
}
.sc .ic {
  margin: 0;
  flex: none;
}
.sc b {
  display: block;
  font:
    1.15rem "Playfair Display",
    Georgia,
    serif;
}
.sc span {
  color: var(--m);
  font-size: 0.85rem;
}
.zn {
  margin-top: 28px;
  border: 1px dashed var(--o);
  border-radius: 18px;
  padding: 16px 22px;
  color: var(--m);
  font-size: 0.92rem;
}
.zn b {
  color: var(--a);
}
.sb {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--b);
}
.sb.rev .vis {
  order: 2;
}
.vis {
  aspect-ratio: 1;
  border-radius: 32px;
  display: grid;
  place-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  background-size: cover;
}
.vis:before {
  content: "";
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(190, 215, 255, 0.3);
  top: -8%;
  right: -10%;
}
.vis span {
  position: relative;
  font:
    italic 5.5rem "Playfair Display",
    Georgia,
    serif;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}
.sb h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  margin: 6px 0 12px;
}
.sb .in {
  color: var(--m);
  margin: 0 0 20px;
  max-width: 520px;
}
.its {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.it {
  background: var(--c);
  border: 1px solid var(--b);
  border-radius: 16px;
  padding: 14px 16px;
  transition:
    transform 0.25s,
    border-color 0.25s;
}
.it:hover {
  transform: translateY(-3px);
  border-color: var(--o);
}
.it h4 {
  margin: 0 0 4px;
  font:
    1.05rem "Playfair Display",
    Georgia,
    serif;
}
.it p {
  margin: 0;
  color: var(--m);
  font-size: 0.84rem;
}
.faq details {
  border-bottom: 1px solid var(--b);
  padding: 16px 0;
}
.faq summary {
  cursor: pointer;
  font:
    1.15rem "Playfair Display",
    Georgia,
    serif;
  list-style: none;
  display: flex;
  justify-content: space-between;
}
.faq summary:after {
  content: "+";
  color: var(--o);
  font-size: 1.4rem;
}
.faq details[open] summary:after {
  content: "–";
}
.faq p {
  color: var(--m);
  margin: 10px 0 0;
  max-width: 640px;
}
@media (max-width: 800px) {
  .sb {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .sb.rev .vis {
    order: 0;
  }
  .vis {
    aspect-ratio: 16/10;
  }
}
.vis.has span,
.vis.has:before {
  display: none;
}
.cvr {
  display: none;
  aspect-ratio: 16/10;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  margin-bottom: 16px;
}
.cvr.has {
  display: block;
}
.tm {
  background: var(--c);
  border: 1px solid var(--b);
  border-radius: 24px;
  overflow: hidden;
}
.tm .im {
  aspect-ratio: 4/5;
  background: #0f2f80 center/cover;
}
.tm div:last-child {
  padding: 16px 18px;
}
.tm h3 {
  font-size: 1.2rem;
  margin: 0;
}
.tm p {
  color: var(--m);
  margin: 2px 0 0;
  font-size: 0.88rem;
}
#modal {
  background: rgba(8, 8, 8, 0.9);
  backdrop-filter: blur(6px);
}
#mb {
  max-width: 1120px;
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  border-radius: 22px;
  max-height: 92vh;
}
.stg {
  position: relative;
  background: #0c0c0c;
  min-height: 420px;
  height: min(78vh, 720px);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.stg .bg {
  position: absolute;
  inset: -30px;
  background-size: cover;
  background-position: center;
  filter: blur(28px) brightness(0.55);
}
#mb .stg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin: 0;
  border-radius: 0;
}
#mb .stg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.vt {
  width: 62px;
  height: 62px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  opacity: 0.55;
  border: 2px solid transparent;
  font-size: 1.1rem;
}
.vt.on,
.vt:hover {
  opacity: 1;
  border-color: var(--o);
}
#mb .stg iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
}
.stg .nop {
  color: #aaa;
  font-style: italic;
}
.nv {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, 0.88);
  color: #222;
  font-size: 1.6rem;
  line-height: 1;
  z-index: 3;
}
.pv {
  left: 14px;
}
.nx {
  right: 14px;
}
.ct {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border-radius: 99px;
  padding: 3px 12px;
  font-size: 0.75rem;
  z-index: 3;
}
.inf {
  padding: 30px 28px;
  overflow: auto;
  position: relative;
}
.inf .lg {
  font-size: 1.7rem;
  margin: 8px 0 12px;
  line-height: 1.15;
}
.inf p {
  color: var(--m);
}
.cl {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--b);
  background: var(--bg);
  color: var(--t);
  font-size: 1.2rem;
  cursor: pointer;
}
.th {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0;
}
#mb .th img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  opacity: 0.55;
  border: 2px solid transparent;
  transition: 0.2s;
}
#mb .th img.on,
#mb .th img:hover {
  opacity: 1;
  border-color: var(--o);
}
@media (max-width: 800px) {
  #mb {
    grid-template-columns: 1fr;
    overflow: auto;
  }
  .stg {
    height: 56vh;
    min-height: 300px;
  }
  .inf {
    padding: 22px 20px;
  }
}
.lg .logo {
  height: 60px;
  width: auto;
  display: block;
}
@media (max-width: 600px) {
  .lg .logo {
    height: 48px;
  }
}
.gal {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin: 20px 0 8px;
}
.gal:empty {
  display: none;
}
.gal.vid {
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}
#services .gal,
#apropos .gal {
  margin: -20px 0 44px;
}
.gt {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: #111;
}
.gt img,
.gt video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.gt:hover img,
.gt:hover video {
  transform: scale(1.06);
}
.pb {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  margin: -29px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
}
.pb:after {
  content: "";
  position: absolute;
  left: 23px;
  top: 17px;
  border: 12px solid transparent;
  border-left: 19px solid #fff;
  border-right: 0;
}
.cvv {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
}
.si {
  width: 1.15em;
  height: 1.15em;
  fill: currentColor;
  vertical-align: -0.2em;
  flex: none;
}
.ic .si {
  width: 24px;
  height: 24px;
  fill: #fff;
  vertical-align: 0;
}
.bgv {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.bgo {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 20, 46, 0.88), rgba(8, 20, 46, 0.5));
  z-index: 0;
}
.cvr {
  position: relative;
  overflow: hidden;
}
.hero:before,
.hero:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(24px);
  z-index: 0;
  pointer-events: none;
}
.hero:before {
  width: 560px;
  height: 560px;
  right: -140px;
  top: -170px;
  animation: dr 16s ease-in-out infinite;
}
.hero:after {
  width: 480px;
  height: 480px;
  left: -160px;
  bottom: -200px;
  animation: dr 20s ease-in-out infinite reverse;
}
@keyframes dr {
  50% {
    transform: translate(40px, 30px) scale(1.1);
  }
}
.hero .tags {
  opacity: 1;
}
.mq {
  background: var(--bg2);
  color: var(--t);
  border-block: 1px solid var(--b);
}
.cta {
  background: radial-gradient(60% 100% at 90% 0, rgba(26, 99, 245, 0.2), transparent 70%), var(--bg2);
  color: var(--t);
  border-top: 1px solid var(--b);
}
.cta a {
  color: var(--a);
}
.cta .ft {
  opacity: 1;
  color: var(--m);
}
.pj:hover .ar {
  color: #fff;
}
.hero {
  min-height: 0;
}
.hero h1,
.hero p,
.hero .tags {
  color: #fff;
}
.hero h1 {
  margin-top: 30px;
}
.hero {
  padding: 0 0 64px;
}
.hero .hx {
  padding-top: 72px;
}
header {
  background: linear-gradient(90deg, #1550d6, #2a78f5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body::before {
  background: #1550d6;
}
nav button {
  color: rgba(255, 255, 255, 0.86);
}
nav button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
nav button.on {
  color: #fff;
  border-color: #fff;
  background: none;
}
header .pill.k {
  background: #fff;
  color: #0f4fe0;
}
header .pill.k i {
  color: #0f4fe0;
}
header .pill.k:hover {
  box-shadow: 0 10px 24px rgba(8, 30, 90, 0.35);
}

/* Bandeau d'accueil : fond blanc, texte et accents bleus */
.hero {
  background:
    radial-gradient(55% 70% at 90% 0, rgba(26, 99, 245, 0.1), transparent 60%),
    radial-gradient(45% 60% at 0 100%, rgba(26, 99, 245, 0.07), transparent 65%), #fff;
  color: var(--t);
}
.hero:before {
  background: radial-gradient(circle, rgba(26, 99, 245, 0.16), transparent 65%);
}
.hero:after {
  background: radial-gradient(circle, rgba(26, 99, 245, 0.1), transparent 65%);
}
.hero h1 {
  color: var(--d);
}
.hero h1 em {
  color: var(--o);
}
.hero p {
  color: var(--m);
  opacity: 1;
}
.hero .tags {
  color: var(--m);
}
.hero .tags b {
  color: #e8202a;
}
.hero .bdg {
  background: rgba(26, 99, 245, 0.1);
  color: var(--a);
}
.hero .bdg:before {
  color: #e8202a;
}
.hero .pill {
  background: var(--o);
  color: #fff;
}
.hero .pill:hover {
  box-shadow: 0 12px 28px rgba(26, 99, 245, 0.35);
}
.hero.has,
.hero.has h1,
.hero.has p,
.hero.has .tags {
  color: #fff;
}
.hero.has .bdg {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.hero.has .pill {
  background: #fff;
  color: var(--a);
}

/* ===== Bande bleue (services de l'accueil) ===== */
.band {
  background: linear-gradient(135deg, #1a63f5 0%, #0f4fe0 55%, #0a3bb5 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.band:before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -140px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 65%);
}
.band .w {
  position: relative;
}
.band .ey {
  color: #bcd6ff;
}
.band .hd span {
  color: rgba(255, 255, 255, 0.82);
}
.band .sv {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  box-shadow: none;
}
.band .sv:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 22px 44px rgba(5, 25, 90, 0.35);
}
.band .sv p {
  color: rgba(255, 255, 255, 0.86);
}
.band .sv a {
  color: #fff;
}
.band .ic {
  background: #fff;
  color: var(--a);
}

/* ===== Animations d'apparition (décalage progressif) ===== */
.rv {
  transform: translateY(40px) scale(0.98);
}
.rv.in {
  transform: none;
}
.stp > .rv:nth-child(2) {
  transition-delay: 0.12s;
}
.stp > .rv:nth-child(3) {
  transition-delay: 0.24s;
}
.stp > .rv:nth-child(4) {
  transition-delay: 0.36s;
}
.gal > .gt:nth-child(3n + 2) {
  transition-delay: 0.1s;
}
.gal > .gt:nth-child(3n + 3) {
  transition-delay: 0.2s;
}
.hd.rv,
.zn.rv,
.faq details.rv {
  transition-duration: 0.8s;
}

/* ===== Bouton WhatsApp flottant ===== */
.wa-fab {
  position: fixed;
  right: max(18px, env(safe-area-inset-right, 0px));
  bottom: max(18px, calc(env(safe-area-inset-bottom, 0px) + 12px));
  z-index: 25;
  display: flex;
  align-items: center;
  height: 58px;
  padding: 0 14px;
  border-radius: 99px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 12px 30px rgba(18, 140, 70, 0.45);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.wa-fab .si {
  width: 30px;
  height: 30px;
  fill: #fff;
}
.wa-fab span {
  max-width: 0;
  margin-left: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition:
    max-width 0.35s,
    margin-left 0.35s,
    opacity 0.3s;
}
.wa-fab:hover,
.wa-fab:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(18, 140, 70, 0.55);
}
.wa-fab:hover span,
.wa-fab:focus-visible span {
  max-width: 220px;
  margin-left: 10px;
  opacity: 1;
}
.wa-fab:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid #25d366;
  animation: wa-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}
@media (max-width: 700px) {
  .wa-fab span {
    display: none;
  }
}

/* ===== Téléphone : barre de navigation flottante en bas (style application) ===== */
/* PC : le conteneur du menu est « transparent », la mise en page reste celle d'avant */
.menu {
  display: contents;
}
.tabbar {
  display: none;
}
@media (max-width: 800px) {
  .menu {
    display: none;
  }
  .bar {
    justify-content: center;
    flex-wrap: nowrap;
    padding: 6px 16px;
  }
  .lg .logo {
    height: 46px;
  }
  body {
    padding-bottom: 100px;
  }
  .tabbar {
    display: flex;
    position: fixed;
    z-index: 30;
    left: 12px;
    right: 12px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
    height: 66px;
    padding: 6px;
    gap: 2px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid rgba(15, 79, 224, 0.14);
    box-shadow: 0 18px 40px rgba(8, 30, 90, 0.28);
  }
  .tabbar button {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 0;
    border-radius: 20px;
    padding: 0;
    background: none;
    cursor: pointer;
    color: #5b6475;
    font:
      500 0.64rem "Poppins",
      system-ui;
    transition:
      background 0.25s,
      color 0.25s;
  }
  .tabbar svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .tabbar button.on {
    background: linear-gradient(135deg, #1a63f5, #0f4fe0);
    color: #fff;
    box-shadow: 0 8px 18px rgba(15, 79, 224, 0.4);
  }
  .wa-fab {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 92px);
  }
}
