/* KAME GROUP — feuille de style principale
   Couleurs et typographies de la charte graphique (Cinzel / Lato). */

:root {
  --turq: #159E96;
  --turq-dark: #0E7C75;
  --petrol: #145B63;
  --petrol-deep: #0F4C53;
  --copper: #B8734F;
  --copper-dark: #9A5B3C;
  --graphite: #27343B;
  --muted: #4A5A61;
  --tint: #F2F7F7;
  --line: #D6E5E5;
  --mint: #9FE1DA;
  --honey: #E8A93A;
  --navy: #12304A;
  --header-h: 76px;
  --font-title: 'Cinzel', Georgia, 'Times New Roman', serif;
  --font-text: 'Lato', 'Segoe UI', Helvetica, Arial, sans-serif;
  --hex: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 28px); }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--graphite);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--turq-dark); }
a:hover { color: var(--petrol); }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

/* Langues : chaque texte existe en français et en anglais */
html[lang="fr"] .t-en,
html[lang="en"] .t-fr { display: none !important; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }

.skip-link {
  position: absolute; left: -9999px; top: 10px; z-index: 200;
  background: #fff; color: var(--petrol); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { left: 16px; }

/* ---------- Titres et textes ---------- */
.title { font-family: var(--font-title); font-weight: 600; color: var(--petrol); line-height: 1.15; letter-spacing: 0.01em; }
.h2 { font-size: clamp(30px, 3.6vw, 42px); text-wrap: balance; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--turq-dark); }
.bar { display: block; width: 64px; height: 4px; background: var(--copper); border-radius: 2px; }
.lead { font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 660px; text-wrap: pretty; }
.section { padding: 96px 0; position: relative; }
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; margin-bottom: 44px; }
.bg-tint { background: var(--tint); }
@media (max-width: 640px) { .section { padding: 72px 0; } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 8px; border: 1.5px solid transparent;
  font: 700 16px/1.2 var(--font-text); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--turq-dark); color: #fff; }
.btn-primary:hover { background: var(--petrol); color: #fff; }
.btn-light { background: #fff; color: var(--petrol); }
.btn-light:hover { background: var(--mint); color: var(--petrol); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { background: #fff; color: var(--turq-dark); border-color: var(--turq-dark); }
.btn-outline:hover { background: var(--turq-dark); color: #fff; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--petrol); color: #fff; }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; flex-shrink: 0; }
.brand:hover { color: #fff; }
.hex-badge {
  width: 54px; height: 47px; flex-shrink: 0; background: #fff; clip-path: var(--hex);
  display: flex; align-items: center; justify-content: center;
}
.hex-badge img { height: 36px; width: auto; }
.brand-name { font-family: var(--font-title); font-weight: 600; font-size: 20px; letter-spacing: 0.06em; white-space: nowrap; }
.header-spacer { flex: 1 1 auto; }
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border: 1.5px solid rgba(255,255,255,.55); border-radius: 999px; flex-shrink: 0; }
.lang-switch button {
  font: 700 13px/1 var(--font-text); letter-spacing: .06em; color: #fff; background: transparent;
  border: 0; border-radius: 999px; padding: 8px 11px; min-height: 32px; cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { background: #fff; color: var(--petrol); }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a, .link-login {
  color: rgba(255,255,255,.92); text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap;
}
.main-nav a:hover, .link-login:hover, .main-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--copper); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.menu-toggle, .drawer-close {
  width: 46px; height: 46px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1.5px solid rgba(255,255,255,.55); background: transparent; color: #fff; cursor: pointer;
}
.menu-toggle:hover, .drawer-close:hover { background: rgba(255,255,255,.12); }
@media (max-width: 1140px) { .main-nav { display: none; } }
@media (max-width: 760px) { .link-login, .header-actions .btn { display: none; } }
@media (max-width: 430px) {
  .header-inner { gap: 10px; }
  .hex-badge { width: 46px; height: 40px; }
  .hex-badge img { height: 30px; }
  .brand-name { font-size: 15px; }
  .lang-switch button { padding: 7px 8px; }
}

/* Bords en nid d'abeille (dessinés d'un seul tenant, sans trait) */
.edge { position: absolute; left: 0; width: 100%; display: block; pointer-events: none; overflow: hidden; }
.edge path { fill: var(--petrol); }
.edge-down { top: calc(100% - 1px); }
.edge-up { bottom: calc(100% - 1px); }

/* ---------- Menu à trois traits ---------- */
.drawer-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(12,40,44,.5); opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer {
  position: fixed; top: 0; right: 0; z-index: 90; height: 100%; width: min(380px, 88vw);
  background: var(--petrol); color: #fff; display: flex; flex-direction: column; padding: 18px 24px 28px;
  overflow-y: auto; transform: translateX(105%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a {
  display: block; color: #fff; text-decoration: none; font-weight: 700; font-size: 17px;
  padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.drawer nav a.sub { font-weight: 400; font-size: 16px; padding-left: 22px; }
.drawer nav a:hover { color: var(--mint); }
.drawer-foot { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }

/* ---------- Miel qui coule sur les bords ---------- */
.honey { position: fixed; top: calc(var(--header-h) + 4px); bottom: 0; width: 30px; z-index: 55; pointer-events: none; --p: 0; }
.honey-left { left: 0; }
.honey-right { right: 0; }
.drip {
  position: absolute; top: 0; width: var(--w); height: calc(var(--len) * var(--p) * 100% + 2px);
  background: var(--honey); border-radius: 0 0 999px 999px; opacity: .93;
}
.honey-left .drip { left: var(--x); }
.honey-right .drip { right: var(--x); }
.drip::before {
  content: ""; position: absolute; left: 24%; top: 0; bottom: 10px; width: 1.5px;
  background: rgba(255,238,190,.75); border-radius: 1px;
}
.drip::after {
  content: ""; position: absolute; left: 50%; bottom: calc(var(--w) * -1.3);
  width: calc(var(--w) * 2.3); height: calc(var(--w) * 2.7); transform: translateX(-50%);
  background: var(--honey); border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%;
}
@media (max-width: 640px) { .honey { width: 18px; } .drip { width: calc(var(--w) * .7); } }

/* ---------- Héros ---------- */
.hero { position: relative; background: var(--petrol); color: #fff; }
.hex-pattern { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hex-pattern::before {
  content: ""; position: absolute; left: 0; right: 0; top: -140px; bottom: -140px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='78' height='45.03' viewBox='0 0 78 45.03'%3E%3Cpath d='M0 22.52 L13 0 L39 0 L52 22.52 L39 45.03 L13 45.03 Z M52 22.52 L78 22.52' fill='none' stroke='white' stroke-opacity='0.12' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 78px 45.03px;
  transform: translate3d(0, var(--py, 0px), 0);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 82% 30%, #000 0%, rgba(0,0,0,.55) 48%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 90% at 82% 30%, #000 0%, rgba(0,0,0,.55) 48%, transparent 80%);
}
.hero-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 32px 40px; padding-top: 56px; padding-bottom: 150px; }
.hero-text { flex: 1 1 470px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero .eyebrow { color: var(--mint); }
.hero h1 { font-family: var(--font-title); font-weight: 600; font-size: clamp(40px, 5.2vw, 66px); line-height: 1.06; color: #fff; text-wrap: balance; }
.hero .lead { color: rgba(255,255,255,.9); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero-visual { flex: 1 1 420px; min-width: 0; max-width: 560px; margin: 0 auto; position: relative; }
.hive-scene { width: 100%; height: auto; display: block; overflow: visible; }
@media (max-width: 640px) { .hero-inner { padding-top: 40px; padding-bottom: 130px; } .hero .lead { font-size: 18px; } }

/* ---------- Abeilles (communes) ---------- */
.wing { fill: #EAF7F6; fill-opacity: .9; stroke: var(--navy); stroke-width: 1.5; transform-box: fill-box; transform-origin: 50% 88%; animation: wingFlap .16s ease-in-out infinite alternate; }
.bee-presenter .wing { stroke-width: 2.2; }
@keyframes wingFlap { from { transform: scaleY(1); } to { transform: scaleY(.58); } }
.bob { animation: beeBob 2.6s ease-in-out infinite; }
@keyframes beeBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* Abeilles de la ruche au travail */
.hive-bee .bee-fly { transition: none; }
.hive-bee .work { transform-box: fill-box; }
.arm-type { transform-box: fill-box; transform-origin: 0% 0%; animation: typing .32s ease-in-out infinite alternate; }
@keyframes typing { from { transform: rotate(0deg); } to { transform: rotate(-16deg); } }
.screen-glow { animation: glow 1.6s ease-in-out infinite; }
@keyframes glow { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.sway { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 2.4s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.pour { transform-box: fill-box; transform-origin: 0% 50%; animation: pour 2.4s ease-in-out infinite; }
@keyframes pour { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(24deg); } }
.water { animation: water 1.2s linear infinite; }
.water.w2 { animation-delay: .6s; }
@keyframes water { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(9px); opacity: 0; } }
.scan { animation: scan 2.2s ease-in-out infinite; }
@keyframes scan { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(10px, -4px); } }
.flip { transform-box: fill-box; transform-origin: 50% 50%; animation: flip 3.6s ease-in-out infinite; }
@keyframes flip { 0%, 40%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.05); } 60% { transform: scaleX(1); } }
.check-pop { transform-box: fill-box; transform-origin: 50% 50%; animation: pop 3.6s ease-in-out infinite; }
@keyframes pop { 0%, 55% { transform: scale(0); } 65%, 92% { transform: scale(1); } 100% { transform: scale(0); } }
.grow { transform-box: fill-box; transform-origin: 50% 100%; animation: grow 1.8s ease-in-out infinite alternate; }
.grow.g2 { animation-delay: .3s; } .grow.g3 { animation-delay: .6s; }
@keyframes grow { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.draw { stroke-dasharray: 37; animation: draw 2.6s ease-in-out infinite; }
@keyframes draw { 0% { stroke-dashoffset: 37; } 60%, 100% { stroke-dashoffset: 0; } }
.pencil { animation: pencil 2.6s ease-in-out infinite; }
@keyframes pencil { 0% { transform: translate(-4px, -6px); } 30% { transform: translate(3px, -2px); } 60%, 100% { transform: translate(0, 0); } }
.zz { animation: zz 3s ease-in-out infinite; }
.zz.z2 { animation-delay: 1.5s; }
@keyframes zz { 0% { transform: translate(0, 0); opacity: 0; } 25% { opacity: 1; } 100% { transform: translate(8px, -16px); opacity: 0; } }
.orbit-a { animation: orbitA 9s linear infinite; }
.orbit-b { animation: orbitB 12s linear infinite; }
@keyframes orbitA { 0% { transform: translate(0,0); } 25% { transform: translate(60px,-30px); } 50% { transform: translate(110px,10px); } 75% { transform: translate(50px,40px); } 100% { transform: translate(0,0); } }
@keyframes orbitB { 0% { transform: translate(0,0); } 25% { transform: translate(-50px,30px); } 50% { transform: translate(-100px,-10px); } 75% { transform: translate(-40px,-40px); } 100% { transform: translate(0,0); } }
.hive-bee.is-flying .work, .hive-bee.is-flying .arm-type { animation-play-state: paused; }
.hive-bee.is-flying .wing { animation-duration: .07s; }

/* ---------- Formes en alvéoles (contour calculé en JavaScript) ---------- */
.hc { position: relative; }
.hc-shape { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.hc-shape path { fill: #fff; stroke: var(--line); stroke-width: 1; transition: stroke .25s, fill .25s; }
.hc > .hc-content { position: relative; z-index: 1; }
.hc:not(.hc-ready) { background: #fff; border-radius: 16px; }
.hc-dark:not(.hc-ready) { background: var(--petrol); }
.hc-dark .hc-shape path { fill: var(--petrol); stroke: none; }

/* ---------- Qui sommes-nous ---------- */
.about { position: relative; z-index: 5; margin-top: -112px; }
.about-card .hc-shape { filter: drop-shadow(0 18px 34px rgba(20,91,99,.16)) drop-shadow(0 2px 4px rgba(20,91,99,.06)); }
.about-card .hc-shape path { stroke: none; }
.about-card > .hc-content { padding: 66px 76px; display: flex; flex-wrap: wrap; gap: 28px 64px; }
.about-head { flex: 1 1 330px; display: flex; flex-direction: column; gap: 18px; }
.about-head .title { white-space: nowrap; }
@media (max-width: 640px) { .about-head .title { white-space: normal; font-size: 25px; } }
.about-body { flex: 2 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.about-body p { font-size: 18px; line-height: 1.7; text-wrap: pretty; }
.about-body .mission { font-weight: 700; color: var(--petrol); }
.about-body .small { font-size: 16px; color: var(--muted); }
@media (max-width: 640px) { .about-card > .hc-content { padding: 48px 34px; } .about-body p { font-size: 17px; } }

/* ---------- Nos outils et services ---------- */
.tools { background: var(--tint); padding-top: 120px; }
.tools-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.tools-counter { font-weight: 700; color: var(--petrol); letter-spacing: .1em; font-size: 15px; }
.mode-toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; margin-left: auto;
  border-radius: 999px; border: 1.5px solid var(--turq-dark); background: #fff; color: var(--turq-dark);
  font: 700 15px/1 var(--font-text); cursor: pointer; transition: background .2s, color .2s;
}
.mode-toggle:hover { background: var(--turq-dark); color: #fff; }
.tools-carousel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.nav-arrow {
  width: 58px; height: 50px; border: 0; padding: 0; cursor: pointer; background: var(--petrol); color: #fff;
  clip-path: var(--hex); display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
}
.nav-arrow:hover:not(:disabled) { background: var(--turq-dark); transform: scale(1.06); }
.nav-arrow:disabled { background: #B5CBCB; cursor: default; }
.tools-window { overflow: hidden; padding: 34px 0; touch-action: pan-y; }
.tools-track { display: flex; transition: transform .9s cubic-bezier(.62,.03,.32,1); will-change: transform; }
.tool-slide { flex: 0 0 100%; min-width: 0; display: flex; align-items: center; }
.slide-bee { flex: 0 0 132px; height: 160px; position: relative; z-index: 2; margin-right: -14px; }
.bee-actor { width: 100%; height: 100%; transition: transform .45s cubic-bezier(.3,.7,.3,1), opacity .45s; }
.bee-actor svg { width: 100%; height: 100%; overflow: visible; }
.bee-actor .arm { transform-box: view-box; transition: transform .35s ease; }
.bee-actor .arm-r { transform-origin: 82px 80px; }
.bee-actor .arm-l { transform-origin: 38px 80px; }
.bee-actor.pose-push { transform: rotate(-11deg) scaleX(-1); }
.bee-actor.pose-pull { transform: rotate(13deg) scaleX(-1); }
.bee-actor.pose-push .arm-r, .bee-actor.pose-pull .arm-r { transform: rotate(40deg); }
.bee-actor.pose-push .arm-l, .bee-actor.pose-pull .arm-l { transform: rotate(-30deg); }
.bee-actor.pose-push .wing, .bee-actor.pose-pull .wing { animation-duration: .06s; }
.bee-actor.pose-leave { transform: translate(-70px, -150px) rotate(-28deg) scale(.7); opacity: 0; transition: transform .8s ease-in, opacity .8s ease-in; }
.bee-actor.pose-arrive { animation: beeArrive .85s ease-out both; }
@keyframes beeArrive { from { transform: translate(-90px, -50px) rotate(-16deg); opacity: 0; } to { transform: none; opacity: 1; } }
.tool-panel { flex: 1 1 auto; min-width: 0; }
.tool-panel .hc-shape { filter: drop-shadow(0 14px 26px rgba(20,91,99,.12)); }
.tool-panel .hc-shape path { stroke: #CFE1E1; }
.tool-panel > .hc-content { padding: 58px 70px; min-height: 360px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.tool-icon { width: 64px; height: 56px; flex-shrink: 0; background: #E3F3F2; color: var(--turq-dark); clip-path: var(--hex); display: flex; align-items: center; justify-content: center; }
.tool-icon svg { width: 30px; height: 30px; }
.tool-kind { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--turq-dark); }
.tool-name { font-family: var(--font-title); font-weight: 600; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; color: var(--petrol); }
.tool-desc { font-size: 18px; line-height: 1.7; max-width: 640px; text-wrap: pretty; }
.tool-cta { margin-top: 6px; }
@media (max-width: 760px) {
  .tools-carousel { grid-template-columns: 1fr 1fr; }
  .tools-window { grid-column: 1 / -1; grid-row: 1; padding: 26px 0; }
  .nav-arrow.prev { grid-row: 2; justify-self: end; }
  .nav-arrow.next { grid-row: 2; justify-self: start; }
  .slide-bee { flex-basis: 74px; height: 98px; margin-right: -10px; }
  .tool-panel > .hc-content { padding: 46px 32px; min-height: 300px; }
  .tool-desc { font-size: 17px; }
}
.tools-grid-wrap { position: relative; padding-top: 26px; }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 18px; }
button.tool-mini { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; width: 100%; text-align: left; background: transparent; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; }
.tool-mini > .hc-content { flex: 1 1 auto; padding: 30px 30px 32px; display: flex; flex-direction: column; justify-content: flex-start; gap: 10px; min-height: 230px; }
.tool-mini .tool-name { font-size: 24px; }
.tool-mini .tool-desc { font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.tool-mini .tool-icon { width: 50px; height: 44px; }
.tool-mini .tool-icon svg { width: 24px; height: 24px; }
.tool-mini:hover .hc-shape path, .tool-mini:focus-visible .hc-shape path { stroke: var(--turq); stroke-width: 2; }
.tool-mini:focus-visible { outline: none; }
.grid-bee { position: absolute; top: -58px; left: 4px; width: 70px; height: 84px; pointer-events: none; }
.grid-bee svg { width: 100%; height: 100%; overflow: visible; }

/* ---------- Paiements ---------- */
.payments { background: var(--tint); padding: 0 0 100px; }
.pay-panel { color: #fff; }
.pay-panel > .hc-content { padding: 58px 70px; display: flex; flex-wrap: wrap; align-items: center; gap: 32px 56px; }
.pay-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.pay-text .title { color: #fff; }
.pay-text p { color: rgba(255,255,255,.9); font-size: 17.5px; }
.pay-text .eyebrow { color: var(--mint); }
.pay-slots { flex: 1 1 320px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.pay-slot { position: relative; width: 122px; height: 106px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 18px; color: var(--mint); font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.pay-slot svg { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 640px) { .pay-panel > .hc-content { padding: 50px 34px; } }

/* ---------- Valeurs ---------- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 36px 40px; }
.value { display: flex; gap: 16px; align-items: flex-start; }
.value-hex { width: 22px; height: 19px; flex-shrink: 0; margin-top: 6px; background: var(--copper); clip-path: var(--hex); }
.value-hex.hop { animation: hexHop 1s cubic-bezier(.3,1.5,.5,1) both; animation-delay: calc(var(--i, 0) * 130ms); }
.value:hover .value-hex { animation: hexSpin .8s ease both; }
@keyframes hexHop { 0% { transform: translateY(0) rotate(0); } 35% { transform: translateY(-13px) rotate(180deg); } 70% { transform: translateY(0) rotate(360deg); } 85% { transform: translateY(-3px) rotate(360deg); } 100% { transform: translateY(0) rotate(360deg); } }
@keyframes hexSpin { 0% { transform: rotate(0) scale(1); } 50% { transform: rotate(180deg) scale(1.25); } 100% { transform: rotate(360deg) scale(1); } }
.value h3 { font-family: var(--font-title); font-weight: 600; font-size: 21px; color: var(--petrol); margin-bottom: 4px; }
.value p { color: var(--muted); }

/* ---------- Talent ---------- */
.talent-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; }
.talent-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.talent-text p { font-size: 18px; line-height: 1.7; }
.badge-soon { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 7px 15px; border-radius: 999px; background: #FBEFE8; color: var(--copper-dark); font-weight: 700; font-size: 14px; letter-spacing: .04em; }
.badge-soon::before { content: ""; width: 12px; height: 10.4px; background: var(--copper); clip-path: var(--hex); }
.talent-visual { flex: 1 1 400px; min-width: 0; color: #fff; }
.talent-visual > .hc-content { padding: 56px 48px; min-height: 340px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.talent-visual .soon { font-family: var(--font-title); font-weight: 600; font-size: clamp(30px, 3.4vw, 42px); color: #fff; }
.talent-visual p { color: rgba(255,255,255,.88); max-width: 360px; }
.talent-bee { width: 120px; height: 130px; }
.talent-bee svg { width: 100%; height: 100%; overflow: visible; }

/* ---------- Rejoignez KAME GROUP ---------- */
.join { overflow: hidden; }
.profiles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }
a.profile-card { display: block; text-decoration: none; color: inherit; transition: transform .25s; }
a.profile-card:hover { transform: translateY(-4px); color: inherit; }
a.profile-card:hover .hc-shape path, a.profile-card:focus-visible .hc-shape path { stroke: var(--turq); stroke-width: 2; }
a.profile-card:focus-visible { outline: none; }
.profile-card > .hc-content { padding: 36px 32px 30px; display: flex; flex-direction: column; gap: 12px; min-height: 290px; }
.profile-card h3 { font-size: 21px; font-weight: 700; color: var(--petrol); }
.profile-card p { color: var(--muted); flex-grow: 1; }
.card-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--turq-dark); }
.hex-icon { width: 56px; height: 49px; flex-shrink: 0; background: #E3F3F2; color: var(--turq-dark); clip-path: var(--hex); display: flex; align-items: center; justify-content: center; }
.hex-icon svg { width: 26px; height: 26px; }
.agri-note { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 24px; }
.agri-note p { flex: 1 1 300px; }
.agri-note strong { color: var(--petrol); }
.login-line { margin-top: 22px; text-align: center; color: var(--muted); }
.login-line a { font-weight: 700; }
.return-bee { position: absolute; width: 84px; height: 96px; right: max(24px, calc(50% - 560px)); top: 62px; pointer-events: none; opacity: 0; }
.return-bee svg { width: 100%; height: 100%; overflow: visible; }
.return-bee.landed { animation: beeLand 1.5s cubic-bezier(.25,.7,.3,1) forwards; }
@keyframes beeLand { 0% { opacity: 0; transform: translate(-260px, -200px) rotate(-24deg) scale(.7); } 15% { opacity: 1; } 70% { transform: translate(14px, 8px) rotate(6deg) scale(1); } 100% { opacity: 1; transform: translate(0, 0) rotate(0) scale(1); } }
@media (max-width: 900px) { .return-bee { top: 20px; right: 12px; width: 62px; height: 72px; } }

/* ---------- Contact et formulaires ---------- */
.contact-grid { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.contact-info { flex: 1 1 320px; display: flex; flex-direction: column; gap: 18px; }
.contact-info .info-line { display: flex; gap: 14px; align-items: center; font-size: 17px; }
.contact-form-wrap { flex: 1.4 1 480px; min-width: 0; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 36px; }
@media (max-width: 640px) { .form-card { padding: 26px 20px; } }
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .field > .legend, fieldset.field > legend { font-weight: 700; font-size: 15px; color: var(--petrol); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--font-text); color: var(--graphite); background: #fff;
  border: 1.5px solid #C5D8D8; border-radius: 10px; padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--turq-dark); box-shadow: 0 0 0 3px rgba(21,158,150,.22); }
.choices { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--turq-dark); }
.req { color: var(--copper-dark); }
.hp { position: absolute !important; left: -9999px !important; }
.form-note { font-size: 14px; color: var(--muted); }
.form-status { display: none; padding: 14px 16px; border-radius: 10px; background: #E3F3F2; color: var(--petrol); font-weight: 700; }
.form-status.show { display: block; }

/* ---------- Pied de page ---------- */
.site-footer { position: relative; background: var(--petrol); color: #fff; margin-top: 26px; }
.footer-inner { padding-top: 72px; padding-bottom: 30px; display: flex; flex-direction: column; gap: 44px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 32px 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand .slogan { font-style: italic; color: rgba(255,255,255,.92); }
.footer-brand .small { font-size: 15px; color: rgba(255,255,255,.8); }
.footer-title { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); margin-bottom: 4px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.9); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: rgba(255,255,255,.78); }

/* ---------- Pages intérieures ---------- */
.page-hero { position: relative; background: var(--petrol); color: #fff; }
.page-hero-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 28px 56px; padding-top: 48px; padding-bottom: 104px; }
.page-hero-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.breadcrumb { font-size: 14px; color: rgba(255,255,255,.82); }
.breadcrumb a { color: #fff; }
.page-hero h1 { font-family: var(--font-title); font-weight: 600; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.08; text-wrap: balance; }
.page-hero .lead { color: rgba(255,255,255,.9); }
.page-hero .eyebrow { color: var(--mint); }
.page-hero-visual { flex: 0 1 300px; margin: 0 auto; }
.page-hero-visual svg { width: 100%; height: auto; overflow: visible; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.feature > .hc-content { padding: 32px 30px; display: flex; flex-direction: column; gap: 10px; min-height: 200px; }
.feature h3 { font-size: 19px; font-weight: 700; color: var(--petrol); }
.feature p { color: var(--muted); font-size: 16px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 28px; }
.step { display: flex; flex-direction: column; gap: 10px; }
.step-num { width: 58px; height: 50px; clip-path: var(--hex); background: var(--petrol); color: #fff; font-family: var(--font-title); font-weight: 700; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 18px; font-weight: 700; color: var(--petrol); }
.step p { color: var(--muted); font-size: 16px; }
.notice { border-radius: 14px; padding: 20px 24px; background: #FBEFE8; color: #5B3925; font-size: 16px; line-height: 1.6; }
.notice strong { color: var(--copper-dark); }
.callout { color: #fff; }
.callout > .hc-content { padding: 52px 60px; display: flex; flex-direction: column; gap: 14px; }
.callout .title { color: #fff; }
.callout p { color: rgba(255,255,255,.9); }
@media (max-width: 640px) { .callout > .hc-content { padding: 44px 32px; } }
.two-col { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; }
.two-col > * { flex: 1 1 300px; min-width: 0; }
.two-col > .form-card { flex: 1.7 1 520px; }
.other-profiles { display: flex; flex-wrap: wrap; gap: 12px; }
.center-block { max-width: 760px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 15px; color: var(--petrol); }
.chip::before { content: ""; width: 11px; height: 9.5px; background: var(--turq); clip-path: var(--hex); }

/* ---------- Apparitions au défilement ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js [data-reveal][data-delay="1"] { transition-delay: .1s; }
html.js [data-reveal][data-delay="2"] { transition-delay: .2s; }
html.js [data-reveal][data-delay="3"] { transition-delay: .3s; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .return-bee { opacity: 1; }
  .honey { --p: .12 !important; }
}

.section.tight-top { padding-top: 0; }
.section.callout-sec { padding-top: 0; padding-bottom: 44px; }
.section.note-sec { padding: 0 0 40px; }
