/* ================================================
   TÉMOIGNAGES — L'Affranchi Vidéo
   ================================================ */

/* ===== HERO ===== */
.temo-hero {
  background: #0c0c0c;
  padding: 110px 60px 90px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

/* Halo jaune doux en fond */
.temo-hero::after {
  content: '';
  position: absolute;
  top: -40%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(255,230,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.temo-hero-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: #ffe600;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.temo-hero-title {
  font-size: 100px;
  font-weight: 900;
  line-height: 0.88;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: -5px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.temo-hero-sub {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.42);
  line-height: 1.9;
  font-style: italic;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ===== SECTION ===== */
.temo-section {
  background: #0a0a0a;
  padding: 50px 60px 110px;
}

.temo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== CARD ===== */
.tc {
  --mx: 50%;
  --my: 50%;
  position: relative;
  background: #111;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.16,1,0.3,1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* Spot lumière qui suit le curseur */
.tc::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mx) var(--my),
    rgba(255,230,0,0.06) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 20px;
  z-index: 0;
}

/* Bordure jaune dégradée au hover */
.tc::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255,230,0,0.6) 0%,
    rgba(255,230,0,0.1) 40%,
    transparent 60%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 2;
}

.tc:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow:
    0 32px 80px rgba(0,0,0,0.65),
    0 0 0 1px rgba(255,230,0,0.08);
}

.tc:hover::before { opacity: 1; }
.tc:hover::after  { opacity: 1; }

/* ===== TOP ===== */
.tc-top {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

/* Avatar */
.tc-avatar-wrap {
  position: relative;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.tc-avatar-wrap img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border: 2px solid rgba(255,255,255,0.1);
  transition: border-color 0.35s ease, transform 0.5s ease;
}

.tc:hover .tc-avatar-wrap img {
  border-color: rgba(255,230,0,0.55);
  transform: scale(1.06);
}

/* Anneau pulsant */
.tc-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,230,0,0.22);
  opacity: 0;
  transition: opacity 0.35s ease;
  animation: ring 3s ease-in-out infinite;
}

.tc:hover .tc-ring { opacity: 1; }

@keyframes ring {
  0%, 100% { transform: scale(1);    opacity: 0.22; }
  50%       { transform: scale(1.15); opacity: 0.65; }
}

/* Identité */
.tc-identity {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tc-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1.2;
}

.tc-tag {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}

/* Étoiles */
.tc-stars {
  font-size: 13px;
  color: #ffe600;
  letter-spacing: 3px;
  flex-shrink: 0;
  align-self: flex-start;
}

/* ===== CITATION ===== */
.tc-quote {
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  line-height: 1.9;
  letter-spacing: 0.1px;
  margin: 0;
  quotes: none;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 1;
  transition: color 0.35s ease;
}

/* Grand guillemet déco en fond */
.tc-quote::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 0;
  font-size: 100px;
  font-weight: 900;
  color: rgba(255,255,255,0.025);
  line-height: 1;
  font-style: normal;
  font-family: 'Outfit', sans-serif;
  pointer-events: none;
  transition: color 0.35s ease;
}

.tc:hover .tc-quote         { color: rgba(255,255,255,0.95); }
.tc:hover .tc-quote::before { color: rgba(255,230,0,0.07); }

.temo-cta {
  background: #ffe600;
  padding: 80px 60px;
  text-align: center;
}

.temo-cta-inner { max-width: 720px; margin: 0 auto; }

.temo-cta-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.6);
  margin-bottom: 20px;
}

.temo-cta-title {
  font-size: 64px;
  font-weight: 900;
  text-transform: uppercase;
  color: #000;
  letter-spacing: -3px;
  line-height: 0.9;
  margin-bottom: 40px;
}

.temo-cta-btn {
  display: inline-block;
  background: #000;
  color: #ffe600;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 18px 52px;
  border: 2px solid #000;
  border-radius: 6px;
  transition: background 0.3s ease, color 0.3s ease;
}

.temo-cta-btn:hover {
  background: transparent;
  color: #000;
}

.temo-cta-sub {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(0,0,0,0.6);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .temo-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .temo-hero { padding: 60px 25px 50px; }
  .temo-hero-title { font-size: 54px; letter-spacing: -2px; }
  .temo-section { padding: 50px 20px 70px; }
  .tc { padding: 28px 24px; }
  .temo-cta { padding: 90px 25px; }
  .temo-cta-title { font-size: 56px; letter-spacing: -3px; }
}
