/* ============================================================================
   theme-plus.css — Couche de finition « premium » partagée
   Boîte à outils LINKTECH SOLUTIONS
   ----------------------------------------------------------------------------
   Chargée APRÈS les styles inline de chaque page (donc elle a le dernier mot).
   Additive uniquement : profondeur, dégradés, survols, focus, typographie.
   Ne touche à AUCUNE logique ni à aucune dimension structurante.
   S'appuie sur les tokens déjà définis dans chaque page (--ink, --accent…).
   ============================================================================ */

/* ---- Base -------------------------------------------------------------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(1200px 480px at 50% -160px, rgba(19,171,208,.10), transparent 70%),
    linear-gradient(180deg, #f7f9fc 0%, var(--paper) 40%);
  background-attachment: fixed;
}
::selection { background: rgba(19,171,208,.22); color: var(--ink); }

/* ---- Typographie ------------------------------------------------------- */
h1 { letter-spacing: -0.02em; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .wrap > h1 {
    background: linear-gradient(120deg, var(--ink) 0%, #2b3aa0 60%, var(--accent) 130%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
  }
}
.eyebrow { display: inline-flex; align-items: center; gap: 7px; }
.eyebrow::before {
  content: ""; width: 16px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hot));
}

/* ---- Cartes : profondeur + survol ------------------------------------- */
a.tool, .card, .links, .promise {
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s ease, border-color .18s ease;
}
a.tool, .card {
  box-shadow: 0 1px 2px rgba(16,24,69,.05), 0 8px 24px -14px rgba(16,24,69,.22);
}
@media (hover: hover) {
  a.tool:hover, .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 2px 4px rgba(16,24,69,.06), 0 18px 40px -18px rgba(16,24,69,.34);
    border-color: rgba(19,171,208,.45);
  }
  a.tool:hover .ico { transform: scale(1.06); box-shadow: 0 10px 22px -8px rgba(19,171,208,.6); }
  a.tool:hover .arrow { transform: translateX(3px); }
  .links a:hover .lk { color: var(--accent); }
}
a.tool .ico, a.tool .arrow { transition: transform .18s ease, box-shadow .18s ease, color .18s ease; }

/* Reliseré supérieur des cartes en dégradé */
a.tool, .card { border-top-color: transparent; position: relative; }
a.tool::after, .card::after {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-hot));
}

/* ---- Pastilles d'icônes ----------------------------------------------- */
.tool .ico {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 6px 16px -8px rgba(16,24,69,.5);
}

/* ---- Panneaux navy (sub, contact, fiche, pied, confirmation) ---------- */
.sub, .contact, .ok, .foot, .ent {
  position: relative;
  box-shadow: 0 14px 34px -20px rgba(3,18,70,.7);
  border: 1px solid rgba(120,150,255,.16);
}
.sub::before, .contact::before, .ok::before, .foot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,0) 42%);
}

/* ---- Cartes de résultats (listes) ------------------------------------- */
.res { transition: transform .16s ease, box-shadow .18s ease, border-color .18s ease; }
@media (hover: hover) {
  .res:hover { transform: translateY(-2px); border-color: rgba(19,171,208,.45);
    box-shadow: 0 14px 30px -18px rgba(16,24,69,.35); }
}

/* ---- Boutons ----------------------------------------------------------- */
.btn, .contact a.btn, .docbtn.primary {
  background: linear-gradient(180deg, #2bbfe4 0%, var(--accent) 55%, #0f97b8 100%);
  box-shadow: 0 8px 20px -8px rgba(19,171,208,.7), inset 0 1px 0 rgba(255,255,255,.28);
  transition: transform .14s ease, box-shadow .18s ease, filter .18s ease;
}
@media (hover: hover) {
  .btn:hover, .contact a.btn:hover, .docbtn.primary:hover {
    filter: brightness(1.04);
    box-shadow: 0 12px 26px -8px rgba(19,171,208,.85), inset 0 1px 0 rgba(255,255,255,.35);
  }
}
.btn:active, .contact a.btn:active, .docbtn.primary:active { transform: translateY(1px) scale(.99); }

/* ---- Boutons documents (secondaires) ---------------------------------- */
.docbtn { transition: transform .16s ease, box-shadow .18s ease, border-color .18s ease; }
@media (hover: hover) {
  .docbtn:hover { transform: translateY(-2px); border-color: rgba(19,171,208,.5);
    box-shadow: 0 14px 30px -16px rgba(16,24,69,.4); }
}

/* ---- Saisies & contrôles : focus soigné ------------------------------- */
.box:focus-within { box-shadow: 0 0 0 3px rgba(19,171,208,.18); border-color: var(--accent); }
input:focus-visible, textarea:focus-visible, select:focus-visible,
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px;
}

/* ---- Widget « Actualités fiscales » ----------------------------------- */
.lt-actu { transition: box-shadow .18s ease; box-shadow: 0 1px 2px rgba(16,24,69,.05), 0 10px 26px -16px rgba(16,24,69,.28); }
.lt-actu-tag { box-shadow: inset 0 0 0 1px rgba(19,171,208,.18); }

/* ---- Accessibilité : mouvement réduit --------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  a.tool:hover, .card:hover, .docbtn:hover, .btn:active { transform: none !important; }
}

/* ---- FAQ (SEO rich results + GEO) ------------------------------------- */
.faq { margin-top: 20px; }
.faq .faq-lbl {
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px; display: inline-flex; align-items: center; gap: 7px;
}
.faq .faq-lbl::before {
  content: ""; width: 16px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hot, var(--accent)));
}
.faq h2 {
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 17px;
  color: var(--ink); letter-spacing: -.01em; margin-bottom: 6px;
}
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  margin-top: 8px; overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 13px 15px; font-size: 13.5px;
  font-weight: 600; color: var(--ink); display: flex; justify-content: space-between;
  align-items: center; gap: 10px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 19px; font-weight: 400; color: var(--accent); flex: 0 0 auto; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq .a { padding: 0 15px 14px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.faq .a b { color: var(--ink); font-variant-numeric: tabular-nums; }
.faq .a a { color: var(--accent); font-weight: 600; text-decoration: none; }
