/* Polices hébergées avec le site. Chaque fichier ne se charge que si la page contient ses caractères. */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-vietnamese.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-italic-vietnamese.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-italic-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-cyrillic-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-cyrillic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-vietnamese.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ─────────────────────────────────────────────
   Dael Consulting — feuille de style du site
   Couleurs reprises du logo : rouge → rose → violet, brun du tronc, crème.
   ───────────────────────────────────────────── */

:root {
  --font-display: "Fraunces";
  --font-body: "Manrope";
  --red: #b91c3c;
  --pink: #d6336c;
  --violet: #6b2d8f;
  --violet-deep: #4a1d63;
  --brown: #8b5a3c;
  --cream: #fdfaf7;
  --cream-2: #f7efec;
  --ink: #241a29;
  --ink-soft: #5d5160;
  --night: #1c1220;
  --night-2: #2a1b31;
  --line: #ecdfe4;
  --gradient: linear-gradient(120deg, var(--red) 0%, var(--pink) 45%, var(--violet) 100%);
  --radius: 22px;
  --shadow: 0 24px 60px -28px rgba(75, 25, 60, 0.35);
  --wrap: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body), system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
ol,
ul,
dl,
dd,
figure,
blockquote {
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--font-display), Georgia, serif;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 50;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
}

h4 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.005em;
}

h1 em,
h2 em {
  font-style: italic;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.08em;
}

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  z-index: 100;
}

.skip:focus {
  left: 8px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

/* ───────── Boutons ───────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.btn span {
  transition: transform 0.25s ease;
}

.btn:hover span {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--gradient);
  background-size: 140% 100%;
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(185, 28, 60, 0.7);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px -14px rgba(107, 45, 143, 0.65);
}

.btn--primary:disabled {
  opacity: 0.6;
  cursor: wait;
}

.btn--ghost {
  border-color: rgba(107, 45, 143, 0.35);
  color: var(--violet-deep);
}

.btn--ghost:hover {
  background: rgba(107, 45, 143, 0.07);
}

.btn--sm {
  padding: 0.65rem 1.2rem;
  font-size: 0.9rem;
}

/* ───────── En-tête ───────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 250, 247, 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(236, 223, 228, 0.7);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand__name {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display), Georgia, serif;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand__name small {
  font-family: var(--font-body), sans-serif;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.42em;
  margin-top: 0.3rem;
  color: var(--ink-soft);
}

.nav__links {
  display: flex;
  gap: 2rem;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav__links a {
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.2s;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__end {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* Sélecteur de langue */

.lang {
  position: relative;
  font-size: 0.86rem;
  font-weight: 700;
}

.lang summary {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  cursor: pointer;
  list-style: none;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.lang summary::-webkit-details-marker {
  display: none;
}

.lang summary:hover,
.lang[open] summary {
  color: var(--ink);
  border-color: var(--pink);
}

.lang ul {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 60;
  min-width: 11rem;
  padding: 0.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.lang a {
  display: block;
  padding: 0.45rem 0.7rem;
  border-radius: 9px;
  font-weight: 600;
  color: var(--ink-soft);
}

.lang a:hover {
  background: var(--cream-2);
  color: var(--ink);
}

.lang a[aria-current] {
  color: var(--red);
}

/* ───────── Accueil ───────── */

.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 5vw, 4.5rem);
  overflow: hidden;
  background:
    radial-gradient(52rem 34rem at 96% -8%, rgba(107, 45, 143, 0.13), transparent 62%),
    radial-gradient(40rem 30rem at -8% 30%, rgba(214, 51, 108, 0.1), transparent 60%), var(--cream);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero__copy > * {
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero__copy > :nth-child(2) {
  animation-delay: 0.08s;
}

.hero__copy > :nth-child(3) {
  animation-delay: 0.16s;
}

.hero__copy > :nth-child(4) {
  animation-delay: 0.24s;
}

.lead {
  margin-top: 1.6rem;
  max-width: 36rem;
  font-size: 1.14rem;
  color: var(--ink-soft);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.hero__visual {
  position: relative;
  justify-self: center;
  width: min(100%, 440px);
  animation: rise 1.1s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.orb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 45%, #fff 0%, rgba(255, 255, 255, 0.6) 55%, rgba(255, 255, 255, 0) 72%);
}

.orb__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 90s linear infinite;
}

.orb__logo {
  width: 84%;
  position: relative;
}

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  animation: float 7s ease-in-out infinite;
}

.chip i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.chip--projet {
  left: -4%;
  bottom: 14%;
  color: var(--red);
}

.chip--projet i {
  background: var(--red);
}

.chip--ia {
  right: -4%;
  top: 14%;
  color: var(--violet);
  animation-delay: -3.5s;
}

.chip--ia i {
  background: var(--violet);
}

.chip--management {
  left: -2%;
  top: 6%;
  color: var(--brown);
  animation-delay: -5s;
}

.chip--management i {
  background: var(--brown);
}

.chip--dev {
  right: -2%;
  bottom: 2%;
  color: var(--pink);
  animation-delay: -1.8s;
}

.chip--dev i {
  background: var(--pink);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}

.stats > div {
  padding: 1.6rem 1.5rem 0 0;
}

.stats dt {
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
}

.stats dd {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ───────── Sections ───────── */

.section {
  padding: clamp(4rem, 9vw, 7.5rem) 0;
}

.section--tight {
  padding-top: 0;
}

.section--soft {
  background: var(--cream-2);
}

.head {
  max-width: 44rem;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.head .eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.head p:last-child {
  margin-top: 1.2rem;
  color: var(--ink-soft);
}

.head--left {
  text-align: left;
  margin-inline: 0;
}

.head--left .eyebrow::after {
  display: none;
}

/* ───────── Deux expertises ───────── */

.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.8rem, 4vw, 3.2rem);
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  isolation: isolate;
}

.panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  top: -13rem;
  right: -10rem;
  filter: blur(10px);
}

.panel--projet {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.panel--projet::before {
  background: radial-gradient(circle, rgba(185, 28, 60, 0.16), transparent 68%);
}

.panel--ia {
  background: linear-gradient(160deg, var(--night-2), var(--night));
  color: #f6edf3;
  box-shadow: 0 30px 70px -30px rgba(74, 29, 99, 0.7);
}

.panel--ia::before {
  background: radial-gradient(circle, rgba(140, 70, 190, 0.5), transparent 68%);
}

.panel--ia .eyebrow {
  color: #e39ad0;
}

.panel__text {
  margin-top: 1rem;
  color: var(--ink-soft);
  max-width: 30rem;
}

.panel--ia .panel__text,
.panel--ia li p {
  color: #c9b8cf;
}

.panel__list {
  margin: 2.2rem 0;
  display: grid;
  gap: 0;
}

.panel__list li {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.6rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.panel--ia .panel__list li {
  border-color: rgba(255, 255, 255, 0.12);
}

.panel__list p {
  margin-top: 0.3rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.num {
  font-family: var(--font-display), Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--red);
  padding-top: 0.05rem;
}

.panel--ia .num {
  color: #e39ad0;
}

.panel__cta {
  margin-top: auto;
  display: inline-flex;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--red);
  width: fit-content;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.2rem;
}

.panel--ia .panel__cta {
  color: #f0b6dd;
}

.panel__cta span {
  transition: transform 0.25s;
}

.panel__cta:hover span {
  transform: translateX(5px);
}

/* Animation IA : réseau de points lumineux en fond et demande qui s'écrit toute seule. */

.ai-net {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(200deg, #000 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.25) 100%);
  mask-image: linear-gradient(200deg, #000 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.25) 100%);
}

/* Encadré animé présent dans chaque panneau d'expertise. */

.demo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 3.4rem;
  margin: -0.6rem 0 2rem;
  padding: 0.8rem 1.1rem;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
}

.demo__icon {
  flex: none;
  display: flex;
  align-items: center;
}

.demo__icon i {
  display: none;
}

.demo__text {
  transition: opacity 0.4s ease;
}

.demo__text.is-out {
  opacity: 0;
}

/* Gestion de projet : jalons franchis un à un. */

.demo--projet {
  background: rgba(185, 28, 60, 0.05);
  border: 1px solid rgba(185, 28, 60, 0.18);
}

.demo--projet .demo__icon {
  display: none;
}

.demo__track {
  position: relative;
  flex: 1;
  height: 4px;
  margin: 0 0.5rem;
  border-radius: 4px;
  background: rgba(185, 28, 60, 0.14);
}

.demo__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 4px;
  background: var(--gradient);
  transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo__track b {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(185, 28, 60, 0.3);
  transition:
    background-color 0.4s ease 0.5s,
    border-color 0.4s ease 0.5s,
    transform 0.4s ease 0.5s;
}

.demo__track b.is-on {
  background: var(--red);
  border-color: var(--red);
  transform: scale(1.15);
}

.demo--projet .demo__text {
  flex: none;
  min-width: 6.5rem;
  text-align: right;
  color: var(--red);
}

/* Outils IA et développement : texte qui s'écrit. */

.demo--ia,
.demo--dev {
  font-weight: 500;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(240, 182, 221, 0.3);
  box-shadow: 0 0 34px -10px rgba(214, 51, 108, 0.65);
  color: #fbeff6;
}

.demo--ia .demo__icon {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(120deg, #ff7d9c, #c79bf2);
  animation: ai-pulse 1.8s ease-out infinite;
}

.demo--ia .demo__text::after,
.demo--dev .demo__text::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 3px;
  vertical-align: -0.15em;
  background: #f39bd3;
  animation: ai-caret 0.9s steps(1) infinite;
}

.demo--dev {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.88rem;
  background: rgba(20, 8, 24, 0.38);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none;
  color: #fff;
}

.demo--dev .demo__icon::before {
  content: "›";
  font-size: 1.2rem;
  line-height: 1;
  color: #ffc2d6;
}

.demo--dev .demo__text::after {
  width: 0.55em;
  background: rgba(255, 255, 255, 0.85);
}

/* Management : une équipe qui respire, des mots qui se succèdent. */

.demo--management {
  background: rgba(139, 90, 60, 0.08);
  border: 1px solid #e2cdbd;
  color: #5c3620;
}

.demo--management .demo__icon i {
  display: block;
  width: 18px;
  height: 18px;
  margin-left: -6px;
  border-radius: 50%;
  border: 2px solid #f6ebe3;
  background: var(--red);
  animation: team-breathe 2.4s ease-in-out infinite;
}

.demo--management .demo__icon i:first-child {
  margin-left: 0;
}

.demo--management .demo__icon i:nth-child(2) {
  background: var(--brown);
  animation-delay: 0.3s;
}

.demo--management .demo__icon i:nth-child(3) {
  background: var(--violet);
  animation-delay: 0.6s;
}

/* Motifs animés en fond de panneau. */

.panel__fx {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.fx-gantt {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  width: min(46%, 240px);
  overflow: visible;
}

.fx-gantt rect {
  fill: rgba(185, 28, 60, 0.13);
  transform-box: fill-box;
  transform-origin: left center;
  animation: gantt-grow 8s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.7s);
}

.fx-gantt rect:nth-child(even) {
  fill: rgba(107, 45, 143, 0.13);
}

.fx-gantt line {
  stroke: rgba(185, 28, 60, 0.35);
  stroke-width: 1.5;
  stroke-dasharray: 3 4;
  animation: gantt-today 8s linear infinite;
}

.fx-code span {
  position: absolute;
  left: var(--x);
  bottom: 12%;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: var(--s);
  font-weight: 600;
  color: #fff;
  opacity: 0;
  animation: code-rise 10s linear infinite;
  animation-delay: var(--d);
}

.fx-ripple i,
.fx-ripple b {
  position: absolute;
  top: 4.6rem;
  right: 4.6rem;
  width: 34px;
  height: 34px;
  margin: -17px -17px 0 0;
  border-radius: 50%;
}

.fx-ripple i {
  border: 1.5px solid rgba(139, 90, 60, 0.45);
  opacity: 0;
  animation: ripple 6s ease-out infinite;
}

.fx-ripple i:nth-child(2) {
  animation-delay: 2s;
}

.fx-ripple i:nth-child(3) {
  animation-delay: 4s;
}

.fx-ripple b {
  width: 12px;
  height: 12px;
  margin: -6px -6px 0 0;
  background: var(--gradient);
  animation: team-breathe 3s ease-in-out infinite;
}

@keyframes ai-pulse {
  from {
    box-shadow: 0 0 0 0 rgba(243, 155, 211, 0.6);
  }

  to {
    box-shadow: 0 0 0 12px rgba(243, 155, 211, 0);
  }
}

@keyframes ai-caret {
  50% {
    opacity: 0;
  }
}

@keyframes team-breathe {
  50% {
    transform: scale(1.22);
  }
}

@keyframes gantt-grow {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }

  14%,
  82% {
    transform: scaleX(1);
    opacity: 1;
  }

  100% {
    transform: scaleX(1);
    opacity: 0;
  }
}

@keyframes gantt-today {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(240px);
  }
}

@keyframes code-rise {
  0% {
    transform: translateY(0);
    opacity: 0;
  }

  15%,
  70% {
    opacity: 0.3;
  }

  100% {
    transform: translateY(-340px);
    opacity: 0;
  }
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  100% {
    transform: scale(9);
    opacity: 0;
  }
}

.panel--dev {
  background: linear-gradient(120deg, #a01835 0%, #b3295d 45%, #5b2580 100%);
  color: #fff;
  box-shadow: 0 30px 70px -30px rgba(160, 24, 53, 0.6);
}

.panel--dev::before {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 68%);
}

.panel--dev .eyebrow,
.panel--dev .num,
.panel--dev .panel__cta {
  color: #fff;
}

.panel--dev .panel__text,
.panel--dev li p {
  color: rgba(255, 255, 255, 0.86);
}

.panel--dev .panel__list li {
  border-color: rgba(255, 255, 255, 0.28);
}

.panel--management {
  background: #f6ebe3;
  border: 1px solid #ead8cb;
}

.panel--management::before {
  background: radial-gradient(circle, rgba(139, 90, 60, 0.22), transparent 68%);
}

.panel--management .eyebrow,
.panel--management .num,
.panel--management .panel__cta {
  color: #7a4a2e;
}

.panel--management .panel__list li {
  border-color: #e2cdbd;
}

/* ───────── IA × Projet ───────── */

.bridge {
  position: relative;
  padding: clamp(1.8rem, 4vw, 3.2rem);
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(var(--cream), var(--cream)) padding-box,
    var(--gradient) border-box;
  border: 1.5px solid transparent;
  display: grid;
  gap: clamp(1.8rem, 4vw, 2.8rem);
}

.bridge__head {
  max-width: 46rem;
}

.bridge__head p:last-child {
  margin-top: 1rem;
  color: var(--ink-soft);
}

.bridge__head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.bridge__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.8rem;
}

.bridge__items li {
  padding-top: 1.1rem;
  border-top: 2px solid;
  border-image: var(--gradient) 1;
}

.bridge__items p {
  margin-top: 0.45rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ───────── Méthode ───────── */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr));
  gap: 1.5rem;
}

.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 28px;
  right: 12%;
  height: 1px;
  background: var(--gradient);
  opacity: 0.5;
}

.steps li {
  position: relative;
}

.steps__dot {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background:
    linear-gradient(var(--cream), var(--cream)) padding-box,
    var(--gradient) border-box;
  border: 1.5px solid transparent;
  font-family: var(--font-display), Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--violet-deep);
  margin-bottom: 1.4rem;
}

.steps h4 {
  font-family: var(--font-display), Georgia, serif;
  font-weight: 500;
  font-size: 1.45rem;
}

.steps p {
  margin-top: 0.5rem;
  font-size: 0.96rem;
  color: var(--ink-soft);
  max-width: 17rem;
}

/* ───────── À propos ───────── */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.about__copy > p:not(.eyebrow) {
  margin-top: 1.4rem;
  color: var(--ink-soft);
}

.quote {
  margin-top: 2.4rem;
  padding-left: 1.4rem;
  border-left: 2px solid;
  border-image: var(--gradient) 1;
}

.quote blockquote {
  font-family: var(--font-display), Georgia, serif;
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.4;
}

.quote figcaption {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.values li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.values li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.values li:nth-child(even) {
  translate: 0 1.6rem;
}

.values h4::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient);
  margin-bottom: 0.9rem;
}

.values p {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ───────── FAQ ───────── */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(1.5rem, 5vw, 4rem);
}

.faq .head {
  margin-bottom: 0;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 0;
  font-family: var(--font-display), Georgia, serif;
  font-size: 1.25rem;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-family: var(--font-body), sans-serif;
  font-size: 1.1rem;
  color: var(--red);
  transition: transform 0.3s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 3rem 1.5rem 0;
  color: var(--ink-soft);
}

/* ───────── Contact ───────── */

.contact {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) 0;
  background:
    radial-gradient(46rem 30rem at 100% 0%, rgba(140, 70, 190, 0.35), transparent 62%),
    radial-gradient(40rem 28rem at 0% 100%, rgba(185, 28, 60, 0.3), transparent 62%), var(--night);
  color: #f6edf3;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact .eyebrow {
  color: #f0a3c6;
}

.contact h2 em {
  background: linear-gradient(120deg, #ff7d9c, #f39bd3 45%, #c79bf2);
  -webkit-background-clip: text;
  background-clip: text;
}

.contact__copy > p:not(.eyebrow) {
  margin-top: 1.4rem;
  color: #c9b8cf;
  max-width: 30rem;
}

.coords {
  margin-top: 2.4rem;
  display: grid;
  gap: 1.1rem;
}

.coords dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a893b0;
}

.coords dd {
  margin-top: 0.15rem;
  font-size: 1.05rem;
}

.coords a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.coords a:hover {
  border-color: #fff;
}

.form {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.form label {
  display: grid;
  gap: 0.4rem;
}

.form label span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #c9b8cf;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: #fff;
  background: rgba(20, 10, 24, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  transition: border-color 0.2s;
}

.form select option {
  color: var(--ink);
}

.form textarea {
  resize: vertical;
  min-height: 8rem;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: #f39bd3;
  box-shadow: 0 0 0 3px rgba(243, 155, 211, 0.2);
}

.form .btn {
  justify-self: start;
  margin-top: 0.3rem;
}

.form__trap {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__error {
  color: #ffb3c1;
  font-size: 0.92rem;
}

.form--done {
  justify-items: start;
  gap: 1rem;
  font-size: 1.1rem;
}

.form__check {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  font-weight: 700;
}

/* ───────── Pied de page ───────── */

.footer {
  background: var(--cream);
  padding: 3.5rem 0 2rem;
  font-size: 0.94rem;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 34rem;
  color: var(--ink-soft);
}

.footer__brand img {
  width: 120px;
  flex: none;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.8rem;
  font-weight: 600;
  padding-top: 0.6rem;
}

.footer nav a:hover {
  color: var(--red);
}

.footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.footer__badge img {
  width: 280px;
  max-width: 100%;
}

/* ───────── Langues à écriture non latine ───────── */

:lang(zh) {
  --font-display: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun";
  --font-body: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei";
}

:lang(ja) {
  --font-display: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP";
  --font-body: "Hiragino Sans", "Yu Gothic", "Noto Sans CJK JP", "Meiryo";
}

/* Pas d'italique penché artificiellement, ni de lettres espacées, pour le chinois et le japonais. */
:lang(zh) em,
:lang(ja) em,
:lang(zh) .num,
:lang(ja) .num,
:lang(zh) blockquote,
:lang(ja) blockquote {
  font-style: normal;
}

:lang(zh) h1,
:lang(zh) h2,
:lang(zh) h3,
:lang(ja) h1,
:lang(ja) h2,
:lang(ja) h3 {
  letter-spacing: 0;
  line-height: 1.25;
  font-weight: 600;
}

:lang(zh) .eyebrow,
:lang(ja) .eyebrow {
  letter-spacing: 0.1em;
}

/* ───────── Animations ───────── */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes float {
  50% {
    transform: translateY(-9px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Sans JavaScript, tout reste visible. */
@media (scripting: none) {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ───────── Mobile ───────── */

@media (max-width: 920px) {
  .nav__links {
    display: none;
  }

  .hero__grid,
  .duo,
  .about,
  .faq,
  .contact__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__visual {
    order: -1;
    width: min(74%, 320px);
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.2rem 1.5rem;
  }

  .steps::before {
    display: none;
  }

  .values li:nth-child(even) {
    translate: none;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 1rem;
  }

  .brand__name {
    font-size: 1.15rem;
  }

  .nav__inner {
    gap: 0.6rem;
  }

  .nav__end {
    gap: 0.4rem;
  }

  .nav .btn--sm {
    padding: 0.55rem 0.8rem;
    font-size: 0.8rem;
  }

  .lang summary {
    padding: 0.45rem 0.55rem;
  }

  .form__row,
  .values,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__cta .btn {
    width: 100%;
  }

  .chip {
    font-size: 0.7rem;
    padding: 0.45rem 0.8rem;
  }

  .footer__brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .faq details p {
    padding-right: 0;
  }
}
