@import url("./fonts.css");

:root {
  --bg-halo: #5E2D7E;
  --bg-deep: #3A1652;
  --bg-edge: #1C0829;
  --violet: #8549CF;
  --pink: #E07BD6;
  --lavender: #A57AEE;
  --pale: #F6DDF4;
  --ink-light: #F6E9FB;
  --ink: #5A2470;
  --ink-soft: #7d5a8f;
  --page: #FBF5FC;
  --card: #FFFFFF;
  --line: rgba(90, 36, 112, 0.12);
  --grad: linear-gradient(135deg, var(--violet) 0%, var(--pink) 100%);
  --grad-shine: linear-gradient(110deg, var(--violet) 0%, var(--pink) 50%, var(--violet) 100%);
  --radius: 22px;
  --shadow: 0 1px 2px rgba(58, 22, 82, 0.05), 0 12px 32px -12px rgba(58, 22, 82, 0.18);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--page);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
strong, b { font-weight: 600; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; }
p { margin: 0; }
a { color: inherit; }
img, svg, canvas { display: block; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.grad-text {
  background-image: var(--grad-shine);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shine 7s ease-in-out infinite alternate;   /* reflet qui glisse lentement */
}
@keyframes shine { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 500 16px/1 inherit; font-family: inherit; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 10px 26px -10px rgba(224, 123, 214, .7); }
.btn-grad:hover { box-shadow: 0 14px 32px -10px rgba(224, 123, 214, .9); }
.btn-ghost { color: var(--ink-light); border-color: rgba(246, 233, 251, .35); background: rgba(246, 233, 251, .06); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(246, 233, 251, .7); background: rgba(246, 233, 251, .12); }
.btn-outline { color: var(--ink); border-color: rgba(90, 36, 112, .25); background: transparent; }
.btn-outline:hover { border-color: var(--violet); color: var(--violet); }

/* ---------- en-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  height: 72px; padding: 0 var(--gutter);
  color: var(--ink-light);
  transition: background-color .35s, color .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header.is-scrolled { background: rgba(28, 8, 41, .55); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.site-header.is-light { background: rgba(251, 245, 252, .82); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-text { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; }
.brand-text span { font-weight: 400; opacity: .75; }
.site-nav { display: flex; gap: 26px; }
.site-nav a { text-decoration: none; font-size: 15px; opacity: .8; position: relative; padding: 6px 0; transition: opacity .2s; }
.site-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav a:hover { opacity: 1; }
.site-nav a:hover::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 25px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 72px 0 0 0; z-index: 49;
  display: flex; flex-direction: column; gap: 6px; padding: 24px var(--gutter);
  background: var(--page);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { font-size: 26px; font-weight: 500; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 20px; }
body.menu-open .site-header { background: var(--page); color: var(--ink); }

/* ---------- accueil ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding: 72px 0 clamp(40px, 7vh, 72px);
  background:
    radial-gradient(120% 85% at 50% 12%, var(--bg-halo) 0%, var(--bg-deep) 42%, var(--bg-edge) 88%),
    var(--bg-edge);
  color: var(--ink-light);
  overflow: hidden;
  isolation: isolate;
}
.hero::after {   /* fondu vers la page claire */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(246, 233, 251, .08);
}
.hero-stage { position: relative; flex: 1 1 auto; min-height: 54vh; width: 100%; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.hero-fallback { display: none; }
.hero-stage.no-webgl .hero-fallback {
  display: block; position: absolute; left: 50%; top: 50%; width: min(70%, 420px); aspect-ratio: 3 / 2; transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 18% 38%, var(--violet) 0 13%, transparent 13.5%),
    linear-gradient(var(--pink), var(--pink)) 50% 58% / 92% 5% no-repeat,
    conic-gradient(from 150deg at 50% 64%, transparent 0 60deg, transparent 0) ;
  border-radius: 24px;
}
.hero-copy {
  position: relative; z-index: 2;
  width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 var(--gutter);
  text-align: center;
}
.hero h1 {
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: 600; letter-spacing: -0.03em; color: var(--ink-light);
  text-wrap: balance;
}
.hero h1 .grad-text { background-image: linear-gradient(110deg, #F6E9FB 0%, #F3B6EC 30%, #FFFFFF 50%, #F3B6EC 70%, #F6E9FB 100%); }
.hero-lead strong { color: var(--ink-light); font-weight: 600; }
.hero-lead { max-width: 720px; margin: 18px auto 0; font-size: clamp(16px, 1.4vw, 18px); color: rgba(246, 233, 251, .78); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* la phrase apparaît une fois la tour stable */
.js .hero-copy > * { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .hero-copy > h1 { opacity: 1; transform: none; }   /* le titre est animé mot par mot */
.hero-ready .hero-copy > * { opacity: 1; transform: none; }
.hero-ready .hero-copy > :nth-child(2) { transition-delay: .55s; }
.hero-ready .hero-copy > :nth-child(3) { transition-delay: .75s; }

/* ---------- sections claires ---------- */
.section { padding: clamp(72px, 11vw, 140px) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.eyebrow-light { color: #F3B6EC; }
.section-title { font-size: clamp(32px, 4.6vw, 56px); max-width: 16ch; letter-spacing: -0.03em; text-wrap: balance; }
.statement { font-size: clamp(36px, 6vw, 76px); max-width: 15ch; letter-spacing: -0.035em; text-wrap: balance; }
.lead { max-width: 640px; margin-top: 22px; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-soft); text-wrap: pretty; }

.difference { background: var(--page); }
.figures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: clamp(48px, 7vw, 80px) 0 0; border-top: 1px solid var(--line); }
.figure { padding: 28px 24px 0 0; }
.figure + .figure { padding-left: 24px; border-left: 1px solid var(--line); }
.figure dt { font-size: clamp(44px, 6vw, 72px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; background: var(--grad-shine) 0 0 / 200% 100%; animation: shine 7s ease-in-out infinite alternate; -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.figure dd { margin: 10px 0 0; color: var(--ink-soft); max-width: 36ch; text-wrap: pretty; }

/* services */
.services { background: #fff; }
.group { margin-top: clamp(48px, 6vw, 72px); }
.group-head { display: flex; align-items: baseline; gap: 14px; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.group-head h3 { font-size: clamp(24px, 2.6vw, 32px); }
.group-num { font-size: 14px; font-weight: 500; color: var(--violet); font-variant-numeric: tabular-nums; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 26px; border-radius: var(--radius);
  background: var(--page); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(133, 73, 207, .25); }
.card h4 { font-size: 19px; letter-spacing: -0.015em; line-height: 1.2; }
.card h4 small { font-size: .78em; font-weight: 400; color: var(--ink-soft); }
.card p { color: var(--ink-soft); font-size: 15.5px; }
.card-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--pale); color: var(--violet); margin-bottom: 6px; }
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card-feature { background: linear-gradient(160deg, #fff 0%, var(--pale) 100%); border-color: rgba(224, 123, 214, .35); }
.card-feature .card-icon { background: var(--grad); color: #fff; }
.price-tag { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--violet) !important; }

/* cartes retournables (services) */
.card.flip { padding: 0; background: none; border: 0; perspective: 1400px; }
.card.flip:hover { transform: none; box-shadow: none; }
.flip-inner {
  position: relative; display: grid; flex: 1;
  transform-style: preserve-3d;
  transition: transform .75s cubic-bezier(.3, .75, .25, 1.15);
  cursor: pointer; border-radius: var(--radius);
  -webkit-tap-highlight-color: transparent;
}
.flip-inner:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; }
.card.is-flipped .flip-inner,
.price-flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.face {
  position: relative;
  grid-area: 1 / 1;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 190px; padding: 26px;
  border-radius: var(--radius); border: 1px solid var(--line);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  transition: box-shadow .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.face.front { background: var(--page); }
.face.front h4 { font-size: 21px; max-width: 16ch; }
.card-feature .face.front { background: linear-gradient(160deg, #fff 0%, var(--pale) 100%); border-color: rgba(224, 123, 214, .35); }
.card.flip:not(.is-flipped):hover .face.front { box-shadow: var(--shadow); border-color: rgba(133, 73, 207, .3); transform: translateY(-3px); }
.face.back {
  transform: rotateY(180deg);
  background: var(--grad); border-color: transparent; color: #fff;
  box-shadow: 0 18px 40px -18px rgba(133, 73, 207, .6);
}
.face.back p { color: rgba(255, 255, 255, .92); font-size: 15.5px; }
.face.back .back-title { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.face.back .price-tag { color: #fff !important; }
/* petits repères : « + » pour retourner, flèche pour revenir */
.flip-more, .flip-back {
  position: absolute; right: 18px; bottom: 18px;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  transition: transform .35s var(--ease), background-color .35s;
}
.flip-more { background: var(--pale); color: var(--violet); }
.flip-more::before, .flip-more::after { content: ''; position: absolute; width: 12px; height: 2px; border-radius: 2px; background: currentColor; }
.flip-more::after { transform: rotate(90deg); }
.card.flip:hover .flip-more,
.price-flip:not(.is-flipped):hover .flip-more { transform: rotate(90deg); background: var(--grad); color: #fff; }
.flip-back { background: rgba(255, 255, 255, .2); }
.flip-back::before { content: '\21BA'; color: #fff; font-size: 17px; line-height: 1; }
.face.back { padding-bottom: 60px; }

/* tarif unique */
.price-flip { max-width: 760px; margin-top: clamp(40px, 6vw, 64px); perspective: 1600px; }
.price-flip .face { padding: clamp(28px, 4vw, 44px); border-radius: 28px; }
.price-flip .face.front {
  min-height: 300px; justify-content: center; gap: 14px;
  background: linear-gradient(160deg, #fff 0%, var(--pale) 100%); border-color: rgba(224, 123, 214, .35);
}
.price-flip:not(.is-flipped):hover .face.front { box-shadow: var(--shadow); transform: translateY(-3px); }
.price-kicker { font-size: 14px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); }
.price-flip .price-value { font-size: clamp(76px, 11vw, 132px); }
.price-flip .price-unit { font-size: clamp(18px, 2vw, 22px); }
.price-sub { color: var(--ink-soft); font-size: 17px; }
.price-vat { color: var(--ink-soft); font-size: 13.5px; opacity: .85; }
.figure .vat { display: block; margin-top: 4px; font-size: 13px; opacity: .8; }
.price-flip .flip-more, .price-flip .flip-back { right: 24px; bottom: 24px; width: 40px; height: 40px; }
.price-list { list-style: none; margin: 4px 0 0; padding: 0; columns: 2; column-gap: 32px; }
.price-list li { position: relative; break-inside: avoid; padding: 0 0 12px 26px; color: #fff; font-weight: 500; font-size: 16px; line-height: 1.35; }
.price-list li::before {
  content: ''; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(255, 255, 255, .22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.price-list small { display: block; font-weight: 400; font-size: 13.5px; color: rgba(255, 255, 255, .75); }
@media (max-width: 640px) { .price-list { columns: 1; } }

/* méthode */
.method { background: var(--page); }
.steps { list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 28px 24px 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step:not(:last-child)::after { content: ''; position: absolute; top: 50px; right: -18px; width: 18px; height: 2px; background: var(--grad); opacity: .5; }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 600; font-size: 18px; margin-bottom: 22px; }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); }

/* tarifs */
.pricing { background: #fff; }
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: clamp(40px, 6vw, 64px); }
.price-card { display: flex; flex-direction: column; gap: 18px; padding: clamp(26px, 3.5vw, 40px); border-radius: 28px; background: var(--page); border: 1px solid var(--line); }
.price-card:first-child { background: linear-gradient(160deg, #fff 0%, var(--pale) 100%); border-color: rgba(224, 123, 214, .35); }
.price-card h3 { font-size: 22px; }
.price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-value { font-size: clamp(48px, 6vw, 64px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; background: var(--grad-shine) 0 0 / 200% 100%; animation: shine 7s ease-in-out infinite alternate; -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-unit { color: var(--ink-soft); }
.ticks { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238549CF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.price-card .btn { margin-top: auto; align-self: flex-start; }

/* équipe */
.team { background: var(--page); }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: clamp(40px, 6vw, 64px); }
.person { display: flex; gap: 22px; padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: #fff; border: 1px solid var(--line); }
.avatar { flex: none; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.avatar-alt { background: linear-gradient(135deg, var(--lavender), var(--pink)); }
.person h3 { font-size: 24px; margin-bottom: 12px; }
.person h3 span { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--violet); }
.person p { color: var(--ink-soft); }
.person h3 { margin-bottom: 6px; }
.person-body { display: flex; flex-direction: column; gap: 12px; }
.person .person-role { color: var(--ink); font-weight: 500; font-size: 15.5px; }
.person .person-force { margin-top: auto; padding: 12px 16px; border-radius: 16px; background: var(--pale); color: var(--ink); font-weight: 500; }
.person-force span { display: block; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); margin-bottom: 2px; }

/* complémentarité */
.duo {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  margin-top: 20px; padding: clamp(28px, 4vw, 48px); border-radius: 28px;
  background: radial-gradient(120% 120% at 0% 0%, var(--bg-halo) 0%, var(--bg-deep) 50%, var(--bg-edge) 100%);
  color: var(--ink-light);
}
.team-title { max-width: 22ch; }
/* sens du nom Banso (伴走) */
.name-meaning {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 28px);
  max-width: 720px; margin-top: 28px; padding: 20px clamp(20px, 3vw, 28px);
  border-radius: 22px; background: #fff; border: 1px solid var(--line);
}
.name-meaning .kanji {
  flex: none; font-size: clamp(40px, 6vw, 60px); line-height: 1; font-weight: 600;
  font-family: 'Hiragino Sans', 'Yu Gothic', 'Noto Sans JP', 'Noto Sans CJK JP', sans-serif;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.name-meaning p { font-size: clamp(16px, 1.5vw, 18px); color: var(--ink-soft); }
.name-meaning strong { color: var(--ink); font-weight: 600; }
.team-intro { display: grid; gap: 14px; max-width: 720px; margin-top: 24px; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-soft); }
.duo-text { display: grid; gap: 14px; }
.duo-text .eyebrow { margin-bottom: 0; }
.duo-kicker { margin-bottom: 8px; color: rgba(246, 233, 251, .7); font-size: 15px; }
.duo-text p:not(.eyebrow) { color: rgba(246, 233, 251, .82); font-size: 17px; }
.duo-quote { margin: 0; }
.duo-quote blockquote {
  margin: 0; font-size: clamp(24px, 2.8vw, 34px); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em;
  background: linear-gradient(110deg, #F6E9FB 0%, #F3B6EC 50%, #C9A2F5 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-wrap: balance;
}
.duo-quote blockquote::before { content: '“'; display: block; font-size: 2.2em; line-height: .6; margin-bottom: .1em; color: var(--pink); -webkit-text-fill-color: var(--pink); }
.duo-quote figcaption { margin-top: 14px; color: rgba(246, 233, 251, .65); font-size: 15px; }

/* FAQ */
.faq { background: #fff; }
.faq-list { max-width: 860px; margin-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 56px 22px 0; font-size: clamp(17px, 1.6vw, 20px); font-weight: 500; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after, .faq-item summary::before {
  content: ''; position: absolute; right: 12px; top: 50%; width: 14px; height: 2px; border-radius: 2px;
  background: var(--violet); transition: transform .3s var(--ease);
}
.faq-item summary::before { transform: rotate(90deg); }
.faq-item[open] summary::before { transform: rotate(0deg); }
.faq-item summary:hover { color: var(--violet); }
.faq-item summary:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; border-radius: 6px; }
.faq-answer { padding: 0 56px 24px 0; color: var(--ink-soft); font-size: 16.5px; max-width: 72ch; }

/* ---------- contact (sombre, comme l'accueil) ---------- */
.contact {
  position: relative; color: var(--ink-light);
  background: radial-gradient(110% 80% at 20% 0%, var(--bg-halo) 0%, var(--bg-deep) 45%, var(--bg-edge) 100%);
  padding-top: clamp(72px, 11vw, 140px);
}
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-title { font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.035em; max-width: 12ch; }
.contact-title .grad-text { background-image: linear-gradient(110deg, #C9A2F5 0%, #F3B6EC 50%, #C9A2F5 100%); }
.contact-lead { margin-top: 20px; font-size: 18px; color: rgba(246, 233, 251, .78); max-width: 34ch; }
.contact-links { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 4px; }
.contact-links a { display: inline-flex; gap: 8px; font-size: clamp(17px, 1.8vw, 21px); font-weight: 500; text-decoration: none; padding: 6px 0; border-bottom: 1px solid rgba(246, 233, 251, .2); transition: border-color .25s, color .25s; word-break: break-all; }
.contact-links a:hover { border-color: var(--pink); color: #fff; }
.contact-links a { align-items: center; }
.wa-icon { width: 1.1em; height: 1.1em; flex: none; fill: #F3B6EC; }
.contact-card {
  padding: clamp(22px, 3vw, 34px); border-radius: 28px;
  background: rgba(246, 233, 251, .07); border: 1px solid rgba(246, 233, 251, .16);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5);
}
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field span { font-size: 14px; font-weight: 500; color: rgba(246, 233, 251, .85); }
.field em { font-style: normal; color: var(--pink); }
.field small { font-weight: 400; opacity: .6; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px;
  font: 400 16px/1.4 inherit; font-family: inherit; color: var(--ink-light);
  background: rgba(28, 8, 41, .45); border: 1px solid rgba(246, 233, 251, .16);
  transition: border-color .25s, background-color .25s, box-shadow .25s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(246, 233, 251, .38); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--pink); background: rgba(28, 8, 41, .6); box-shadow: 0 0 0 4px rgba(224, 123, 214, .18); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.card-note { font-size: 13.5px; color: rgba(246, 233, 251, .55); max-width: 30ch; }
.site-footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: clamp(56px, 8vw, 100px); padding-bottom: 32px; font-size: 14px; color: rgba(246, 233, 251, .55); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink-light); }

/* ---------- mentions légales ---------- */
.legal-link { text-decoration: none; }
.legal-link:hover { color: var(--ink-light); }
.legal {
  width: min(760px, calc(100% - 32px)); max-height: min(86vh, 900px);
  padding: 0; border: 0; border-radius: 26px;
  background: #fff; color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(28, 8, 41, .6);
}
.legal::backdrop { background: rgba(28, 8, 41, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.legal-inner { position: relative; padding: clamp(24px, 4vw, 44px); }
.legal h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 48px 8px 0; }
.legal h3 { font-size: 17px; margin: 28px 0 10px; color: var(--violet); }
.legal p, .legal li { color: var(--ink-soft); font-size: 15.5px; }
.legal p + p { margin-top: 10px; }
.legal ul { margin: 10px 0; padding-left: 20px; display: grid; gap: 8px; }
.legal a { color: var(--violet); }
.legal-close {
  position: sticky; top: 0; float: right; margin: -8px -8px 0 0;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--pale); color: var(--ink); font-size: 26px; line-height: 1;
}
.legal-close:hover { background: var(--grad); color: #fff; }
/* informations à compléter avant la mise en ligne */
.todo { background: #FFF1A8; color: #5A4300 !important; padding: 0 4px; border-radius: 4px; font-weight: 500; }

/* ---------- apparitions ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .site-nav { gap: 18px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
}
@media (max-width: 860px) {
  .site-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .contact-inner, .team-grid, .price-grid, .duo { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-header { height: 64px; }
  .mobile-menu { inset: 64px 0 0 0; }
  .brand-text { font-size: 15.5px; }
  .hero { padding-top: 64px; }
  .hero-stage { min-height: 50vh; }
  .hero-actions .btn { flex: 1 1 100%; }
  .cards, .cards-2, .steps { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr; }
  .figure, .figure + .figure { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .person { flex-direction: column; }
  .field-grid { grid-template-columns: 1fr; }
  .card-foot .btn { width: 100%; }
}
/* ---------- titre de l'accueil : lettres qui réagissent au survol ---------- */
#hero-title .ch { display: inline-block; --c: var(--ink-light); color: var(--c); }
#hero-title .ch.hl { --c: #F3B6EC; }
#hero-title .ch.bump { animation: letter-bump .95s cubic-bezier(.25, .7, .3, 1); }
#hero-title .ch.bump-soft { animation: letter-bump-soft .8s cubic-bezier(.25, .7, .3, 1); }
@keyframes letter-bump {
  0%   { transform: none; }
  16%  { transform: translateY(-.32em) rotate(-10deg) scale(1.12); color: #E07BD6; text-shadow: 0 0 22px rgba(224, 123, 214, .65); }
  38%  { transform: translateY(.05em) rotate(6deg) scale(.97); }
  58%  { transform: translateY(-.08em) rotate(-3deg); }
  78%  { transform: translateY(0) rotate(1.2deg); }
  100% { transform: none; color: var(--c); text-shadow: none; }
}
@keyframes letter-bump-soft {
  0%   { transform: none; }
  22%  { transform: translateY(-.14em) rotate(-4deg); color: #F3B6EC; }
  55%  { transform: translateY(.02em) rotate(2deg); }
  100% { transform: none; color: var(--c); }
}

/* ---------- titres mot par mot ---------- */
.split .wi {
  display: inline-block;
  opacity: 0; transform: translateY(.42em) rotate(3deg); filter: blur(10px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), filter .45s var(--ease);
  transition-delay: calc(var(--i) * 18ms);
}
.split .wi.grad-text { padding-bottom: .1em; margin-bottom: -.1em; }
.split.is-words-in .wi,
.hero-title-on #hero-title .wi {
  opacity: 1; transform: none; filter: blur(0);
  transition-duration: .9s;
  transition-delay: calc(var(--i) * 75ms);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
