/* Accueil grand public — porte d'entrée du site.
   Objectif : accueillir et orienter une clientèle large, souvent peu
   alphabétisée. L'accessibilité repose sur de gros repères VISUELS (émojis,
   plus tard logos/pictos) ; le texte suit la bascule FR/AR globale (langue.js).
   Chargé par templates/carte/accueil.html. */

.acc { max-width: 960px; margin: 0 auto; padding: 0 16px 48px; }

/* ── Héros ─────────────────────────────────────────────────────────────── */
.hero { text-align: center; padding: 42px 8px 26px; }
.hero h2 { font-size: 30px; line-height: 1.25; margin: 0; color: #123; }
.hero p { font-size: 16px; color: #556; margin: 14px auto 0; max-width: 560px; }

/* Appels à l'action principaux */
.cta-grand { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
             margin: 28px 0 6px; }
.cta { display: flex; flex-direction: column; align-items: center; gap: 6px;
       min-width: 220px; padding: 22px 28px; border-radius: 16px;
       text-decoration: none; font-weight: 800; font-size: 19px;
       border: 2px solid transparent; transition: transform .1s, box-shadow .1s; }
.cta:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.12); }
.cta .ic { font-size: 42px; line-height: 1; }
.cta-piece { background: #0a7d54; color: #fff; }
.cta-repar { background: #fff; color: #0a7d54; border-color: #0a7d54; }
/* Porte « vendeur » — profil distinct (ambre) à côté des portes acheteur (vert). */
.cta-vendeur { background: #fff8ec; color: #8a5a00; border-color: #e8c572; }

/* ── Blocs de section ──────────────────────────────────────────────────── */
.bloc { margin-top: 42px; }
.bloc > h3 { text-align: center; font-size: 21px; margin: 0 0 6px; color: #123; }
.bloc .intro { text-align: center; color: #667; font-size: 14px; margin: 0 0 18px; }

/* Tuiles « tous véhicules » — FR + AR affichés ensemble (repère bilingue) */
.vehics { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
          gap: 12px; }
.vtuile { display: flex; flex-direction: column; align-items: center; gap: 6px;
          padding: 18px 8px; border: 2px solid #dde5e1; border-radius: 14px;
          background: #fff; text-decoration: none; color: #223; text-align: center;
          transition: border-color .1s, background .1s; }
.vtuile:hover { border-color: #0a7d54; background: #e8f5ee; }
.vtuile .vic { font-size: 38px; line-height: 1; }
.vtuile .vn { font-size: 13.5px; font-weight: 700; }
.vtuile .vn-ar { font-size: 12.5px; color: #778; direction: rtl; }

/* Bande de marques — de vrais logos, gage de sérieux (façon Oscaro). */
.marques-strip { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.marque-logo { width: 72px; height: 40px; object-fit: contain; background: #fff;
               border: 1px solid #e6ece9; border-radius: 10px; padding: 7px 10px; }

/* ── Comment ça marche ─────────────────────────────────────────────────── */
.etapes-acc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.etape-c { text-align: center; padding: 22px 14px; background: #f6faf8;
           border: 1px solid #e2ede8; border-radius: 16px; }
.etape-c .num { display: inline-flex; align-items: center; justify-content: center;
                width: 34px; height: 34px; border-radius: 50%; background: #0a7d54;
                color: #fff; font-weight: 800; font-size: 16px; margin-bottom: 8px; }
.etape-c .ic { font-size: 36px; display: block; margin-bottom: 6px; }
.etape-c .et-t { font-weight: 800; font-size: 15.5px; color: #123; }
.etape-c .et-d { font-size: 13px; color: #556; margin-top: 6px; line-height: 1.5; }

/* ── Bandeaux carte & pro ──────────────────────────────────────────────── */
.ruban { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
         gap: 14px; padding: 22px 24px; border-radius: 18px; margin-top: 22px; }
.ruban .txt { font-size: 17px; font-weight: 700; color: #123; }
.ruban .txt small { display: block; font-size: 13px; color: #667; font-weight: 500;
                    margin-top: 5px; }
.ruban-carte { background: #eef5f1; border: 1px solid #d6e7de; }
.ruban-pro { background: #fff8ec; border: 1px solid #f0dcb4; }
.ruban .btn-ruban { background: #0a7d54; color: #fff; text-decoration: none;
                    padding: 13px 22px; border-radius: 10px; font-weight: 800;
                    font-size: 15px; white-space: nowrap; }
.ruban .btn-ruban:hover { background: #086144; }

/* ── Pied rassurance ───────────────────────────────────────────────────── */
.rassure { text-align: center; color: #778; font-size: 13.5px; margin-top: 34px;
           display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; }
.rassure span { white-space: nowrap; }

/* Icônes vectorielles (Tabler, MIT) qui remplacent les émojis — elles
   héritent de la couleur du texte via currentColor. */
.cta-ic { width: 30px; height: 30px; }
.etape-c .etape-ic { width: 36px; height: 36px; color: #0a7d54; display: block; margin: 0 auto 6px; }
.vtuile .vic-img { width: 44px; height: 44px; object-fit: contain; display: block; }

@media (max-width: 560px) {
  .hero h2 { font-size: 24px; }
  .cta { min-width: 0; flex: 1; }
  .etapes-acc { grid-template-columns: 1fr; }
}
