/*
Theme Name: Astra Child TELEPILOTE
Theme URI: https://www.tele-pilote.fr
Template: astra
Description: Child theme TELEPILOTE SAS - Charte 0B1D3A/F5820D
Version: 2.0.0
Author: TELEPILOTE SAS
*/

:root {
  --tp-navy: #0B1D3A;
  --tp-navy-deep: #06101F;
  --tp-navy-mid: #112B52;
  --tp-orange: #F5820D;
  --tp-orange-light: #FF9A2E;
  --tp-orange-hover: #E06D00;
  --tp-white: #FFFFFF;
  --tp-gray-50: #F8FAFC;
  --tp-gray-100: #F1F5F9;
  --tp-gray-200: #E2E8F0;
  --tp-gray-300: #CBD5E1;
  --tp-gray-400: #94A3B8;
  --tp-gray-500: #64748B;
  --tp-gray-600: #475569;
  --tp-gray-700: #334155;
  --tp-gray-800: #1E293B;
  --tp-gray-900: #0F172A;
  --tp-green: #16A34A;
  --tp-red: #DC2626;
  --tp-radius: 8px;
  --tp-radius-lg: 12px;
  --tp-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --tp-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  --tp-shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.15);
  --tp-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --tp-font: 'Montserrat', -apple-system, sans-serif;
  --tp-max-width: 1280px;
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--tp-font);
  color: var(--tp-gray-800);
  background: var(--tp-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Container */
.tp-container {
  max-width: var(--tp-max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
@media (max-width: 640px) {
  .tp-container { padding: 0 16px; }
}

/* Main */
.tp-main { min-height: 60vh; }

/* Skip link */
.tp-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 99999;
  background: var(--tp-orange);
  color: var(--tp-white);
  padding: 8px 16px;
  font-weight: 600;
}
.tp-skip-link:focus { left: 0; }

/* Breadcrumb */
.tp-breadcrumb {
  padding: 12px 0;
  font-size: 13px;
  color: var(--tp-gray-500);
  background: var(--tp-gray-50);
  border-bottom: 1px solid var(--tp-gray-200);
}
.tp-breadcrumb .tp-container {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.tp-breadcrumb a {
  color: var(--tp-gray-500);
  transition: color 0.2s;
}
.tp-breadcrumb a:hover { color: var(--tp-orange); }
.tp-breadcrumb-sep { color: var(--tp-gray-300); }
.tp-breadcrumb-current {
  color: var(--tp-navy);
  font-weight: 600;
}

/* Badge CPF */
.tp-badge-cpf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tp-green);
  background: #DCFCE7;
  border-radius: 100px;
  margin-bottom: 12px;
}

/* Buttons */
.tp-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--tp-font);
  font-size: 14px;
  font-weight: 700;
  color: var(--tp-white);
  background: linear-gradient(135deg, var(--tp-orange), var(--tp-orange-hover));
  border: none;
  border-radius: var(--tp-radius);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(245,130,13,0.3);
  transition: var(--tp-transition);
}
.tp-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245,130,13,0.4);
}
.tp-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--tp-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--tp-navy);
  background: var(--tp-white);
  border: 2px solid var(--tp-gray-200);
  border-radius: var(--tp-radius);
  text-decoration: none;
  cursor: pointer;
  transition: var(--tp-transition);
}
.tp-btn-secondary:hover {
  border-color: var(--tp-orange);
  color: var(--tp-orange);
}
.tp-btn-lg { padding: 14px 28px; font-size: 15px; }
.tp-btn-full { display: block; width: 100%; text-align: center; margin-bottom: 8px; }
.tp-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-family: var(--tp-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--tp-navy);
  background: var(--tp-gray-50);
  border: 1px solid var(--tp-gray-200);
  border-radius: var(--tp-radius);
  text-decoration: none;
  cursor: pointer;
  transition: var(--tp-transition);
}
.tp-btn-ghost:hover {
  background: var(--tp-gray-100);
  border-color: var(--tp-gray-300);
}

/* Section titles */
.tp-section { padding: 64px 0; }
.tp-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}
.tp-section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tp-orange);
  margin-bottom: 12px;
}
.tp-section-header h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--tp-navy);
  line-height: 1.2;
  margin-bottom: 12px;
}
.tp-section-header p {
  font-size: 16px;
  color: var(--tp-gray-500);
  line-height: 1.6;
}

/* Mobile CTA bar */
.tp-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background: var(--tp-white);
  border-top: 2px solid var(--tp-orange);
  padding: 10px 16px;
  gap: 10px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}
.tp-mobile-cta a {
  flex: 1;
  text-align: center;
  padding: 12px;
  font-family: var(--tp-font);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--tp-radius);
}
.tp-mobile-cta-call {
  background: var(--tp-navy);
  color: var(--tp-white);
}
.tp-mobile-cta-rdv {
  background: linear-gradient(135deg, var(--tp-orange), var(--tp-orange-hover));
  color: var(--tp-white);
}
@media (max-width: 768px) {
  .tp-mobile-cta { display: flex; }
  .tp-main { padding-bottom: 72px; }
}

/* Print */
@media print {
  .tp-header, .tp-announce-bar, .tp-mobile-cta,
  .tp-footer-contact, .tp-hamburger { display: none !important; }
}
