/* ==========================================
   TELEPILOTE SAS — Design Tokens v6.0
   Source of truth for all template CSS
   ========================================== */

:root {
  /* ===== COULEURS ===== */
  --tp-navy: #1B2A4A;
  --tp-navy-mid: #162240;
  --tp-navy-dark: #0F1B33;
  --tp-teal: #2BBCC0;
  --tp-teal-dark: #229A9D;
  --tp-teal-light: #E8F8F8;
  --tp-teal-bg: #F3FCFC;
  --tp-orange: #F5820D;
  --tp-orange-light: #FFF3E8;
  --tp-orange-bg: #FFF8F0;
  --tp-lime: #8CB82B;
  --tp-lime-bg: #F3F9E8;
  --tp-green: #16A34A;
  --tp-green-light: #DCFCE7;
  --tp-green-bg: #F0FDF4;
  --tp-red: #DC2626;
  --tp-red-bg: #FEF2F2;
  --tp-white: #FFFFFF;
  --tp-gray-50: #F7F9FC;
  --tp-gray-100: #EEF1F5;
  --tp-gray-200: #E2E6ED;
  --tp-gray-300: #CDD3DE;
  --tp-gray-400: #9CA3B0;
  --tp-gray-500: #8B90A0;
  --tp-gray-600: #6A6D70;
  --tp-gray-700: #5A6178;
  --tp-text: #2D3142;

  /* ===== TYPOGRAPHIE ===== */
  --tp-font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --tp-font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

  /* ===== SPACING ===== */
  --tp-section-y: clamp(48px, 8vw, 80px);
  --tp-gap: 40px;
  --tp-gap-sm: 20px;
  --tp-gap-xs: 12px;
  --tp-container: 1100px;
  --tp-container-sm: 900px;

  /* ===== RADIUS ===== */
  --tp-radius-sm: 8px;
  --tp-radius: 12px;
  --tp-radius-lg: 16px;
  --tp-radius-xl: 20px;
  --tp-radius-full: 50px;

  /* ===== SHADOWS ===== */
  --tp-shadow-xs: 0 1px 3px rgba(27,42,74,.06);
  --tp-shadow: 0 4px 16px rgba(27,42,74,.08);
  --tp-shadow-lg: 0 8px 32px rgba(27,42,74,.12);
  --tp-shadow-xl: 0 16px 48px rgba(27,42,74,.16);

  /* ===== TRANSITIONS ===== */
  --tp-transition: .3s cubic-bezier(.4,0,.2,1);

  /* ===== HEADER ===== */
  --tp-header-h: 60px;
}

/* ===== SHARED UTILITIES ===== */
.tp-container { max-width: var(--tp-container); margin: 0 auto; padding: 0 20px; }
.tp-container-sm { max-width: var(--tp-container-sm); margin: 0 auto; padding: 0 20px; }

/* ===== HERO PATTERN ===== */
.tp-hero {
  background: linear-gradient(135deg, var(--tp-navy) 0%, var(--tp-navy-dark) 100%);
  color: var(--tp-white);
  padding: clamp(40px, 6vw, 60px) 0 clamp(40px, 5vw, 56px);
  position: relative;
  overflow: hidden;
}
.tp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(43,188,192,.08) 0%, transparent 60%);
  pointer-events: none;
}
.tp-hero-content { position: relative; z-index: 1; max-width: 800px; text-align: left !important; }
.tp-hero-badge {
  display: inline-block;
  background: rgba(245,130,13,.15);
  color: var(--tp-orange);
  padding: 6px 16px;
  border-radius: var(--tp-radius-full);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.tp-hero h1 {
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.tp-hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
  margin-bottom: 24px;
}
.tp-hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ===== KPIs ROW ===== */
.tp-kpis {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.tp-kpi { display: flex; flex-direction: column; gap: 2px; }
.tp-kpi-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--tp-orange);
}
.tp-kpi-label {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ===== BUTTONS ===== */
.tp-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--tp-orange);
  color: #fff;
  border-radius: var(--tp-radius-full);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: var(--tp-transition);
  border: none;
  cursor: pointer;
  min-height: 48px;
}
.tp-btn-primary:hover {
  background: #e0740a;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245,130,13,.3);
}
.tp-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: var(--tp-radius-full);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: var(--tp-transition);
  min-height: 48px;
}
.tp-btn-secondary:hover {
  border-color: var(--tp-orange);
  color: var(--tp-orange);
}
.tp-btn-teal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--tp-teal);
  color: #fff;
  border-radius: var(--tp-radius-full);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: var(--tp-transition);
  min-height: 48px;
}
.tp-btn-teal:hover {
  background: var(--tp-teal-dark);
  transform: translateY(-1px);
}
.tp-btn-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--tp-navy);
  color: #fff;
  border-radius: var(--tp-radius-full);
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none;
  transition: var(--tp-transition);
  min-height: 44px;
}
.tp-btn-navy:hover { background: var(--tp-navy-dark); }
.tp-btn-full { width: 100%; }
.tp-btn-lg { padding: 16px 32px; font-size: .95rem; }

/* ===== 2-COL LAYOUT ===== */
.tp-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--tp-gap);
  align-items: start;
  padding: var(--tp-section-y) 0;
}
.tp-layout-content {
  font-size: 16px;
  line-height: 1.7;
  color: var(--tp-gray-700);
}
.tp-layout-sidebar {
  position: sticky;
  top: calc(var(--tp-header-h) + 24px);
}

/* ===== SECTION HEADINGS ===== */
.tp-layout-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--tp-navy);
  margin: 40px 0 16px;
  padding-top: 16px;
  border-top: 2px solid var(--tp-gray-100);
}
.tp-layout-content h2:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}
.tp-layout-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--tp-navy);
  margin: 24px 0 12px;
}
.tp-layout-content p { margin-bottom: 16px; }

/* ===== SIDEBAR CARD ===== */
.tp-sidebar-card {
  background: var(--tp-white);
  border-radius: var(--tp-radius-lg);
  box-shadow: var(--tp-shadow-lg);
  overflow: hidden;
  border: 1px solid var(--tp-gray-200);
}
.tp-sidebar-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.tp-sidebar-card-body { padding: 24px; }
.tp-sidebar-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}
.tp-sidebar-price-amount {
  font-size: 32px;
  font-weight: 800;
  color: var(--tp-navy);
}
.tp-sidebar-price-badge {
  font-size: 13px;
  font-weight: 600;
  color: var(--tp-green);
  background: var(--tp-green-light);
  padding: 4px 10px;
  border-radius: 100px;
}
.tp-sidebar-details {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.tp-sidebar-details li {
  padding: 10px 0;
  font-size: 14px;
  color: var(--tp-gray-700);
  border-bottom: 1px solid var(--tp-gray-100);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.tp-sidebar-details li strong { color: var(--tp-navy); font-weight: 600; }
.tp-sidebar-guarantee {
  padding: 16px 24px;
  background: var(--tp-green-bg);
  border-top: 1px solid #BBF7D0;
  font-size: 13px;
  color: #166534;
  line-height: 1.8;
}

/* ===== PLACES BAR ===== */
.tp-places-bar {
  height: 6px;
  background: var(--tp-gray-200);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 4px;
}
.tp-places-fill {
  height: 100%;
  background: var(--tp-orange);
  border-radius: 3px;
  transition: width 1s ease;
}
.tp-places-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--tp-orange);
  margin-bottom: 16px;
}

/* ===== POUR / PAS POUR GRID ===== */
.tp-pour-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.tp-pour-card {
  border-radius: var(--tp-radius);
  padding: 20px;
  border: 1px solid;
}
.tp-pour-card--yes {
  background: var(--tp-teal-bg);
  border-color: var(--tp-teal);
}
.tp-pour-card--no {
  background: var(--tp-orange-bg);
  border-color: var(--tp-orange);
}
.tp-pour-card h3 {
  font-size: .9rem;
  margin: 0 0 10px;
}
.tp-pour-card--yes h3 { color: var(--tp-teal); }
.tp-pour-card--no h3 { color: var(--tp-orange); }
.tp-pour-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tp-pour-list li {
  padding: 4px 0;
  font-size: .88rem;
  color: var(--tp-navy);
  line-height: 1.5;
}
.tp-pour-list li::before { margin-right: 6px; }
.tp-pour-card--yes .tp-pour-list li::before { content: '\2713'; color: var(--tp-teal); }
.tp-pour-card--no .tp-pour-list li::before { content: '\26A0'; color: var(--tp-orange); }

/* ===== ACCORDION (Programme / FAQ) ===== */
.tp-accordion {
  border: 1px solid var(--tp-gray-200);
  border-radius: var(--tp-radius);
  margin-bottom: 8px;
  overflow: hidden;
}
.tp-accordion summary {
  padding: 14px 18px;
  font-weight: 600;
  color: var(--tp-navy);
  cursor: pointer;
  background: var(--tp-gray-50);
  font-size: .95rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tp-accordion summary::-webkit-details-marker { display: none; }
.tp-accordion summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--tp-gray-500);
  transition: var(--tp-transition);
}
.tp-accordion[open] summary::after { content: '\2212'; }
.tp-accordion[open] summary { border-bottom: 1px solid var(--tp-gray-200); }
.tp-accordion-body {
  padding: 14px 18px;
  font-size: .9rem;
  color: var(--tp-gray-700);
  line-height: 1.7;
}

/* ===== TAGS ROW ===== */
.tp-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.tp-tag {
  background: var(--tp-gray-50);
  border: 1px solid var(--tp-gray-200);
  border-radius: var(--tp-radius-sm);
  padding: 6px 14px;
  font-size: .82rem;
  color: var(--tp-navy);
  font-weight: 500;
}
.tp-tag--teal {
  background: var(--tp-teal-bg);
  color: var(--tp-teal);
  border-color: var(--tp-teal);
  text-decoration: none;
  transition: var(--tp-transition);
}
.tp-tag--teal:hover { background: var(--tp-teal-light); }
.tp-tag--orange {
  background: var(--tp-orange-bg);
  color: var(--tp-orange);
  border-color: var(--tp-orange);
}

/* ===== CARD GENERIQUE ===== */
.tp-card {
  background: var(--tp-white);
  border: 1px solid var(--tp-gray-200);
  border-radius: var(--tp-radius-lg);
  padding: 24px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.tp-card:hover {
  box-shadow: var(--tp-shadow);
}
.tp-card--link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.tp-card--link:hover {
  transform: translateY(-2px);
  box-shadow: var(--tp-shadow-lg);
}
.tp-card--highlight {
  border-color: var(--tp-teal);
  background: var(--tp-teal-bg);
}
.tp-card--orange {
  border-color: var(--tp-orange);
  background: var(--tp-orange-bg);
}

/* ===== CAS CLIENT ===== */
.tp-cas-client {
  background: var(--tp-orange-bg);
  border: 1px solid var(--tp-orange);
  border-radius: var(--tp-radius);
  padding: 20px;
  margin-bottom: 24px;
}
.tp-cas-client h3 {
  color: var(--tp-navy);
  font-size: .95rem;
  margin: 0 0 8px;
}
.tp-cas-client p {
  color: var(--tp-gray-700);
  font-size: .9rem;
  line-height: 1.7;
  margin: 0;
}

/* ===== COMPARATIF ===== */
.tp-comparatif {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.tp-comparatif-card {
  border: 2px solid var(--tp-gray-200);
  border-radius: var(--tp-radius);
  padding: 20px;
  position: relative;
}
.tp-comparatif-card--recommended {
  border-color: var(--tp-teal);
  background: var(--tp-teal-bg);
}
.tp-comparatif-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--tp-teal);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--tp-radius-full);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.tp-comparatif-card h3 {
  color: var(--tp-navy);
  font-size: 1rem;
  margin: 0 0 8px;
}
.tp-comparatif-card .tp-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--tp-navy);
  margin-bottom: 12px;
}
.tp-comparatif-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tp-comparatif-list li {
  padding: 4px 0;
  font-size: .85rem;
  color: var(--tp-gray-700);
}
.tp-comparatif-list li::before {
  content: '\2713';
  color: var(--tp-teal);
  margin-right: 8px;
  font-weight: 700;
}

/* ===== TEMOIGNAGES ===== */
.tp-temoignages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.tp-temoignage {
  background: var(--tp-gray-50);
  border-radius: var(--tp-radius);
  padding: 20px;
  border: 1px solid var(--tp-gray-200);
}
.tp-temoignage-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.tp-temoignage-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tp-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .8rem;
  flex-shrink: 0;
}
.tp-temoignage-name {
  font-weight: 700;
  color: var(--tp-navy);
  font-size: .9rem;
}
.tp-temoignage-role {
  font-size: .78rem;
  color: var(--tp-gray-500);
}
.tp-temoignage-text {
  font-size: .88rem;
  color: var(--tp-gray-700);
  line-height: 1.6;
  font-style: italic;
}

/* ===== DEBOUCHES GRID ===== */
.tp-debouches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.tp-debouches h3 {
  color: var(--tp-teal);
  font-size: .9rem;
  margin-bottom: 8px;
}
.tp-debouches-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tp-debouches-list li {
  padding: 3px 0;
  font-size: .88rem;
  color: var(--tp-gray-700);
}
.tp-debouches-list li::before {
  content: '\2192';
  margin-right: 6px;
  color: var(--tp-teal);
}
.tp-debouches-salaire {
  font-size: .9rem;
  color: var(--tp-gray-700);
  line-height: 1.8;
}
.tp-debouches-salaire strong {
  color: var(--tp-navy);
}

/* ===== FINANCEMENT CARD ===== */
.tp-financement {
  background: var(--tp-green-bg);
  border: 1px solid #BBF7D0;
  border-radius: var(--tp-radius-lg);
  padding: 24px;
  margin-bottom: 32px;
}
.tp-financement h2 {
  color: #166534;
  border: none;
  padding: 0;
  margin: 0 0 16px;
}
.tp-financement-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.tp-financement-table td {
  padding: 8px 0;
  border-bottom: 1px solid #BBF7D0;
}
.tp-financement-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--tp-navy);
}

/* ===== LIENS GRID ===== */
.tp-liens-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}
.tp-lien-card {
  display: block;
  padding: 14px 16px;
  background: var(--tp-white);
  border: 1px solid var(--tp-gray-200);
  border-radius: var(--tp-radius);
  text-decoration: none;
  color: var(--tp-navy);
  font-size: .88rem;
  font-weight: 500;
  transition: var(--tp-transition);
}
.tp-lien-card:hover {
  border-color: var(--tp-teal);
  box-shadow: var(--tp-shadow-xs);
}
.tp-lien-card::after {
  content: ' \2192';
  color: var(--tp-teal);
  font-weight: 600;
}

/* ===== PILOT CARD ===== */
.tp-pilot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.tp-pilot-card {
  display: flex;
  flex-direction: column;
  background: var(--tp-white);
  border: 1px solid var(--tp-gray-200);
  border-radius: var(--tp-radius-lg);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  min-height: 200px;
}
.tp-pilot-card:hover {
  box-shadow: var(--tp-shadow);
  transform: translateY(-2px);
}
.tp-pilot-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.tp-pilot-avatar {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}
.tp-pilot-name {
  color: var(--tp-navy);
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tp-pilot-service {
  color: var(--tp-orange);
  font-size: .75rem;
  font-weight: 600;
  margin-top: 2px;
}
.tp-pilot-domains {
  color: var(--tp-gray-700);
  font-size: .82rem;
  line-height: 1.5;
  margin-bottom: 14px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.tp-pilot-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.tp-pilot-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 600;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tp-pilot-tag--gear { background: var(--tp-gray-50); color: var(--tp-navy); }
.tp-pilot-tag--rate { background: var(--tp-orange-light); color: var(--tp-orange); }
.tp-pilot-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--tp-gray-200);
  margin-top: auto;
}
.tp-pilot-radius {
  color: var(--tp-teal);
  font-size: .78rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 120px;
}
.tp-pilot-cta {
  color: var(--tp-orange);
  font-weight: 700;
  font-size: .82rem;
  white-space: nowrap;
}

/* ===== GUARANTEES ===== */
.tp-guarantees {
  background: var(--tp-teal-bg);
  border-radius: var(--tp-radius-lg);
  padding: 24px;
  margin-bottom: 32px;
  border: 1px solid var(--tp-teal);
}
.tp-guarantees h2 {
  color: var(--tp-navy);
  font-size: 1.1rem;
  margin: 0 0 12px;
  border: none;
  padding: 0;
}
.tp-guarantees-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tp-guarantee-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tp-guarantee-icon {
  color: var(--tp-teal);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.tp-guarantee-text {
  color: var(--tp-gray-700);
  font-size: .85rem;
}

/* ===== SERVICES GRID (DroneConnect) ===== */
.tp-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.tp-service-card {
  display: block;
  padding: 20px;
  background: var(--tp-white);
  border: 1px solid var(--tp-gray-200);
  border-radius: var(--tp-radius);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s;
}
.tp-service-card:hover { box-shadow: var(--tp-shadow); }
.tp-service-icon {
  font-size: 1.5rem;
  margin-right: 8px;
}
.tp-service-card strong { color: var(--tp-navy); }
.tp-service-card p {
  color: var(--tp-gray-700);
  font-size: .82rem;
  margin: 6px 0 0;
  line-height: 1.5;
}

/* ===== CTA INSCRIPTION SECTION ===== */
.tp-inscription {
  background: var(--tp-gray-50);
  padding: 64px 0;
  text-align: center;
}
.tp-inscription h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--tp-navy);
  margin-bottom: 8px;
}
.tp-inscription-desc {
  color: var(--tp-gray-500);
  margin-bottom: 32px;
}
.tp-inscription-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== QUALIOPI BAR ===== */
.tp-qualiopi {
  background: var(--tp-gray-50);
  border-radius: var(--tp-radius-lg);
  padding: 24px;
  margin-bottom: 32px;
  border: 1px solid var(--tp-gray-200);
}
.tp-qualiopi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  font-size: .82rem;
  color: var(--tp-gray-700);
}
.tp-qualiopi-grid strong {
  color: var(--tp-navy);
  display: block;
  margin-bottom: 4px;
}

/* ===== BREADCRUMB ===== */
.tp-breadcrumb {
  background: var(--tp-gray-50);
  padding: 12px 0;
  font-size: .82rem;
  color: var(--tp-gray-500);
  border-bottom: 1px solid var(--tp-gray-200);
}
.tp-breadcrumb a {
  color: var(--tp-gray-600);
  text-decoration: none;
}
.tp-breadcrumb a:hover { color: var(--tp-teal); }
.tp-breadcrumb-sep {
  margin: 0 8px;
  color: var(--tp-gray-400);
}
.tp-breadcrumb-current {
  color: var(--tp-navy);
  font-weight: 600;
}

/* ===== CONTAINER VARIANTS ===== */
.tp-container--narrow { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.tp-container--tight { max-width: 900px; margin: 0 auto; padding: 0 20px 48px; }
.tp-container--mid { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

/* ===== HERO VARIANTS ===== */
.tp-hero--centered { text-align: center; }
.tp-hero--centered .tp-hero-content { max-width: 700px; margin: 0 auto; }
.tp-hero--profile { border-radius: var(--tp-radius-xl); padding: clamp(32px,5vw,48px) clamp(20px,4vw,40px); margin-bottom: 32px; }
.tp-hero__inner { position: relative; z-index: 1; }
.tp-hero__glow {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
}
.tp-hero__glow--teal { background: radial-gradient(ellipse at 70% 20%, rgba(43,188,192,.1) 0%, transparent 60%); }
.tp-hero__glow--orange { background: radial-gradient(ellipse at 30% 80%, rgba(245,130,13,.06) 0%, transparent 50%); }
.tp-hero__profile-header {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.tp-hero__avatar {
  width: 72px; height: 72px; background: var(--tp-teal); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1.4rem; flex-shrink: 0;
}
.tp-hero__profile-info { flex: 1; min-width: 200px; }
.tp-hero-badge--orange {
  background: rgba(245,130,13,.15); color: var(--tp-orange);
  padding: 4px 12px; border-radius: var(--tp-radius-full);
  font-size: .72rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 4px; display: inline-block;
}
.tp-hero__title { color: #fff; font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
.tp-hero__title--sm { font-size: clamp(1.2rem, 3vw, 1.8rem); margin-bottom: 6px; }
.tp-hero__subtitle { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 12px; }
.tp-hero__meta { color: rgba(255,255,255,.65); font-size: .88rem; }
.tp-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* ===== CTA BOX ===== */
.tp-cta-box {
  border-radius: var(--tp-radius-xl); padding: 40px; text-align: center; margin: 40px 0;
}
.tp-cta-box--dark {
  background: linear-gradient(135deg, var(--tp-navy), var(--tp-navy-dark)); color: #fff;
}
.tp-cta-box--light {
  background: var(--tp-gray-50); border: 1px solid var(--tp-gray-200); color: var(--tp-text);
}
.tp-cta-box__title {
  font-size: 1.5rem; font-weight: 800; margin-bottom: 12px;
}
.tp-cta-box--dark .tp-cta-box__title { color: #fff; }
.tp-cta-box__text {
  font-size: .95rem; line-height: 1.6; margin-bottom: 24px; max-width: 560px; margin-left: auto; margin-right: auto;
}
.tp-cta-box--dark .tp-cta-box__text { color: rgba(255,255,255,.7); }

/* ===== TEXT UTILITIES ===== */
.tp-section-title--sm { color: var(--tp-navy); font-size: 1.15rem; margin-bottom: 14px; }
.tp-text--muted { color: var(--tp-gray-500); font-size: .88rem; }

/* ===== LIST ITEMS ===== */
.tp-list { list-style: none; padding: 0; margin: 0 0 24px; }
.tp-list-item {
  padding: 12px 16px; border-bottom: 1px solid var(--tp-gray-100);
  font-size: .9rem; color: var(--tp-gray-700); display: flex; align-items: center; gap: 10px;
}
.tp-list-item:last-child { border-bottom: none; }

/* ===== NAV CARD ===== */
.tp-nav-card {
  display: block; padding: 16px; background: var(--tp-white);
  border: 1px solid var(--tp-gray-200); border-radius: var(--tp-radius);
  text-decoration: none; color: inherit; transition: var(--tp-transition);
}
.tp-nav-card:hover { box-shadow: var(--tp-shadow-xs); border-color: var(--tp-teal); }
.tp-nav-card strong { color: var(--tp-navy); font-size: .9rem; display: block; }
.tp-nav-card p { color: var(--tp-teal); font-size: .82rem; margin: 4px 0 0; }

/* ===== CITY LINKS ===== */
.tp-city-links {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .tp-layout { grid-template-columns: 1fr; }
  .tp-layout-sidebar { position: static; order: -1; }
  .tp-sidebar-card { max-width: 480px; margin: 0 auto; }
  .tp-pilot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .tp-hero { padding: 32px 0 40px; }
  .tp-hero-ctas { flex-direction: column; }
  .tp-hero-ctas .tp-btn-primary,
  .tp-hero-ctas .tp-btn-secondary { width: 100%; }
  .tp-kpis { gap: 20px; }
  .tp-kpi-value { font-size: 20px; }
  .tp-layout { padding: 32px 0; gap: 24px; }
  .tp-pour-grid { grid-template-columns: 1fr; }
  .tp-comparatif { grid-template-columns: 1fr; }
  .tp-temoignages { grid-template-columns: 1fr; }
  .tp-debouches { grid-template-columns: 1fr; }
  .tp-liens-grid { grid-template-columns: 1fr; }
  .tp-pilot-grid { grid-template-columns: 1fr; }
  .tp-services-grid { grid-template-columns: 1fr; }
  .tp-guarantees-grid { grid-template-columns: 1fr; }
  .tp-qualiopi-grid { grid-template-columns: 1fr 1fr; }
  .tp-two-col { grid-template-columns: 1fr; }
  .tp-hero__profile-header { flex-direction: column; text-align: center; }
}

/* ===== DRONECONNECT BEM EXTENSIONS ===== */
/* Structural classes used by droneconnect-pages.php */
.tp-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
.tp-two-col--cards { gap: 20px; }
.tp-two-col--nav { gap: 12px; }
.tp-btn--block { display: block; width: 100%; text-align: center; }
.tp-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--tp-radius-full);
  font-weight: 600; font-size: .88rem; text-decoration: none; transition: var(--tp-transition);
}
.tp-btn-ghost:hover { background: rgba(255,255,255,.2); }

/* Card BEM */
.tp-card--teal { border-color: var(--tp-teal); background: var(--tp-teal-bg); }
.tp-card__title { color: var(--tp-navy); font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.tp-card__heading { color: var(--tp-navy); font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.tp-card__desc, .tp-card__text { color: var(--tp-gray-700); font-size: .88rem; line-height: 1.6; margin-bottom: 8px; }
.tp-card__link { color: var(--tp-teal); font-weight: 600; font-size: .85rem; text-decoration: none; }
.tp-card__link:hover { text-decoration: underline; }
.tp-card__link--orange { color: var(--tp-orange); }
.tp-card__link--teal { color: var(--tp-teal); }

/* KPIs BEM variants */
.tp-kpis__item { display: flex; flex-direction: column; gap: 2px; }
.tp-kpis__value { font-size: 1.5rem; font-weight: 800; }
.tp-kpis__value--orange { color: var(--tp-orange); }
.tp-kpis__value--teal { color: var(--tp-teal); }
.tp-kpis__value--navy { color: var(--tp-navy); }
.tp-kpis__label { font-size: .75rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .05em; }

/* Service card BEM */
.tp-service-card__icon { font-size: 1.5rem; margin-bottom: 8px; }
.tp-service-card__name { color: var(--tp-navy); font-weight: 700; font-size: .95rem; }
.tp-service-card__desc { color: var(--tp-gray-700); font-size: .82rem; line-height: 1.5; margin-top: 6px; }
.tp-services-grid--compact { grid-template-columns: repeat(2, 1fr); gap: 12px; }

/* Guarantee BEM */
.tp-guarantees__title { color: var(--tp-navy); font-size: 1.1rem; margin: 0 0 16px; }
.tp-guarantees__item { display: flex; align-items: center; gap: 10px; }
.tp-guarantees__check { color: var(--tp-teal); font-size: 1.2rem; flex-shrink: 0; }
.tp-guarantees__text { color: var(--tp-gray-700); font-size: .88rem; }
.tp-guarantees-grid--2col { grid-template-columns: 1fr 1fr; }

/* Sidebar box (pilot info) */
.tp-sidebar-box {
  background: var(--tp-gray-50); border-radius: var(--tp-radius-lg);
  padding: 20px; border: 1px solid var(--tp-gray-200); margin-bottom: 16px;
}
.tp-sidebar-box__title { color: var(--tp-navy); font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.tp-sidebar-box__items { display: flex; flex-direction: column; gap: 10px; font-size: .85rem; }
.tp-sidebar-box__item { }
.tp-sidebar-box__label { color: var(--tp-navy); font-weight: 600; display: block; }
.tp-sidebar-box__value { color: var(--tp-gray-700); }
.tp-sidebar-box__value--orange { color: var(--tp-orange); font-weight: 600; }
.tp-sidebar-box__value--teal { color: var(--tp-teal); font-weight: 600; }

/* Nav card variants */
.tp-nav-card--dark { background: var(--tp-navy); color: #fff; border-color: var(--tp-navy); }
.tp-nav-card--dark strong { color: #fff; }
.tp-nav-card--dark p { color: var(--tp-teal); }
.tp-nav-card--teal { border-color: var(--tp-teal); background: var(--tp-teal-bg); }
.tp-nav-card__title { color: var(--tp-navy); font-size: .9rem; font-weight: 700; }
.tp-nav-card__title--white { color: #fff; }
.tp-nav-card__link { font-size: .82rem; font-weight: 600; margin-top: 4px; }
.tp-nav-card__link--teal { color: var(--tp-teal); }
.tp-nav-card__link--orange { color: var(--tp-orange); }

/* Region link BEM */
.tp-region-link__name { font-weight: 600; }
.tp-region-link__count { color: var(--tp-gray-500); font-size: .78rem; margin-left: 4px; }

/* Tag variants */
.tp-tag--service { background: var(--tp-teal-bg); color: var(--tp-teal); border-color: var(--tp-teal); }
.tp-tag__count { font-size: .72rem; color: var(--tp-gray-500); margin-left: 4px; }
.tp-tags--centered { justify-content: center; }

/* Cas client BEM */
.tp-cas-client__title { color: var(--tp-navy); font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.tp-cas-client__text { color: var(--tp-gray-700); font-size: .9rem; line-height: 1.7; }
.tp-cas-client__link { color: var(--tp-teal); font-weight: 600; font-size: .85rem; margin-top: 8px; display: inline-block; }

/* Accordion BEM */
.tp-accordion__title { color: var(--tp-navy); font-weight: 600; }
.tp-accordion__text { color: var(--tp-gray-700); font-size: .9rem; line-height: 1.7; padding: 14px 18px; }
.tp-accordion__link { color: var(--tp-teal); font-weight: 600; text-decoration: none; font-size: .85rem; }

/* Lists */
.tp-ordered-list { list-style: decimal; padding-left: 24px; margin-bottom: 24px; }
.tp-ordered-list li { padding: 4px 0; font-size: .9rem; color: var(--tp-gray-700); line-height: 1.6; }
.tp-unordered-list { list-style: disc; padding-left: 24px; margin-bottom: 24px; }
.tp-unordered-list li { padding: 4px 0; font-size: .9rem; color: var(--tp-gray-700); line-height: 1.6; }

/* Misc */
.tp-pilot-empty { color: var(--tp-gray-500); font-size: .9rem; }
.tp-pilot-name-wrap { overflow: hidden; }
