/* ==========================================================
   TC-Coaching — styles complémentaires
   Ce fichier complète output.css : pas besoin de rebuild Tailwind.
   ========================================================== */

/* Ancres : on ne passe pas sous la navbar sticky */
html {
  scroll-padding-top: 80px;
}

/* ---------- Bouton menu (burger) ---------- */
.tc-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 0.5rem;
  border: 1px solid var(--color-gray-800);
  color: var(--color-white);
  cursor: pointer;
}

.tc-burger .tc-burger-close { display: none; }
.tc-burger[aria-expanded="true"] .tc-burger-open { display: none; }
.tc-burger[aria-expanded="true"] .tc-burger-close { display: inline; }

/* ---------- Menu mobile déroulant ---------- */
.tc-menu {
  display: none;
  border-top: 1px solid var(--color-gray-800);
  background: var(--color-gray-950);
}

.tc-menu.is-open { display: block; }

.tc-menu a {
  display: block;
  padding: 16px 24px;
  font-size: 1.125rem;
  color: var(--color-gray-300);
  border-bottom: 1px solid var(--color-gray-900);
}

.tc-menu a:active { background: var(--color-gray-900); color: var(--color-white); }

/* ---------- Photo "À propos" ---------- */
.tc-about-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top;
}

/* ---------- Petit label au-dessus du titre ---------- */
.tc-eyebrow {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--color-gray-800);
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gray-300);
}

/* ---------- Faits clés (À propos) ---------- */
.tc-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tc-fact {
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--color-gray-800);
  border-radius: 0.5rem;
  background: var(--color-gray-900);
  font-size: 0.875rem;
  color: var(--color-gray-300);
}

.tc-fact strong { color: var(--color-white); font-weight: 700; }

/* ---------- Résultats ---------- */
.tc-result {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tc-result img { margin-bottom: 0.5rem; }

.tc-quote {
  margin-top: 0.5rem;
  padding: 0.75rem 0.9rem;
  border-left: 2px solid var(--color-gray-600);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--color-gray-300);
}

/* Chiffre clé d'une transformation */
.tc-stat {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.tc-stat span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-gray-400);
}

/* ---------- Formules ---------- */
.tc-offers {
  display: grid;
  gap: 2rem;
}

@media (min-width: 48rem) {
  .tc-offers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.tc-offer {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tc-offer--main { border-color: var(--color-white); }

.tc-badge {
  position: absolute;
  top: -0.8rem;
  left: 2rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-black);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tc-price {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  padding-block: 0.5rem;
}

.tc-price small {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-gray-400);
}

.tc-save {
  margin-top: -0.75rem;
  font-size: 0.875rem;
  color: var(--color-green-500);
}

.tc-price--ask {
  font-size: 1.25rem;
  color: var(--color-gray-300);
  padding-block: 1.1rem;
}

.tc-checks {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.tc-checks li {
  display: flex;
  gap: 0.6rem;
  color: var(--color-gray-300);
}

.tc-checks li::before {
  content: "✓";
  flex-shrink: 0;
  font-weight: 700;
  color: var(--color-green-500);
}

.tc-offer-cta { margin-top: auto; }

/* ---------- Étapes ---------- */
.tc-steps {
  display: grid;
  gap: 2rem;
}

.tc-steps li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.tc-step-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid var(--color-gray-600);
  font-size: 1.25rem;
  font-weight: 700;
}

@media (min-width: 48rem) {
  .tc-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; }
  .tc-steps li { flex-direction: column; }
}

/* ---------- Liens texte ---------- */
.tc-link {
  color: var(--color-white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Barre d'action fixe en bas (mobile) ---------- */
.tc-mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(3, 7, 18, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--color-gray-800);
}

.tc-mobile-bar a {
  flex: 1;
  text-align: center;
  padding: 0.85rem 0.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
}

.tc-bar-call { background: var(--color-white); color: var(--color-black); }
.tc-bar-wa { background: var(--color-green-500); color: var(--color-white); }

/* Espace en bas pour que la barre ne cache pas le footer */
@media (max-width: 47.99rem) {
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}

/* ---------- Ordinateur (≥ 768px) ---------- */
@media (min-width: 48rem) {
  .tc-burger,
  .tc-menu,
  .tc-menu.is-open,
  .tc-mobile-bar { display: none; }

  .tc-about-img {
    width: auto;
    height: 30rem;
    object-position: center;
  }
}

/* ---------- Accessibilité : moins d'animations si demandé ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; translate: none !important; transition: none !important; }
}
