/* IDTrax Indépendant — compléments à accueil.css (copié tel quel depuis le site d'idtrax.fr).
   Seulement ce qui est propre à ce site : téléphone en HTML (devis signé), bande des 8 outils,
   facture dont on change la couleur, carte tarif unique, formulaire de rappel. */

/* ---------- En-tête ---------- */
.brand__tag { font-style: normal; font: 700 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: var(--yellow); padding: 5px 8px; border-radius: 7px; margin-left: 4px; vertical-align: 3px; }

/* ---------- Hero ---------- */
.kicker { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 99px; padding: 5px 14px 5px 6px; font-weight: 700; font-size: 14px; margin-bottom: 18px; box-shadow: var(--shadow); }
.kicker img { width: 28px; height: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__cta .btn--ghost svg { font-size: 16px; }
.hero__trust { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; font-size: 14px; font-weight: 700; }
.hero__trust li { display: flex; align-items: center; gap: 6px; }
.hero__trust li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.hero__price { margin-top: 14px; font-size: 14.5px; color: var(--muted); }
.hero__price b { color: var(--ink); }

/* Un seul personnage (Léo) : le téléphone se décale un peu vers la gauche. */
.hero__stage .phone { margin-left: -170px; }
.hero__stage .hand--leo { right: 6px; top: 130px; }
.hero__stage .notif--1 { margin-left: 20px; top: 40px; }
.hero__stage .notif--2 { margin-left: -60px; top: 540px; }
.hero__stage .notif--3 { margin-left: -360px; top: 585px; }

/* Écran du téléphone : un devis signé, en HTML */
.phone__ui { height: 100%; border-radius: 34px; background: #fff; overflow: hidden; display: flex; flex-direction: column; font-size: 11px; line-height: 1.3; color: var(--ink); }
.ui__bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px 6px; font-weight: 700; font-size: 11px; }
.ui__dots { display: flex; gap: 3px; }
.ui__dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink); }
.ui__head { background: var(--ink); color: #fff; margin: 4px 10px 0; border-radius: 14px; padding: 10px 12px; display: grid; grid-template-columns: 1fr auto; align-items: center; }
.ui__head small { grid-column: 1; color: rgba(255, 255, 255, .6); font-size: 9.5px; text-transform: uppercase; letter-spacing: .08em; }
.ui__head b { grid-column: 1; font: 700 15px/1.2 var(--display); color: var(--yellow); }
.ui__pill { grid-column: 2; grid-row: 1 / span 2; background: var(--green); color: #fff; font-weight: 800; font-size: 9.5px; padding: 4px 8px; border-radius: 99px; }
.ui__client { padding: 10px 14px 4px; }
.ui__client b { display: block; font-size: 12.5px; }
.ui__client span { color: var(--muted); font-size: 10px; }
.ui__lines { padding: 4px 14px; }
.ui__lines div { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid #eee8da; }
.ui__lines span { color: #3c4150; }
.ui__total { margin: 6px 10px 0; display: flex; justify-content: space-between; align-items: center; background: var(--yellow); border-radius: 10px; padding: 8px 10px; font-weight: 800; }
.ui__total b { font: 700 15px/1 var(--display); }
.ui__sign { margin: 8px 10px 0; border: 1.5px dashed #d9d2c2; border-radius: 10px; padding: 6px 8px 2px; }
.ui__sign small { color: var(--muted); font-size: 9px; }
.ui__sign svg { width: 100%; height: 44px; display: block; }
.ui__sign .sig { stroke-dasharray: 420; stroke-dashoffset: 420; animation: sign 2.4s .8s ease-out forwards; }
@keyframes sign { to { stroke-dashoffset: 0; } }
.ui__btn { margin: auto 10px 14px; background: var(--ink); color: #fff; text-align: center; font-weight: 700; padding: 10px; border-radius: 11px; box-shadow: 0 3px 0 #000; }

/* ---------- Bande des 8 outils ---------- */
.feats--indy { padding: 80px 0 70px; }
.feats__head { text-align: center; max-width: 760px; margin: 0 auto 40px; color: #fff; }
.feats__head h2 { font-size: clamp(30px, 3.8vw, 44px); }
.hl--dark { background: none; color: var(--yellow); }
.feats--indy .feats__grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feats--indy .feat { padding: 22px 14px; }
.video { padding-bottom: 96px; }
.feats__more { text-align: center; color: rgba(255, 255, 255, .62); margin-top: 28px; font-size: 15px; }

/* ---------- Facture à vos couleurs ---------- */
.brandkit { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.brandkit__text h2 { font-size: clamp(32px, 4vw, 48px); }
.brandkit__text > p { margin-top: 16px; font-size: 17px; color: var(--muted); }
.brandkit .ticks { margin-top: 26px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.swatch { width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--paper); background: var(--c); cursor: pointer; box-shadow: 0 0 0 1.5px var(--line), 0 6px 14px -8px rgba(27, 30, 36, .6); transition: transform .15s, box-shadow .15s; }
.swatch:hover { transform: translateY(-2px); }
.swatch.is-on { box-shadow: 0 0 0 3px var(--ink), 0 6px 14px -8px rgba(27, 30, 36, .6); transform: scale(1.08); }
.swatch:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.invoice { --c: #ffc300; --on: #1b1e24; --tint: color-mix(in srgb, var(--c) 16%, #fff); background: #fff; border-radius: 18px; padding: 26px 28px 22px; box-shadow: var(--shadow-lg); border: 1px solid rgba(27, 30, 36, .06); font-size: 13px; color: #1f2430; rotate: 1.2deg; transition: rotate .3s; }
.invoice:hover { rotate: 0deg; }
.inv__bar { height: 6px; border-radius: 3px; background: var(--c); margin-bottom: 20px; transition: background .3s; }
.inv__parties { display: flex; justify-content: space-between; gap: 18px; }
.inv__from { display: flex; gap: 12px; }
.inv__parties .inv__logo { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--c); color: var(--on); display: grid; place-items: center; font: 700 17px/1 var(--display); transition: background .3s, color .3s; }
.inv__parties b { display: block; font: 700 15px/1.2 var(--display); margin-bottom: 3px; }
.inv__parties span { color: #6b7080; font-size: 12px; line-height: 1.4; display: block; }
.inv__to { text-align: right; }
.inv__title { font-size: 22px; margin: 22px 0 4px; }
.inv__sub { display: flex; justify-content: space-between; color: #4a4f5c; font-size: 12.5px; margin-bottom: 12px; }
.inv__table { font-size: 12.5px; }
.inv__th, .inv__tr { display: grid; grid-template-columns: 1fr 64px 92px; gap: 8px; padding: 8px 10px; }
.inv__th { background: var(--tint); border-radius: 8px; font-weight: 700; transition: background .3s; }
.inv__tr { border-bottom: 1px solid #e2e5ea; }
.inv__th span:not(:first-child), .inv__tr span:not(:first-child) { text-align: right; }
.inv__after { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 16px; }
.inv__chip { background: var(--tint); border-radius: 8px; padding: 8px 10px; font-weight: 700; font-size: 12px; transition: background .3s; }
.inv__total { display: flex; gap: 16px; align-items: center; background: var(--c); color: var(--on); border-radius: 10px; padding: 10px 14px; font-weight: 800; transition: background .3s, color .3s; }
.inv__total b { font: 700 17px/1 var(--display); }
.inv__legal { margin-top: 16px; font-size: 11px; color: #6b7080; }

/* ---------- Tarif unique ---------- */
.solo-plan { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: center; max-width: 980px; margin: 0 auto; }
.solo-plan .plan--top { transform: none; padding-top: 38px; }
.solo-plan .plan--top:hover { transform: translateY(-4px); }
.solo-plan .plan__amount { font-size: 64px; }
.solo-plan .plan__ref { margin: 12px 0 22px; }
.plan__fine { text-align: center; font-size: 13px; color: rgba(255, 255, 255, .6); margin-top: 12px; }
.solo-plan__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.tarif-wrap .custom { max-width: 980px; margin-inline: auto; }
#tarif .custom { max-width: 980px; margin: 44px auto 0; }

/* ---------- Être rappelé ---------- */
.callback { position: relative; background: var(--paper); border: 2px solid var(--ink); border-radius: 28px; padding: 34px 36px 30px 210px; box-shadow: 0 8px 0 var(--ink), 0 30px 50px -24px rgba(27, 30, 36, .45); }
.callback__art { position: absolute; left: 26px; bottom: 0; height: 300px; width: auto; filter: drop-shadow(0 14px 14px rgba(27, 30, 36, .25)); }
.callback h2 { font-size: clamp(26px, 3vw, 34px); }
.callback form > p { color: var(--muted); margin: 10px 0 18px; }
.callback .btn { margin-top: 14px; }
.callback__done { display: none; padding: 20px 0; }
.callback__done p:not(.ap__title) { color: var(--muted); margin-top: 6px; }
.callback.sent form { display: none; }
.callback.sent .callback__done { display: block; animation: rise .5s both; }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .feats--indy .feats__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .hero__cta, .hero__trust { justify-content: center; }
  .kicker { margin-inline: auto; }
  .brandkit { grid-template-columns: 1fr; gap: 40px; }
  .invoice { max-width: 560px; margin: 0 auto; width: 100%; }
  .solo-plan { grid-template-columns: 1fr; max-width: 460px; }
  .callback { padding: 30px 26px 26px; }
  .callback__art { display: none; }
}
@media (max-width: 640px) {
  .brand span { display: inline; font-size: 18px; }
  .brand__tag { font-size: 10px; padding: 4px 6px; }
  .top__actions .btn--line { display: none; }
  .hero__cta .btn { width: 100%; }
  .hero__stage .phone { margin-left: -128px; }
  .hero__stage .notif--1 { margin-left: 0; top: 10px; }
  .phone__ui { border-radius: 27px; font-size: 9px; }
  .ui__lines div { padding: 4px 0; }
  .ui__sign svg { height: 30px; }
  .ui__btn { padding: 7px; font-size: 9px; }
  .feats--indy { padding: 60px 0 50px; }
  .feats--indy .feats__grid { gap: 10px; }
  .invoice { padding: 18px 16px; rotate: 0deg; font-size: 12px; }
  .inv__parties { flex-direction: column; }
  .inv__to { text-align: left; }
  .inv__th, .inv__tr { grid-template-columns: 1fr 46px 78px; padding: 7px 6px; font-size: 11.5px; }
  .inv__after { flex-direction: column; align-items: stretch; }
  .inv__total { justify-content: space-between; }
  .solo-plan__list { grid-template-columns: 1fr; }
  .callback { padding: 24px 18px 20px; }
}
@media (max-width: 640px) {
  .video { padding-bottom: 64px; }
}
.ui__meta { display: flex; justify-content: space-between; margin: 8px 14px 0; font-size: 10.5px; color: #3c4150; }
.ui__meta .ok { color: var(--green); }
@media (max-width: 640px) {
  .ui__meta { margin-top: 4px; font-size: 8.5px; }
}

/* ---------- Choix de la langue (en haut à droite) ---------- */
.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px 0 11px; border-radius: 12px; border: 2px solid rgba(27, 30, 36, .18); font: 700 14px/1 var(--body); cursor: pointer; user-select: none; transition: border-color .15s; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { border-color: var(--ink); }
.lang summary svg { font-size: 18px; }
.lang .lang__chev { font-size: 14px; transition: transform .2s; }
.lang[open] .lang__chev { transform: rotate(180deg); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 170px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: var(--shadow-lg); }
.lang__menu a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; text-decoration: none; font-weight: 600; font-size: 14.5px; }
.lang__menu a b { width: 30px; text-align: center; font-size: 11.5px; letter-spacing: .04em; background: var(--beton); border-radius: 6px; padding: 4px 0; }
.lang__menu a:hover { background: var(--beton); }
.lang__menu a[aria-current="true"] { background: var(--yellow-soft); }
.lang__menu a[aria-current="true"] b { background: var(--yellow); }

/* Bandeau des versions étrangères : l'appli n'est ouverte qu'en France pour l'instant */
.langnote { background: var(--ink); color: #fff; font-size: 14px; padding: 10px 0; text-align: center; }
.langnote a { color: var(--yellow); font-weight: 700; text-decoration: none; margin-left: 6px; white-space: nowrap; }
.langnote a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .lang summary { height: 36px; padding: 0 8px; }
  .langnote { font-size: 13px; padding: 9px 0; }
}

/* Drapeaux du choix de langue (SVG intégrés : les émojis drapeaux ne s'affichent pas sous Windows) */
.flag { display: inline-block; flex: none; width: 22px; height: 15px; border-radius: 3px; background: center / cover no-repeat; box-shadow: 0 0 0 1px rgba(27, 30, 36, .12); }
.flag--fr { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3Cpath fill='%23002654' d='M0 0h1v2H0z'/%3E%3Cpath fill='%23fff' d='M1 0h1v2H1z'/%3E%3Cpath fill='%23ce1126' d='M2 0h1v2H2z'/%3E%3C/svg%3E"); }
.flag--de { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 3'%3E%3Cpath d='M0 0h5v1H0z'/%3E%3Cpath fill='%23d00' d='M0 1h5v1H0z'/%3E%3Cpath fill='%23ffce00' d='M0 2h5v1H0z'/%3E%3C/svg%3E"); }
.flag--es { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3Cpath fill='%23aa151b' d='M0 0h3v2H0z'/%3E%3Cpath fill='%23f1bf00' d='M0 .5h3v1H0z'/%3E%3C/svg%3E"); }
.flag--en { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='t'%3E%3Cpath d='M30 15h30v15zv15H0zH0V0zV0h30z'/%3E%3C/clipPath%3E%3Cpath fill='%23012169' d='M0 0h60v30H0z'/%3E%3Cpath stroke='%23fff' stroke-width='6' d='M0 0l60 30m0-30L0 30'/%3E%3Cpath stroke='%23c8102e' stroke-width='4' clip-path='url(%23t)' d='M0 0l60 30m0-30L0 30'/%3E%3Cpath stroke='%23fff' stroke-width='10' d='M30 0v30M0 15h60'/%3E%3Cpath stroke='%23c8102e' stroke-width='6' d='M30 0v30M0 15h60'/%3E%3C/svg%3E"); }
.lang__menu .flag { width: 24px; height: 16px; }
