/**
 * DESIGN TOKENS — LINKIFLOCAL.COM
 * Fichier à importer dans WordPress / Kadence / CSS global
 * Version 1.0 — Mai 2026
 * NE PAS MODIFIER sans mettre à jour README.md
 *
 * DIFFÉRENCE CLÉE AVEC LINKIF.NET :
 * Teal : #2E5954 (profond, terrain) ≠ Linkif.net #009688 (vif, digital)
 * Orange : #FF9800 (IDENTIQUE — lien de famille)
 * Fond : #F4F6F4 (légèrement verdâtre) ≠ Linkif.net #FFFFFF (blanc pur)
 */

/* ============================================
   IMPORT GOOGLE FONTS
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;1,9..40,400&display=swap');

/* ============================================
   TOKENS — VARIABLES CSS
   ============================================ */

:root {

  /* --- TEAL (ancré, profond, terrain) --- */
  --ll-teal-night:   #1B3B38;
  --ll-teal:         #2E5954;
  --ll-teal-mid:     #3D7A74;
  --ll-teal-pale:    #C5D5D0;
  --ll-teal-bg:      #EEF2F1;

  /* --- ORANGE (action — partagé famille Linkif) --- */
  --ll-orange:       #FF9800;
  --ll-orange-dark:  #E65100;
  --ll-orange-light: #FFF3E0;
  --ll-star:         #FF9800;

  /* --- NEUTRALS --- */
  --ll-text-primary:   #212121;
  --ll-text-secondary: #757575;
  --ll-divider:        #BDBDBD;
  --ll-bg:             #F4F6F4;
  --ll-white:          #FFFFFF;
  --ll-surface:        #EEF2F1;

  /* --- SÉMANTIQUES --- */
  --ll-success:      #1A7A45;
  --ll-success-bg:   #D4EDDA;
  --ll-cert-bg:      #D4EDDA;
  --ll-cert-text:    #155724;

  /* --- TYPOGRAPHIE --- */
  --ll-font-display: 'Plus Jakarta Sans', sans-serif;
  --ll-font-body:    'DM Sans', sans-serif;

  /* --- ESPACEMENTS --- */
  --ll-space-1:  4px;
  --ll-space-2:  8px;
  --ll-space-3:  12px;
  --ll-space-4:  16px;
  --ll-space-5:  24px;
  --ll-space-6:  32px;
  --ll-space-7:  48px;
  --ll-space-8:  64px;

  /* --- RAYONS --- */
  --ll-radius-sm:   6px;
  --ll-radius-md:   10px;
  --ll-radius-lg:   16px;
  --ll-radius-xl:   24px;
  --ll-radius-full: 9999px;

  /* --- Z-INDEX --- */
  --ll-z-sticky: 100;
  --ll-z-modal:  200;
}

/* ============================================
   RESET & BASE
   ============================================ */

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--ll-font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ll-text-primary);
  background: var(--ll-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHIE
   ============================================ */

.ll-h1 {
  font-family: var(--ll-font-display);
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ll-teal-night);
}
.ll-h2 {
  font-family: var(--ll-font-display);
  font-size: clamp(17px, 3.5vw, 22px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ll-teal-night);
}
.ll-h3 {
  font-family: var(--ll-font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ll-teal-night);
}
.ll-h4 {
  font-family: var(--ll-font-display);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ll-teal-night);
}
.ll-body    { font-size: 15px; line-height: 1.65; color: var(--ll-text-primary); }
.ll-body-sm { font-size: 13px; line-height: 1.6;  color: var(--ll-text-secondary); }
.ll-label   { font-size: 11px; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ll-text-secondary); font-family: var(--ll-font-body); }
.ll-meta    { font-size: 11px; font-style: italic; color: var(--ll-text-secondary); }

/* ============================================
   LOGO
   ============================================ */

.ll-logo       { font-family: var(--ll-font-display); font-weight: 800; color: var(--ll-teal); letter-spacing: -0.02em; }
.ll-logo-k     { color: var(--ll-orange); }
.ll-logo-local { color: var(--ll-teal-night); font-weight: 700; }

/* ============================================
   BOUTONS
   ============================================ */

.ll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--ll-font-body);
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  border-radius: var(--ll-radius-md);
  padding: 12px 20px;
  min-height: 48px;
  transition: background 0.15s, transform 0.1s;
  text-decoration: none;
  white-space: nowrap;
}
.ll-btn:active { transform: scale(0.98); }

.ll-btn-primary { background: var(--ll-orange); color: #FFFFFF; }
.ll-btn-primary:hover  { background: #F08000; }
.ll-btn-primary:active { background: var(--ll-orange-dark); }

.ll-btn-teal { background: var(--ll-teal); color: #FFFFFF; }
.ll-btn-teal:hover { background: var(--ll-teal-night); }

.ll-btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #FFFFFF;
  border: 0.5px solid rgba(255,255,255,0.25);
}
.ll-btn-ghost:hover { background: rgba(255,255,255,0.20); }

.ll-btn-outline {
  background: transparent;
  color: var(--ll-teal);
  border: 1.5px solid var(--ll-teal);
}
.ll-btn-outline:hover { background: var(--ll-teal-bg); }

.ll-btn-sm   { font-size: 12px; padding: 8px 14px; min-height: 36px; }
.ll-btn-lg   { font-size: 16px; padding: 14px 24px; min-height: 56px; }
.ll-btn-full { width: 100%; }

/* ============================================
   STICKY BAR MOBILE — OBLIGATOIRE PORTAILS
   ============================================ */

.ll-sticky-bar {
  position: sticky;
  bottom: 0;
  background: var(--ll-white);
  border-top: 0.5px solid var(--ll-teal-pale);
  padding: 10px 16px;
  display: flex;
  gap: 8px;
  z-index: var(--ll-z-sticky);
}
.ll-sticky-call {
  background: var(--ll-orange);
  color: #FFFFFF;
  border: none;
  border-radius: var(--ll-radius-md);
  padding: 12px;
  flex: 2;
  font-family: var(--ll-font-body);
  font-size: 13px;
  font-weight: 600;
  min-height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.ll-sticky-other {
  background: var(--ll-teal-bg);
  color: var(--ll-teal);
  border: none;
  border-radius: var(--ll-radius-md);
  padding: 12px;
  flex: 1;
  min-height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   HERO PORTAIL CLIENT
   ============================================ */

.ll-hero {
  background: var(--ll-teal);
  color: #FFFFFF;
  padding: 24px 16px 20px;
}
.ll-hero-brand {
  font-family: var(--ll-font-display);
  font-weight: 700;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.01em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ll-hero-brand span { color: var(--ll-orange); }
.ll-hero-title {
  font-family: var(--ll-font-display);
  font-weight: 800;
  font-size: clamp(22px, 6vw, 28px);
  color: #FFFFFF;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 4px;
}
.ll-hero-meta  { font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 10px; }
.ll-hero-stars { color: var(--ll-star); font-size: 13px; letter-spacing: 1px; }
.ll-hero-stars-count { font-size: 11px; color: rgba(255,255,255,0.5); margin-left: 4px; }

/* ============================================
   CARDS SERVICES
   ============================================ */

.ll-service-card {
  background: var(--ll-white);
  border: 0.5px solid var(--ll-teal-pale);
  border-radius: var(--ll-radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.ll-service-icon {
  width: 36px;
  height: 36px;
  background: var(--ll-teal);
  border-radius: var(--ll-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 16px;
  flex-shrink: 0;
}
.ll-service-name { font-size: 13px; font-weight: 500; color: var(--ll-text-primary); line-height: 1.3; }
.ll-service-desc { font-size: 11px; color: var(--ll-text-secondary); }

/* ============================================
   CARDS ANNUAIRE (liste portails)
   ============================================ */

.ll-portail-card {
  background: var(--ll-white);
  border: 0.5px solid var(--ll-teal-pale);
  border-radius: var(--ll-radius-lg);
  overflow: hidden;
  margin-bottom: 12px;
}
.ll-portail-card-header {
  background: var(--ll-teal);
  color: #FFFFFF;
  padding: 14px 16px;
}
.ll-portail-card-name {
  font-family: var(--ll-font-display);
  font-weight: 700;
  font-size: 16px;
  color: #FFFFFF;
}
.ll-portail-card-meta { font-size: 11px; color: rgba(255,255,255,0.65); margin-top: 2px; }
.ll-portail-card-body  { padding: 14px 16px; }
.ll-portail-card-footer {
  border-top: 0.5px solid var(--ll-teal-pale);
  padding: 10px 16px;
  display: flex;
  gap: 8px;
}

/* ============================================
   BADGES & PILLS
   ============================================ */

.ll-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: var(--ll-radius-full);
  padding: 4px 10px;
  font-family: var(--ll-font-body);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}
.ll-badge-cert   { background: var(--ll-cert-bg); color: var(--ll-cert-text); }
.ll-badge-teal   { background: var(--ll-teal-bg); color: var(--ll-teal-night); }
.ll-badge-orange { background: var(--ll-orange-light); color: var(--ll-orange-dark); }
.ll-badge-gray   { background: var(--ll-surface); color: var(--ll-text-secondary); }

/* ============================================
   CARDS GÉNÉRIQUES
   ============================================ */

.ll-card {
  background: var(--ll-white);
  border: 0.5px solid var(--ll-teal-pale);
  border-radius: var(--ll-radius-lg);
  padding: var(--ll-space-4) var(--ll-space-5);
}
.ll-card-surface {
  background: var(--ll-surface);
  border-radius: var(--ll-radius-lg);
  padding: var(--ll-space-4) var(--ll-space-5);
}

/* ============================================
   FORMULAIRES
   ============================================ */

.ll-input {
  width: 100%;
  font-family: var(--ll-font-body);
  font-size: 15px;
  color: var(--ll-text-primary);
  background: var(--ll-white);
  border: 1px solid var(--ll-divider);
  border-radius: var(--ll-radius-md);
  padding: 12px 14px;
  min-height: 48px;
  outline: none;
  transition: border-color 0.15s;
}
.ll-input:focus {
  border-color: var(--ll-teal);
  box-shadow: 0 0 0 3px var(--ll-teal-bg);
}
.ll-input::placeholder { color: var(--ll-text-secondary); }

/* ============================================
   SECTIONS ALTERNÉES
   ============================================ */

.ll-section        { padding: var(--ll-space-6) var(--ll-space-4); }
.ll-section-alt    { background: var(--ll-teal-bg); padding: var(--ll-space-6) var(--ll-space-4); }
.ll-section-dark   { background: var(--ll-teal-night); color: #FFFFFF; padding: var(--ll-space-6) var(--ll-space-4); }

/* ============================================
   SÉPARATEUR
   ============================================ */

.ll-divider-line { height: 0.5px; background: var(--ll-teal-pale); border: none; margin: var(--ll-space-4) 0; }

/* ============================================
   UTILITAIRES
   ============================================ */

.ll-text-teal    { color: var(--ll-teal); }
.ll-text-orange  { color: var(--ll-orange); }
.ll-text-muted   { color: var(--ll-text-secondary); }
.ll-text-white   { color: #FFFFFF; }
.ll-bg-teal      { background: var(--ll-teal); color: #FFFFFF; }
.ll-bg-teal-bg   { background: var(--ll-teal-bg); }
.ll-bg-white     { background: var(--ll-white); }
.ll-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
