/* ============================================================
   Technologia — Pages confiance (Livraison, Garantie & Retours).
   Page claire, rassurante. Mobile-first. Tokens --tec-*.
   Partagée par template-livraison.php et template-garantie.php.
   ============================================================ */

.tec-cf { background: #F4F7FB; color: var(--tec-navy-900); font-family: var(--tec-font-sans); }
.tec-cf * { box-sizing: border-box; }

/* En-tête */
.tec-cf-head { max-width: 760px; margin: 0 auto; padding: clamp(24px,5vw,44px) clamp(16px,5vw,40px) 0; text-align: center; }
.tec-node-l { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; }
.tec-node-l-core { position: relative; z-index: 2; height: 24px; width: auto; filter: drop-shadow(0 0 4px rgba(0,194,255,.5)); animation: tec-breathe 3.4s ease-in-out infinite; }
.tec-node-l-halo { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; border-radius: 50%; background: radial-gradient(circle,rgba(0,194,255,.35),rgba(0,194,255,0) 68%); transform: translate(-50%,-50%); animation: tec-halo 3.4s ease-in-out infinite; }
.tec-cf-title { font-family: var(--tec-font-display); font-weight: 800; letter-spacing: -.02em; font-size: clamp(24px,4.4vw,34px); margin: 6px 0 8px; color: var(--tec-navy-900); }
.tec-cf-sub { max-width: 560px; margin: 0 auto; font-size: 14.5px; color: var(--tec-ink-500); line-height: 1.55; }

.tec-cf-wrap { max-width: 820px; margin: 0 auto; padding: clamp(18px,3vw,26px) clamp(16px,5vw,40px) clamp(34px,6vw,56px); display: flex; flex-direction: column; gap: 20px; }

/* Titre de section */
.tec-cf-h2 { font-family: var(--tec-font-display); font-weight: 800; letter-spacing: -.01em; font-size: 19px; margin: 0 0 12px; color: var(--tec-navy-900); }

/* Étapes numérotées */
.tec-cf-steps { display: grid; grid-template-columns: 1fr; gap: 12px; }
.tec-cf-step { position: relative; background: var(--tec-white); border: 1px solid var(--tec-line-200); border-radius: var(--tec-radius-lg); padding: 18px 18px 18px 60px; }
.tec-cf-num { position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--tec-cta-grad, linear-gradient(135deg,#4BA9DE,#273F7E)); color: #fff; font-weight: 800; font-size: 14px; }
.tec-cf-step-title { font-family: var(--tec-font-display); font-weight: 800; font-size: 15.5px; margin: 0 0 4px; color: var(--tec-navy-900); }
.tec-cf-step-txt { margin: 0; font-size: 13.5px; color: var(--tec-ink-500); line-height: 1.55; }

/* Bloc d'infos (liste de définitions) */
.tec-cf-panel { background: var(--tec-white); border: 1px solid var(--tec-line-200); border-radius: 18px; padding: clamp(16px,3vw,22px); }
.tec-cf-dl { display: grid; grid-template-columns: 1fr; gap: 2px 0; margin: 0; }
.tec-cf-row { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 12px 0; border-top: 1px solid #F0F3F7; }
.tec-cf-row:first-child { border-top: 0; }
.tec-cf-dt { flex: 0 0 200px; font-weight: 800; font-size: 14px; color: var(--tec-navy-900); }
.tec-cf-dd { flex: 1 1 240px; min-width: 200px; font-size: 13.5px; color: var(--tec-ink-500); line-height: 1.55; margin: 0; }

/* Puces réassurance */
.tec-cf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tec-cf-list li { position: relative; padding-left: 26px; font-size: 13.5px; color: var(--tec-ink-500); line-height: 1.5; }
.tec-cf-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--tec-success, #1E9E62); font-weight: 800; }

/* Placeholder « à confirmer » — visuellement évident (jaune attention) */
.tec-todo { background: #FBF1E2; color: #8A5A12; border: 1px dashed #E4B563; border-radius: 6px; padding: 1px 7px; font-size: 12.5px; font-weight: 700; white-space: nowrap; text-decoration: none; }

/* Liste inline (ex. exclusions de garantie) — petites pastilles discrètes */
.tec-cf-inline { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tec-cf-inline li { font-size: 12.5px; font-weight: 600; color: var(--tec-ink-500); background: #F4F7FB; border: 1px solid var(--tec-line-200); border-radius: var(--tec-radius-pill); padding: 4px 11px; }

/* Encart « engagement » — mise en avant positive (frais de retour offerts) */
.tec-cf-engage { display: flex; flex-direction: column; gap: 8px; background: var(--tec-success-tint, #E6F4EC); border: 1px solid #BEE6CF; border-left: 4px solid var(--tec-success, #1E9E62); border-radius: 14px; padding: 16px 18px; }
.tec-cf-engage-badge { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #138A4E; background: #fff; border-radius: var(--tec-radius-pill); padding: 3px 10px; }
.tec-cf-engage-txt { margin: 0; font-size: 14px; color: #14562F; line-height: 1.55; }
.tec-cf-engage-txt strong { color: #0E4022; }

/* CTA */
.tec-cf-cta { display: flex; flex-direction: column; gap: 14px; background: linear-gradient(120deg,#0B1730,#0A1426); border-radius: 18px; padding: clamp(18px,3vw,24px); color: #fff; }
.tec-cf-cta-title { font-family: var(--tec-font-display); font-weight: 800; font-size: 18px; }
.tec-cf-cta-sub { font-size: 13.5px; color: rgba(255,255,255,.72); margin-top: 3px; }
.tec-btn-l { display: inline-flex; align-items: center; justify-content: center; border-radius: var(--tec-radius-md); padding: 14px 22px; font-weight: 800; font-size: 15px; text-decoration: none; min-height: 52px; }
.tec-btn-l--primary { background: var(--tec-cta-grad, linear-gradient(135deg,#4BA9DE,#273F7E)); color: #fff; }
.tec-btn-l--primary:hover { filter: brightness(1.07); }

/* Keyframes (nœud) — locales. */
@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); } }

@media (min-width: 700px) {
	.tec-cf-steps { grid-template-columns: 1fr 1fr; }
	.tec-cf-cta { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
	.tec-node-l-core, .tec-node-l-halo { animation: none !important; }
}
