/* Home : comparatif « Build it yourself or choose Unipile » (refonte nov. 2026) */
.ucmp { max-width: 1080px; margin: 0 auto; padding-top: 40px; font-family: 'Inter', sans-serif; }
.ucmp *, .ucmp *::before, .ucmp *::after { box-sizing: border-box; }
.ucmp p, .ucmp h2 { margin: 0; padding: 0; }

.ucmp-head { text-align: center; margin-bottom: 48px; }
.ucmp-head h2 { font-family: 'Poppins', sans-serif; font-size: 35px; line-height: 1.2; font-weight: 700; color: #fff; letter-spacing: normal; }
.ucmp-head h2 span { color: #3BB98B; }
.ucmp-head p { max-width: 640px; margin: 14px auto 0; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, 0.7); }

/* Carte unique : tableau + pied */
.ucmp-card { border-radius: 16px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); padding: 12px; }

.ucmp-row { display: grid; grid-template-columns: 1fr 1.35fr 1.35fr; align-items: stretch; }
.ucmp-row > div { display: flex; align-items: center; gap: 12px; padding: 18px 22px; font-size: 0.95rem; line-height: 1.4; }
.ucmp-row:not(.ucmp-row--head):not(.ucmp-row--last) .ucmp-label,
.ucmp-row:not(.ucmp-row--head):not(.ucmp-row--last) .ucmp-build { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.ucmp-row:not(.ucmp-row--head):not(.ucmp-row--last) .ucmp-uni { border-bottom: 1px solid rgba(59, 185, 139, 0.14); }

.ucmp-label { color: rgba(255, 255, 255, 0.55); font-weight: 500; }
.ucmp-build { color: rgba(255, 255, 255, 0.6); }

/* Colonne Unipile : une seule bande verte continue */
.ucmp-uni { color: #fff; font-weight: 600; background: rgba(59, 185, 139, 0.07); border-left: 1px solid rgba(59, 185, 139, 0.25); border-right: 1px solid rgba(59, 185, 139, 0.25); }
.ucmp-row--head .ucmp-uni { border-top: 1px solid rgba(59, 185, 139, 0.25); border-radius: 14px 14px 0 0; }
.ucmp-row--last .ucmp-uni { border-bottom: 1px solid rgba(59, 185, 139, 0.25); border-radius: 0 0 14px 14px; }

.ucmp-row--head > div { padding-top: 20px; padding-bottom: 20px; font-family: 'Poppins', sans-serif; font-size: 1.05rem; font-weight: 600; }
.ucmp-row--head .ucmp-build { color: rgba(255, 255, 255, 0.5); }
.ucmp-row--head .ucmp-uni img { width: 22px; height: 22px; flex-shrink: 0; }

.ucmp-ic { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; }
.ucmp-ic svg { width: 13px; height: 13px; }
.ucmp-ic--no { background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.45); }
.ucmp-ic--yes { background: rgba(59, 185, 139, 0.18); color: #3BB98B; }

/* Pied : chiffres + CTA */
/* Détaché de la carte : une ligne posée sous le tableau */
.ucmp-foot { display: flex; align-items: center; justify-content: center; gap: 40px; margin-top: 40px; }
.ucmp-stat-t { font-family: 'Poppins', sans-serif; font-size: 1.25rem; font-weight: 600; color: #fff; line-height: 1.3; }
.ucmp-stat-t span { color: #3BB98B; }
.ucmp-stat-d { margin-top: 2px !important; font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }
.ucmp-stat + .ucmp-stat { padding-left: 40px; border-left: 1px solid rgba(255, 255, 255, 0.08); }
.ucmp-cta { margin-left: 8px; display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 8px; background: #DDDF4C; border: 2px solid #DDDF4C; color: #0f2736 !important; font-weight: 600; font-size: 0.95rem; text-decoration: none; white-space: nowrap; transition: all 0.3s ease; cursor: pointer; }
.ucmp-cta:hover { transform: translateY(-5px); }
.ucmp-cta svg { width: 16px; height: 16px; }

/* Tablette */
@media (max-width: 900px) {
  .ucmp-head h2 { font-size: 28px; }
  .ucmp-row { grid-template-columns: 0.9fr 1.3fr 1.3fr; }
  .ucmp-row > div { padding: 16px 16px; font-size: 0.9rem; }
  .ucmp-foot { flex-wrap: wrap; gap: 24px 32px; }
  .ucmp-stat + .ucmp-stat { padding-left: 32px; }
  .ucmp-cta { margin-left: 0; }
}

/* Mobile : une carte par critère */
@media (max-width: 600px) {
  .ucmp-head { margin-bottom: 32px; }
  .ucmp-head h2 { font-size: 26px; }
  .ucmp-cta { min-height: 48px; }
  .ucmp-card { padding: 8px; border-radius: 16px; }
  .ucmp-row--head { display: none; }
  .ucmp-row { grid-template-columns: 1fr; padding: 16px; }
  .ucmp-row:not(.ucmp-row--last) { border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
  .ucmp-row > div { padding: 0; border: 0 !important; background: none; border-radius: 0; }
  .ucmp-label { margin-bottom: 10px; font-size: 0.75rem !important; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
  .ucmp-build { margin-bottom: 8px; }
  .ucmp-uni { padding: 10px 12px !important; border-radius: 10px !important; background: rgba(59, 185, 139, 0.08) !important; border: 1px solid rgba(59, 185, 139, 0.2) !important; }
  .ucmp-foot { margin-top: 32px; flex-direction: column; align-items: stretch; gap: 20px; text-align: center; }
  .ucmp-stat + .ucmp-stat { padding-left: 0; border-left: 0; }
  .ucmp-cta { width: 100%; justify-content: center; }
}

@media (max-width: 400px) {
  .ucmp-head h2 { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .ucmp-cta { transition: none; }
  .ucmp-cta:hover { transform: none; }
}

/* =========================================================
   Home : section « Platform Features » (refonte nov. 2026)
   ========================================================= */
body #unipile-features-v2 .features-badge { gap: 6px; padding: 6px 14px; border-radius: 20px; background: rgba(59, 185, 139, 0.1); color: #3BB98B; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; border: 0; }
body #unipile-features-v2 .features-title { font-family: 'Poppins', sans-serif; font-size: 35px; line-height: 1.2; font-weight: 700; color: #0f2736; }
body #unipile-features-v2 .features-title span { color: #3BB98B; }
body #unipile-features-v2 .features-subtitle { font-size: 16px; line-height: 1.5; color: #383838; }

/* Onglets : contrôle segmenté sans ombre */
body #unipile-features-v2 .tabs-nav { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 4px; }
body #unipile-features-v2 .tab-btn { border-radius: 8px; color: #5b6573; transition: color 0.2s ease, background 0.2s ease; }
body #unipile-features-v2 .tab-btn.active { background: #0f2736; color: #ffffff; box-shadow: none; }
body #unipile-features-v2 .tab-btn.active svg { color: #3BB98B; opacity: 1; }

/* Cartes non cliquables : pas d'état hover */
body #unipile-features-v2 .bento-card { border-radius: 16px; border: 1px solid #e5e7eb; padding: 28px; transition: none; }
body #unipile-features-v2 .bento-card:hover { transform: none; box-shadow: none; border-color: #e5e7eb; }
body #unipile-features-v2 .card-header { margin-bottom: 18px; }
body #unipile-features-v2 .card-icon { width: 40px; height: 40px; border-radius: 6px; background: rgba(59, 185, 139, 0.1); border: 1px solid rgba(59, 185, 139, 0.2); }
body #unipile-features-v2 .card-icon svg { width: 20px; height: 20px; color: #3BB98B; }
body #unipile-features-v2 .card-title { font-family: 'Poppins', sans-serif; font-size: 18px; line-height: 1.3; font-weight: 600; color: #0f2736; }
body #unipile-features-v2 .card-description { font-size: 15px; line-height: 1.6; color: #383838; }
body #unipile-features-v2 .benefit-item { font-size: 15px; color: #0f2736; }
body #unipile-features-v2 .benefit-check { width: 20px; height: 20px; min-width: 20px; background: rgba(59, 185, 139, 0.15); }
body #unipile-features-v2 .code-preview { border-radius: 14px; }

/* Logos pleins, sans tuile ni effet */
body #unipile-features-v2 .providers-row { gap: 14px; align-items: center; }
body #unipile-features-v2 .provider-icon { width: 28px; height: 28px; background: none; border: 0; border-radius: 0; transition: none; }
body #unipile-features-v2 .provider-icon:hover { transform: none; border: 0; }
body #unipile-features-v2 .provider-icon img { width: 28px; height: 28px; }
body #unipile-features-v2 .provider-more { font-size: 14px; font-weight: 500; color: #5b6573; }

/* Ressources techniques : même carte que les guides du footer */
body #unipile-features-v2 .dev-resources-section { margin-top: 56px; padding-top: 40px; border-top: 1px solid #e5e7eb; }
body #unipile-features-v2 .dev-resources-title { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 600; color: #0f2736; }
body #unipile-features-v2 .dev-links-grid { gap: 16px; }
body #unipile-features-v2 .dev-link-card { display: flex; flex-direction: column; align-items: flex-start; gap: 0; text-align: left; padding: 22px; border-radius: 16px; border: 1px solid #e5e7eb; background: #ffffff; transition: border-color 0.2s ease, transform 0.3s ease; }
body #unipile-features-v2 .dev-link-card:hover { transform: translateY(-2px); border-color: #3BB98B; box-shadow: none; }
body #unipile-features-v2 .dev-link-icon { width: 40px; height: 40px; margin: 0 0 18px; border-radius: 6px; background: rgba(59, 185, 139, 0.1); border: 1px solid rgba(59, 185, 139, 0.2); }
body #unipile-features-v2 .dev-link-icon svg { width: 20px; height: 20px; color: #3BB98B; }
body #unipile-features-v2 .dev-link-title { font-size: 15px; font-weight: 600; color: #0f2736; }
body #unipile-features-v2 .dev-link-desc { font-size: 13px; color: #5b6573; }
body #unipile-features-v2 .external-link-icon { top: 24px; right: 22px; width: 16px; height: 16px; color: #9aa3ae; transition: color 0.2s ease; }

@media (max-width: 900px) {
  body #unipile-features-v2 .features-title { font-size: 28px; }
}
@media (max-width: 600px) {
  body #unipile-features-v2 .features-title { font-size: 26px; }
  body #unipile-features-v2 .bento-card { padding: 22px; }
  body #unipile-features-v2 .dev-links-grid { grid-template-columns: 1fr; gap: 12px; }
  body #unipile-features-v2 .dev-link-card { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; row-gap: 2px; align-items: center; padding: 16px 44px 16px 18px; }
  body #unipile-features-v2 .dev-link-icon { grid-row: 1 / span 2; margin: 0; }
  body #unipile-features-v2 .dev-link-title { grid-column: 2; margin: 0; align-self: end; }
  body #unipile-features-v2 .dev-link-desc { grid-column: 2; align-self: start; }
  body #unipile-features-v2 .tabs-nav { display: flex; flex-wrap: nowrap; width: 100%; }
  body #unipile-features-v2 .tab-btn { flex: 1 1 auto; padding: 10px 8px; font-size: 13px; gap: 6px; white-space: nowrap; justify-content: center; }
  body #unipile-features-v2 .external-link-icon { top: 50%; transform: translateY(-50%); }
}
@media (max-width: 400px) {
  body #unipile-features-v2 .features-title { font-size: 24px; }
}

/* =========================================================
   Home : survols harmonisés (charte 4.2)
   Logos : aucun effet. Carte cliquable : -2px + bordure verte.
   ========================================================= */
body .uph-right-api-provider:hover { transform: none !important; background: none !important; }
body #up-apis-section-wrapper .up-apis-logos img:hover { transform: none !important; }
body #up-apis-section-wrapper a.up-apis-card { transition: border-color 0.2s ease, transform 0.3s ease !important; }
body #up-apis-section-wrapper a.up-apis-card:hover { transform: translateY(-2px) !important; border-color: #3BB98B !important; box-shadow: none !important; }

@media (prefers-reduced-motion: reduce) {
  body #unipile-features-v2 .dev-link-card,
  body #up-apis-section-wrapper a.up-apis-card { transition: none !important; }
  body #unipile-features-v2 .dev-link-card:hover,
  body #up-apis-section-wrapper a.up-apis-card:hover { transform: none !important; }
}
