/* Technologia — Home (sombre premium).
   Mobile-first : base mobile, desktop en min-width. */

.tec-home {
  --r: 14px;
  background: var(--tec-dark);
  color: #fff;
  font-family: 'Hanken Grotesk', sans-serif;
  overflow-x: hidden;
}
.tec-home * { box-sizing: border-box; }

/* ── Bandeau réassurance ─────────────────────────────────── */
.tec-trust {
  background: #050912;
  color: rgba(255,255,255,.85);
  font-size: 12.5px; font-weight: 600;
  text-align: center; padding: 8px 16px;
}

/* ── HERO ────────────────────────────────────────────────── */
.tec-hero {
  position: relative;
  max-width: 1100px; margin: 0 auto;
  padding: clamp(28px,7vw,72px) clamp(16px,5vw,40px) clamp(30px,6vw,64px);
  text-align: center;
  background: radial-gradient(60% 55% at 50% 12%, rgba(0,194,255,.16), rgba(0,194,255,0) 60%);
}
.tec-hero-badge {
  display: inline-block;
  font-size: 12.5px; font-weight: 700; color: #7FD6F2;
  background: rgba(0,194,255,.1); border: 1px solid rgba(0,194,255,.3);
  border-radius: 999px; padding: 6px 14px; margin-bottom: 18px;
}
.tec-hero-title {
  font-family: 'Sora', sans-serif; font-weight: 800;
  letter-spacing: -.02em; line-height: 1.08;
  font-size: clamp(28px,6vw,52px); margin: 0 0 14px;
}
.tec-hero-sub {
  max-width: 560px; margin: 0 auto 26px;
  font-size: clamp(14px,2.2vw,17px); color: rgba(255,255,255,.72);
  line-height: 1.55;
}

/* ── Barre agent ─────────────────────────────────────────── */
.tec-agentbar {
  display: flex; align-items: center; gap: 12px;
  max-width: 600px; margin: 0 auto;
  background: rgba(8,14,28,.86);
  border: 1px solid rgba(0,194,255,.55);
  border-radius: 999px; padding: 9px 10px 9px 12px;
  box-shadow: 0 0 0 4px rgba(0,194,255,.1), 0 22px 50px rgba(0,0,0,.5);
}
.tec-agent-input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  color: #fff; font: 500 clamp(15px,1.6vw,17px) 'Hanken Grotesk', sans-serif;
}
.tec-agent-input::placeholder { color: rgba(255,255,255,.5); }
.tec-agent-go {
  flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: linear-gradient(135deg, #0B7BA6, #00A6E0);
  color: #fff; font-size: 20px; cursor: pointer;
  transition: filter .15s;
}
.tec-agent-go:hover { filter: brightness(1.08); }
.tec-agent-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin-top: 16px;
}
.tec-chip {
  font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px; padding: 7px 13px; text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
}
.tec-chip:hover { border-color: rgba(0,194,255,.5); color: #fff; background: rgba(0,194,255,.08); }

/* ── Nœud vivant ─────────────────────────────────────────── */
.tec-node {
  position: relative; flex: none; display: inline-grid;
  place-items: center; width: 54px; height: 54px;
}
.tec-node--sm { width: 26px; height: 26px; }
.tec-node-core {
  position: relative; z-index: 2; height: 34px; width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 0 7px rgba(0,194,255,.9));
  animation: tec-breathe 3.4s ease-in-out infinite;
}
.tec-node--sm .tec-node-core { height: 15px; }
.tec-node-halo {
  position: absolute; left: 50%; top: 50%;
  width: 80px; height: 80px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,194,255,.34), rgba(0,194,255,0) 70%);
  transform: translate(-50%,-50%);
}
.tec-node--sm .tec-node-halo {
  width: 34px; height: 34px;
  animation: tec-halo 3.4s ease-in-out infinite;
}
.tec-node-orbit {
  position: absolute; left: 50%; top: 50%; border-radius: 50%;
  border: 1px solid rgba(0,194,255,.4);
  transform: translate(-50%,-50%);
}
.tec-node-orbit.o1 {
  width: 74px; height: 74px;
  animation: tec-orbit 9s linear infinite;
}
.tec-node-orbit.o2 {
  width: 96px; height: 96px;
  border-color: rgba(0,194,255,.22);
  animation: tec-orbit-rev 14s linear infinite;
}

@keyframes tec-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
@keyframes tec-halo {
  0%, 100% { opacity: .5; transform: translate(-50%,-50%) scale(1); }
  50% { opacity: .9; transform: translate(-50%,-50%) scale(1.14); }
}
@keyframes tec-orbit  { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes tec-orbit-rev { to { transform: translate(-50%,-50%) rotate(-360deg); } }

/* ── Sections ────────────────────────────────────────────── */
.tec-section {
  max-width: 1200px; margin: 0 auto;
  padding: clamp(30px,6vw,64px) clamp(16px,5vw,40px);
}
.tec-section-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.tec-h2 {
  font-family: 'Sora', sans-serif; font-weight: 800;
  letter-spacing: -.02em; font-size: clamp(20px,3.4vw,30px);
  margin: 0; color: #fff;
}
.tec-h2--light { color: #fff; }

/* ── Univers — rail scroll mobile ────────────────────────── */
.tec-univers-rail {
  display: flex; gap: 12px; overflow-x: auto;
  padding-bottom: 6px; scrollbar-width: none;
}
.tec-univers-rail::-webkit-scrollbar { display: none; }
.tec-univers-card {
  flex: none; width: 150px; display: flex; flex-direction: column; gap: 12px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r); padding: 16px; text-decoration: none;
  transition: border-color .2s, transform .2s;
}
.tec-univers-card:hover { border-color: rgba(0,194,255,.45); transform: translateY(-2px); }
.tec-univers-badge {
  width: 40px; height: 40px; border-radius: 11px;
  background: rgba(0,194,255,.14); color: #4FD6FF;
  display: grid; place-items: center; font-weight: 800; font-size: 16px;
}
.tec-univers-label { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.25; }

/* ── Sélection ───────────────────────────────────────────── */
.tec-selection { min-height: 60px; }
.tec-selection-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.tec-note {
  color: rgba(255,255,255,.6); font-size: 14px;
  padding: 30px 0; text-align: center;
}

/* ── CTA band ────────────────────────────────────────────── */
.tec-cta-band {
  text-align: center;
  padding: clamp(34px,6vw,64px) clamp(16px,5vw,40px);
  background: linear-gradient(120deg, #0B1730, #0A1426);
  border-top: 1px solid rgba(0,194,255,.2);
}
.tec-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: var(--tec-r-btn); padding: 14px 24px;
  font-weight: 800; font-size: 15.5px; text-decoration: none;
  cursor: pointer; margin-top: 16px; min-height: 52px;
  transition: filter .15s, transform .15s;
}
.tec-btn--primary {
  background: var(--tec-cta); color: #fff;
}
.tec-btn--primary:hover { filter: brightness(1.07); }
.tec-btn--outline {
  background: transparent; color: #4FD6FF;
  border: 1px solid rgba(0,194,255,.35);
}
.tec-btn--outline:hover { border-color: #00C2FF; color: #fff; }

/* ── Desktop ─────────────────────────────────────────────── */
@media (min-width: 900px) {
  .tec-univers-rail {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    overflow: visible;
  }
  .tec-univers-card { width: auto; }
  .tec-selection-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 640px) {
  .tec-selection-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .tec-selection-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Accessibilité mouvement ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .tec-node-core, .tec-node-halo, .tec-node-orbit { animation: none !important; }
}
