/* ============================================
   CHEF SES — couche « marketing institutionnel »
   À charger après landing.css sur les pages vitrine.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body.marketing-enterprise {
  --text-primary: #1f2937;
  --text-body: #374151;
  --color-primary-hover: #166534;
  --footer-bg: #111827;
  --footer-text: #f3f4f6;
  --footer-text-muted: #9ca3af;
  --footer-link: #d1d5db;
  --footer-link-hover: #ffffff;
  --icon-pro-color: var(--color-primary);
  --icon-pro-muted: #4b5563;

  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
}

/* Titres : garde Poppins (identité) */
body.marketing-enterprise h1,
body.marketing-enterprise h2,
body.marketing-enterprise h3,
body.marketing-enterprise h4,
body.marketing-enterprise h5,
body.marketing-enterprise h6,
body.marketing-enterprise .hero-title,
body.marketing-enterprise .page-title,
body.marketing-enterprise .section-title,
body.marketing-enterprise .cta-title,
body.marketing-enterprise .feature-title,
body.marketing-enterprise .f2f-block-title,
body.marketing-enterprise .pillars-title,
body.marketing-enterprise .brand-name,
body.marketing-enterprise .navbar-brand .brand-name {
  font-family: var(--font-poppins);
}

/* Corps / UI texte */
body.marketing-enterprise .feature-description,
body.marketing-enterprise .feature-benefits,
body.marketing-enterprise .about-text,
body.marketing-enterprise .farm-to-fork-lead,
body.marketing-enterprise .section-subtitle,
body.marketing-enterprise .form-input,
body.marketing-enterprise .form-textarea,
body.marketing-enterprise label {
  color: var(--text-body);
}

body.marketing-enterprise .page-subtitle {
  color: var(--text-body);
}

/* Boutons primaires — hover plus statutaire */
body.marketing-enterprise .btn-primary:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

/* Icônes vectorielles filaires — 32px cartes, trait lisible */
body.marketing-enterprise svg.icon-pro {
  stroke-width: 2;
}

body.marketing-enterprise svg.icon-pro path,
body.marketing-enterprise svg.icon-pro line,
body.marketing-enterprise svg.icon-pro circle,
body.marketing-enterprise svg.icon-pro rect,
body.marketing-enterprise svg.icon-pro polyline {
  stroke-width: 2;
}

body.marketing-enterprise .icon-pro {
  display: block;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  color: var(--icon-pro-color);
}

body.marketing-enterprise .navbar-brand .icon-pro {
  width: 1.625rem;
  height: 1.625rem;
}

body.marketing-enterprise .icon-pro--muted {
  color: var(--icon-pro-muted);
}

body.marketing-enterprise .icon-pro--light {
  color: var(--color-primary);
  opacity: 0.92;
}

body.marketing-enterprise .info-icon {
  font-size: unset;
  color: var(--color-primary);
}

body.marketing-enterprise .info-icon .icon-pro {
  width: 2rem;
  height: 2rem;
}

body.marketing-enterprise .feature-icon,
body.marketing-enterprise .stat-icon,
body.marketing-enterprise .pillar-icon,
body.marketing-enterprise .feature-detail-icon,
body.marketing-enterprise .value-icon,
body.marketing-enterprise .team-icon,
body.marketing-enterprise .tab-icon,
body.marketing-enterprise .visual-icon,
body.marketing-enterprise .benefit-icon,
body.marketing-enterprise .info-icon,
body.marketing-enterprise .supplier-feature-card .feature-icon,
body.marketing-enterprise .brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

body.marketing-enterprise .stat-icon .icon-pro,
body.marketing-enterprise .features-section .feature-icon .icon-pro,
body.marketing-enterprise .demo-card-icon .icon-pro,
body.marketing-enterprise .demo-feature-icon .icon-pro,
body.marketing-enterprise .value-icon .icon-pro,
body.marketing-enterprise .team-icon .icon-pro,
body.marketing-enterprise .benefit-icon .icon-pro {
  width: 2rem;
  height: 2rem;
}

/* Piliers Farm to Fork + icônes titres page Fonctionnalités : 40px, trait 2px */
body.marketing-enterprise .farm-to-fork-section .pillar-icon .icon-pro,
body.marketing-enterprise .feature-detail-icon .icon-pro {
  width: 2.5rem;
  height: 2.5rem;
}

body.marketing-enterprise .farm-to-fork-section .pillar-icon svg.icon-pro path,
body.marketing-enterprise .farm-to-fork-section .pillar-icon svg.icon-pro line,
body.marketing-enterprise .farm-to-fork-section .pillar-icon svg.icon-pro circle,
body.marketing-enterprise .farm-to-fork-section .pillar-icon svg.icon-pro rect,
body.marketing-enterprise .farm-to-fork-section .pillar-icon svg.icon-pro polyline,
body.marketing-enterprise .feature-detail-icon svg.icon-pro path,
body.marketing-enterprise .feature-detail-icon svg.icon-pro line,
body.marketing-enterprise .feature-detail-icon svg.icon-pro circle,
body.marketing-enterprise .feature-detail-icon svg.icon-pro rect,
body.marketing-enterprise .feature-detail-icon svg.icon-pro polyline {
  stroke-width: 2px;
}

body.marketing-enterprise .features-section .feature-icon {
  font-size: unset;
  display: inline-flex;
}

body.marketing-enterprise .stats-section .stat-icon {
  font-size: unset;
  margin-bottom: 0.25rem;
}

body.marketing-enterprise .farm-to-fork-section .pillar-icon {
  font-size: unset;
}

body.marketing-enterprise .tab-icon .icon-pro {
  width: 1.5rem;
  height: 1.5rem;
}

body.marketing-enterprise .visual-icon .icon-pro {
  width: 2rem;
  height: 2rem;
}

body.marketing-enterprise .brand-icon .icon-pro {
  width: 1.75rem;
  height: 1.75rem;
}

body.marketing-enterprise .footer-brand .icon-pro {
  width: 1.5rem;
  height: 1.5rem;
}

body.marketing-enterprise .feature-detail-icon {
  font-size: unset;
}

/* Fournisseurs : une seule couleur d’icône (vert marque) */
body.marketing-enterprise .supplier-feature-card .feature-icon {
  font-size: unset;
  color: var(--color-primary);
}

body.marketing-enterprise .supplier-feature-card .feature-icon .icon-pro {
  width: 2rem;
  height: 2rem;
  color: inherit;
}

/* Listes d’avantages landing : corps lisible */
body.marketing-enterprise .feature-benefits li {
  color: #374151;
  font-size: 0.875rem;
}

/* Contact : liens texte neutres, vert réservé aux pictos */
body.marketing-enterprise .contact-info-container .info-content a {
  color: #374151;
  font-weight: 500;
}

body.marketing-enterprise .contact-info-container .info-content a:hover {
  color: var(--color-primary-dark);
}

/* Stats « Déploiement pilote » (landing) : rythme plus serré */
body.marketing-enterprise .stats-section .stat-card-animated .stat-number:not(.stat-number--text),
body.marketing-enterprise .stats-section .stat-card-static .stat-number:not(.stat-number--text) {
  font-size: 2.5rem;
  margin: 0.5rem 0;
}

body.marketing-enterprise .stats-section .stat-card-animated .stat-number--text,
body.marketing-enterprise .stats-section .stat-card-static .stat-number--text {
  margin: 0.5rem 0;
}

/* Carte pilote : même « poids » typographique que les chiffres des cartes voisines */
body.marketing-enterprise .stats-section .stat-card-static.stat-card--pilot .stat-number--text {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-gray-900);
}

body.marketing-enterprise .stats-section .stat-card-animated .stat-label,
body.marketing-enterprise .stats-section .stat-card-static .stat-label {
  font-size: 0.875rem;
  color: #4b5563;
}

body.marketing-enterprise .stats-section .stat-card-static .stat-label--plain {
  font-size: 0.875rem;
  line-height: 1.45;
  color: #4b5563;
}

/* Grille stats (ex. À propos) : même rythme typographique */
body.marketing-enterprise .stats-section .stats-grid > .stat-item .stat-number:not(.stat-number--text) {
  font-size: 2.5rem;
  margin: 0.5rem 0;
}

body.marketing-enterprise .stats-section .stats-grid > .stat-item .stat-number--text {
  margin: 0.5rem 0;
}

body.marketing-enterprise .stats-section .stats-grid > .stat-item .stat-label {
  font-size: 0.875rem;
  color: #4b5563;
}

/* Page Fonctionnalités : paragraphes & puces plus lisibles */
body.marketing-enterprise .feature-detail-description {
  color: #4b5563;
}

body.marketing-enterprise .feature-detail-list li {
  color: #374151;
}

/* Footer institutionnel */
body.marketing-enterprise #footer-container .footer,
body.marketing-enterprise .footer {
  background: var(--footer-bg);
  color: var(--footer-text-muted);
}

body.marketing-enterprise #footer-container .footer-brand,
body.marketing-enterprise .footer-brand {
  color: var(--footer-text);
}

body.marketing-enterprise #footer-container .footer-brand .icon-pro,
body.marketing-enterprise .footer-brand .icon-pro {
  color: var(--color-primary-light);
}

body.marketing-enterprise #footer-container .footer-links a,
body.marketing-enterprise .footer-links a {
  color: var(--footer-link);
}

body.marketing-enterprise #footer-container .footer-links a:hover,
body.marketing-enterprise .footer-links a:hover {
  color: var(--footer-link-hover);
}

body.marketing-enterprise #footer-container .footer-tagline,
body.marketing-enterprise .footer-tagline {
  color: var(--footer-text-muted);
}

body.marketing-enterprise #footer-container .highlight,
body.marketing-enterprise .footer .highlight {
  color: var(--color-primary-light);
}

/* Alignement lecture B2B : textes longs à gauche */
body.marketing-enterprise .page-lead,
body.marketing-enterprise .page-proof {
  text-align: left;
}

body.marketing-enterprise.page-collectivites .tab-description,
body.marketing-enterprise.page-collectivites .tab-features-list {
  text-align: left;
}

body.marketing-enterprise.page-collectivites .tab-icon {
  font-size: unset;
}

body.marketing-enterprise.page-collectivites .visual-icon {
  font-size: unset;
}

body.marketing-enterprise.page-collectivites .benefit-icon {
  font-size: unset;
}

body.marketing-enterprise.page-collectivites .benefit-icon .icon-pro {
  width: 2rem;
  height: 2rem;
}

body.marketing-enterprise .suppliers-intro {
  text-align: left;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

body.marketing-enterprise .supplier-feature-card p {
  text-align: left;
}

body.marketing-enterprise .value-icon {
  font-size: unset;
}

body.marketing-enterprise .team-icon {
  font-size: unset;
  display: flex;
  justify-content: center;
}

body.marketing-enterprise .error-icon {
  font-size: unset;
  display: flex;
  justify-content: center;
  align-items: center;
}

body.marketing-enterprise .error-icon .icon-pro {
  width: 5rem;
  height: 5rem;
  color: var(--color-primary);
}

/* Navbar / footer : pictogramme marque */
body.marketing-enterprise .navbar-brand .brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.marketing-enterprise .navbar-brand .icon-pro {
  color: var(--color-primary);
}

/* Hero landing : texte déjà clair sur fond sombre — pas d’override couleur */

/* ========== Phase 2 — Mockup navigateur (page Fonctionnalités) ========== */
body.marketing-enterprise .browser-mockup {
  width: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 4px 6px -1px rgba(15, 23, 42, 0.06),
    0 20px 45px -12px rgba(15, 23, 42, 0.12);
}

body.marketing-enterprise .browser-mockup::before {
  content: '';
  display: block;
  height: 32px;
  background-color: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
  background-image:
    radial-gradient(circle at 14px 50%, #ef4444 4px, transparent 5px),
    radial-gradient(circle at 34px 50%, #eab308 4px, transparent 5px),
    radial-gradient(circle at 54px 50%, #22c55e 4px, transparent 5px);
  background-repeat: no-repeat;
}

body.marketing-enterprise .browser-mockup img,
body.marketing-enterprise .browser-mockup img.click-zoom {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(48vh, 400px);
  object-fit: contain;
  object-position: center top;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

body.marketing-enterprise .feature-visual__frame {
  border-radius: 0;
}

body.marketing-enterprise .feature-visual__zoom-badge {
  bottom: 14px;
  right: 14px;
}

/* Stats hero Fonctionnalités (grille + cartes nettes) */
body.marketing-enterprise .page-hero .hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 56rem;
  margin: 2rem auto 0;
  text-align: center;
}

body.marketing-enterprise .page-hero .hero-stats .stat-item {
  background: var(--color-white);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem 0.85rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.marketing-enterprise .page-hero .hero-stats .stat-item:hover {
  border-color: rgba(103, 197, 135, 0.45);
  box-shadow: 0 4px 14px rgba(103, 197, 135, 0.1);
}

body.marketing-enterprise .page-hero .hero-stats .stat-number:not(.stat-number--text) {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-gray-900);
  line-height: 1.15;
  margin: 0.5rem 0;
}

body.marketing-enterprise .page-hero .hero-stats .stat-number--text {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0.5rem 0;
  color: var(--color-gray-900);
}

body.marketing-enterprise .page-hero .hero-stats .stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #4b5563;
  text-transform: none;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

/* ========== Phase 2 — Cartes « crisp » (bordure nette, ombre légère) ========== */
body.marketing-enterprise .feature-card {
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

body.marketing-enterprise .feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(103, 197, 135, 0.12);
  border-color: rgba(103, 197, 135, 0.35);
}

body.marketing-enterprise .stat-card-animated,
body.marketing-enterprise .stat-card-static {
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  border: 1px solid #e5e7eb;
  padding: 1.25rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.marketing-enterprise .stat-card-animated:hover,
body.marketing-enterprise .stat-card-static:hover {
  border-color: rgba(103, 197, 135, 0.4);
  box-shadow: 0 10px 28px rgba(103, 197, 135, 0.1);
}

body.marketing-enterprise .pillar-card {
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

body.marketing-enterprise .pillar-card:hover {
  transform: translateY(-3px);
  border-color: rgba(103, 197, 135, 0.35);
  box-shadow: 0 12px 32px rgba(103, 197, 135, 0.1);
}

body.marketing-enterprise .f2f-block {
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  border-radius: 10px;
}

body.marketing-enterprise .feature-detail-card {
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

body.marketing-enterprise .feature-detail-card:hover {
  transform: translateY(-1px);
  border-color: rgba(103, 197, 135, 0.35);
  box-shadow: 0 10px 28px rgba(103, 197, 135, 0.08);
}

body.marketing-enterprise .value-card {
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

body.marketing-enterprise .value-card:hover {
  transform: translateY(-2px);
  border-color: rgba(103, 197, 135, 0.35);
  box-shadow: 0 10px 28px rgba(103, 197, 135, 0.1);
}

body.marketing-enterprise .benefit-card {
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

body.marketing-enterprise .benefit-card:hover {
  transform: translateY(-2px);
  border-color: rgba(103, 197, 135, 0.35);
  box-shadow: 0 8px 24px rgba(103, 197, 135, 0.1);
}

body.marketing-enterprise .supplier-feature-card {
  background: var(--color-white);
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

body.marketing-enterprise .supplier-feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(103, 197, 135, 0.45);
  box-shadow: 0 12px 36px rgba(103, 197, 135, 0.12);
}

body.marketing-enterprise .contact-info-item {
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

body.marketing-enterprise .contact-info-item:hover {
  border-color: rgba(103, 197, 135, 0.3);
  box-shadow: 0 6px 20px rgba(103, 197, 135, 0.08);
}

body.marketing-enterprise .demo-card {
  background: var(--color-white);
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

body.marketing-enterprise .demo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(103, 197, 135, 0.12);
}

body.marketing-enterprise .demo-feature-item {
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

body.marketing-enterprise .demo-feature-item:hover {
  transform: translateY(-2px);
  border-color: rgba(103, 197, 135, 0.3);
  box-shadow: 0 8px 24px rgba(103, 197, 135, 0.08);
}

body.marketing-enterprise .good-food-badge {
  background: var(--color-white);
  padding: 1.5rem 1.75rem;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

@media (max-width: 968px) {
  body.marketing-enterprise .browser-mockup img,
  body.marketing-enterprise .browser-mockup img.click-zoom {
    max-height: min(48vh, 380px);
  }
}
