/* INOVATECH — page d'accueil : accès rapide, services en ligne, « comment ça marche » */

/* ---------- Accès rapide (barre flottante sous le hero) ---------- */
.quick-access { position: relative; z-index: 3; margin-top: -3.2rem; }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 1rem; box-shadow: var(--shadow-lg); }
.quick-item { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; border-radius: 14px; color: var(--ink); text-decoration: none; transition: background .25s var(--ease), transform .25s var(--ease); }
.quick-item:hover { background: var(--brand-light); color: var(--ink); transform: translateY(-2px); }
.quick-item strong { display: block; font-family: var(--font-head); font-size: 1rem; line-height: 1.2; }
.quick-item small { display: block; color: var(--muted); font-size: .82rem; margin-top: .15rem; }
.qi-icon { flex: 0 0 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; color: #fff; background: linear-gradient(135deg, var(--brand), var(--accent)); }
.qi-icon.wa { background: #25d366; }
.qi-go { margin-left: auto; color: var(--brand); opacity: .5; transition: opacity .25s, transform .25s; }
.quick-item:hover .qi-go { opacity: 1; transform: translateX(3px); }

/* ---------- Services en ligne ---------- */
.online-card { padding: 2rem 1.6rem; display: flex; flex-direction: column; align-items: flex-start; }
.online-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .6rem; }
.online-card p { color: var(--muted); font-size: .95rem; margin-bottom: 1.4rem; }
.online-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 140, 255, .12), transparent 70%); pointer-events: none; }
.online-usdt .icon-box { color: #0d9f6e; background: #e6f7f0; }
.online-meru .icon-box { color: #6d28d9; background: #f1ebfe; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem; margin-top: 2.5rem; color: var(--muted); font-size: .92rem; }
.trust-row i { color: var(--success); margin-right: .35rem; }

/* ---------- Comment ça marche ---------- */
.how-step { position: relative; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem 1.6rem 1.6rem; text-align: center; box-shadow: var(--shadow-sm); }
.how-step > i { font-size: 2rem; color: var(--brand); margin-bottom: 1rem; display: block; }
.how-step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.how-step p { color: var(--muted); font-size: .93rem; margin: 0; }
.how-num { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--accent)); box-shadow: 0 6px 16px rgba(21, 101, 224, .35); }
@media (min-width: 768px) {
    .how-it-works .col-md-4:not(:last-child) .how-step::after { content: ""; position: absolute; top: 50%; right: -1.5rem; width: 1.5rem; border-top: 2px dashed rgba(21, 101, 224, .35); }
}

@media (max-width: 575.98px) {
    .quick-access { margin-top: -2rem; }
    .quick-grid { grid-template-columns: 1fr; padding: .6rem; gap: .3rem; }
}

/* ---------- Visuel du hero : logo centré, 4 étiquettes aux 4 coins (rien n'est coupé) ---------- */
.hero-visual { width: min(460px, 100%); }
.hero-visual .logo-disc { inset: 13%; }
.hero-visual .chip { white-space: nowrap; z-index: 2; }
.hero-visual .chip.c1 { top: 2%; left: 0; right: auto; bottom: auto; }
.hero-visual .chip.c2 { top: 2%; right: 0; left: auto; bottom: auto; animation-delay: -1.5s; }
.hero-visual .chip.c3 { bottom: 2%; left: 0; right: auto; top: auto; animation-delay: -3s; }
.hero-visual .chip.c4 { bottom: 2%; right: 0; left: auto; top: auto; animation-delay: -4.5s; }
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-visual .chip { font-size: .74rem; padding: .45rem .7rem; }
}

/* ---------- Titre de l'accueil : machine à écrire + reflet lumineux ---------- */
.hero h1 .grad { background-image: linear-gradient(90deg, #7cc0ff, #2f8cff, #b9d8ff, #7cc0ff); background-size: 300% auto; animation: grad-shine 6s linear infinite; }
.hero h1 .grad:empty::before { content: "\200b"; } /* garde la hauteur de ligne quand le texte est effacé */
.type-caret { display: inline-block; width: .08em; height: .9em; margin-left: .06em; vertical-align: -.08em; border-radius: 2px; background: #7cc0ff; box-shadow: 0 0 12px rgba(124, 192, 255, .8); animation: caret-blink 1s steps(1) infinite; }
.type-caret.typing { animation: none; opacity: 1; }
@keyframes caret-blink { 50% { opacity: 0; } }
@keyframes grad-shine { to { background-position: 300% center; } }
.hero .eyebrow .dot { animation: dot-pulse 2s ease-out infinite; }
@keyframes dot-pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.hero .hero-brand { background: linear-gradient(90deg, var(--accent) 0%, #cfe6ff 50%, var(--accent) 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: grad-shine 5s linear infinite; }
@media (prefers-reduced-motion: reduce) {
    .hero h1 .grad, .hero .hero-brand, .hero .eyebrow .dot, .type-caret { animation: none; }
}
.anim-words .grad.w { display: inline; -webkit-box-decoration-break: clone; box-decoration-break: clone; animation: word-in .5s cubic-bezier(.2, .8, .2, 1) both, grad-shine 6s linear infinite; }

/* ===================== Taux du jour (14/10/2026) =====================
   Le tableau des taux remplace la bande de chiffres : ce sont les valeurs que les clients
   viennent chercher. Chiffres alignés (tabular-nums), une ligne par opération ouverte. */
.rates-band { position: relative; overflow: hidden; padding: 4.5rem 0 3.5rem; color: #fff;
    background: radial-gradient(120% 140% at 0% 0%, var(--navy-700) 0%, var(--navy) 45%, var(--navy-900) 100%); }
.rates-band::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 44px 44px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.rates-board { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 2.5rem; align-items: center; }
.rates-head h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; margin-bottom: .6rem; }
.rates-head p { color: var(--silver); font-size: .92rem; line-height: 1.55; margin: 0; max-width: 34ch; }
.rates-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius);
    background: rgba(255, 255, 255, .04); backdrop-filter: blur(4px); overflow: hidden; }
.rate { display: flex; flex-direction: column; gap: .35rem; padding: 1.5rem 1.6rem 1.35rem; color: #fff; position: relative;
    border-left: 1px solid rgba(255, 255, 255, .12); transition: background-color .2s var(--ease); }
.rate:first-child { border-left: 0; }
.rate:hover, .rate:focus-visible { background: rgba(255, 255, 255, .07); color: #fff; }
.rate:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.rate-what { color: var(--silver); font-size: .88rem; }
.rate-val { font-family: var(--font-head); line-height: 1; white-space: nowrap; }
.rate-val strong { font-size: clamp(2.1rem, 3.6vw, 2.75rem); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rate-val span { font-size: 1rem; font-weight: 600; color: #9fc4ff; margin-left: .15rem; }
.rate-go { margin-top: .55rem; font-size: .88rem; font-weight: 600; color: #9fc4ff; }
.rate:hover .rate-go, .rate:focus-visible .rate-go { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.rates-facts { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 2.5rem; padding: 1.6rem 0 0; margin: 2rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, .12); color: var(--silver); font-size: .95rem; }
.rates-facts .num { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: #fff; margin-right: .3rem; font-variant-numeric: tabular-nums; }
@media (max-width: 991.98px) {
    .rates-board { grid-template-columns: 1fr; gap: 1.5rem; }
    .rates-head p { max-width: none; }
}
@media (max-width: 575.98px) {
    .rates-band { padding: 3.25rem 0 2.75rem; }
    .rate { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.15rem 1.25rem; }
    .rate:first-child { border-top: 0; }
    .rates-facts { gap: .4rem 1.75rem; }
}

/* Contact : titre du formulaire aux couleurs du site (l'email se coupe après « @ » : voir email_html()) */
#contact .form-card > h3 { color: var(--navy); font-weight: 700; }
