/* ============================================
   TIREA — Guide d'utilisation
   Section factorisée, deux skins : --full / --light
   S'appuie sur les styles communs de tirea-product.css
   (.tirea-section-overline / .tirea-section-title / .tirea-section-subtitle / .tirea-accent)
   ============================================ */

.tirea-guide-section {
  padding: 100px 60px;
  max-width: 1400px;
  margin: 0 auto;
  font-family: var(--tirea-font);
  color: #111;
  text-align: center;
  background: white;
}

/* ============================================
   GRILLE DES 3 ÉTAPES + POINTILLÉ HORIZONTAL
   ============================================ */
.tirea-guide-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  max-width: 1100px;
  margin: 40px auto 0;
  position: relative;
}

/* Pointillé horizontal qui relie les 3 cercles (desktop/tablette large) */
.tirea-guide-steps::before {
  content: '';
  position: absolute;
  top: 125px;            /* centré sur des cercles de ~250px */
  left: 17%;
  right: 17%;
  height: 2px;
  background-image: linear-gradient(to right, #d4e0ed 50%, transparent 50%);
  background-size: 12px 2px;
  background-repeat: repeat-x;
  z-index: 0;
}

.tirea-guide-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* ============================================
   CERCLE ILLUSTRATION (taille = moyenne accueil/produit ≈ 250px)
   ============================================ */
.tirea-guide-step-illustration {
  position: relative;
  width: 250px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto 24px;
  background: white;
  border: 2px solid #f0f0f0;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.tirea-guide-step-illustration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  display: block;
}

/* Hover bleu repris de la version accueil */
.tirea-guide-step:hover .tirea-guide-step-illustration {
  border-color: var(--tirea-color-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(30, 111, 196, 0.12);
}

/* ============================================
   GIF ANIMÉ (variante full uniquement)
   ============================================ */
.tirea-guide-step-gif {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 1px solid #eee;
  background: white;
}

.tirea-guide-step-gif img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================
   TEXTES D'ÉTAPE
   ============================================ */
.tirea-guide-step-label {
  font-family: var(--tirea-font);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--tirea-color-text-faint);
  font-weight: 600;
  margin-bottom: 8px;
}

.tirea-guide-step-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--tirea-color-text);
  font-weight: 600;
  letter-spacing: -0.5px;
  margin: 0 0 14px;
}

.tirea-guide-step-text {
  font-size: 15px;
  color: var(--tirea-color-text-soft);
  line-height: 1.6;
  max-width: 260px;
  margin: 0 auto;
}

.tirea-guide-step-text strong {
  color: var(--tirea-color-text);
  font-weight: 600;
}

/* ============================================
   BLOC FINAL "C'EST PRÊT"
   (flèche ↓ + cercle bleu, repris de l'accueil)
   ============================================ */
.tirea-guide-result {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

/* Flèche descendante au-dessus du bloc résultat */
.tirea-guide-arrow {
  position: relative;
  width: 2px;
  height: 80px;
  margin: 40px auto 30px;
  background: linear-gradient(to bottom, transparent, #d4e0ed, transparent);
}

.tirea-guide-arrow::after {
  content: '↓';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--tirea-color-primary);
  font-size: 24px;
  font-weight: 300;
}

.tirea-guide-result-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--tirea-color-primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.tirea-guide-result-title {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  color: var(--tirea-color-text);
  font-weight: 700;
  letter-spacing: -1px;
  margin: 0 0 30px;
}

/* Cercle résultat bordé de bleu */
.tirea-guide-result-image {
  position: relative;
  width: 420px;
  height: 420px;
  margin: 0 auto 30px;
  background: white;
  border: 3px solid var(--tirea-color-primary);
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 50px rgba(30, 111, 196, 0.15);
}

.tirea-guide-result-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  display: block;
}

/* Badge check noir sur le cercle résultat */
.tirea-guide-result-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 56px;
  height: 56px;
  background: #000;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.tirea-guide-result-badge svg {
  width: 28px;
  height: 28px;
}

.tirea-guide-result-subtitle {
  font-size: 17px;
  color: var(--tirea-color-text-soft);
  line-height: 1.6;
  margin-top: 4px;
}

.tirea-guide-result-subtitle strong {
  color: var(--tirea-color-text);
  font-weight: 600;
}

.tirea-guide-result-tagline {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--tirea-color-text);
  font-weight: 600;
  margin-top: 30px;
}

/* ============================================
   SKIN LIGHT (accueil) — sous-titre en italique
   ============================================ */
.tirea-guide--light .tirea-guide-result-subtitle {
  font-style: italic;
}

/* ============================================
   RESPONSIVE LAPTOP (≤1280px)
   ============================================ */
@media (max-width: 1280px) {
  .tirea-guide-steps { gap: 40px; }
  .tirea-guide-step-illustration { width: 230px; }
  .tirea-guide-steps::before { top: 115px; }
  .tirea-guide-step-title { font-size: 26px; }
  .tirea-guide-result-image { width: 375px; height: 375px; }
  .tirea-guide-result-title { font-size: 40px; }
}

/* ============================================
   RESPONSIVE TABLETTE (≤1024px)
   Reste sur 3 colonnes, tout plus compact
   ============================================ */
@media (max-width: 1024px) {
  .tirea-guide-section { padding: 70px 40px; }

  .tirea-guide-steps { gap: 24px; }
  .tirea-guide-step-illustration { width: 160px; }
  .tirea-guide-step-illustration img { padding: 6px; }
  .tirea-guide-steps::before { top: 80px; left: 18%; right: 18%; }

  .tirea-guide-step-label { font-size: 10px; letter-spacing: 1.5px; margin-bottom: 6px; }
  .tirea-guide-step-title { font-size: 22px; }
  .tirea-guide-step-text { font-size: 14px; }

  .tirea-guide-step-gif { width: 70px; height: 70px; }

  .tirea-guide-arrow { height: 60px; }
  .tirea-guide-result-image { width: 300px; height: 300px; }
  .tirea-guide-result-title { font-size: 36px; }
  .tirea-guide-result-subtitle { font-size: 15px; }
  .tirea-guide-result-badge { width: 44px; height: 44px; }
  .tirea-guide-result-badge svg { width: 22px; height: 22px; }
  .tirea-guide-result-tagline { font-size: 24px; }
}

/* ============================================
   RESPONSIVE MOBILE (≤640px)
   Les 3 étapes passent EN COLONNE (sans pointillé)
   ============================================ */
@media (max-width: 640px) {
  .tirea-guide-section { padding: 60px 24px; }

  .tirea-guide-steps {
    grid-template-columns: 1fr;
    gap: 50px;
    max-width: 320px;
  }

  /* Pas de pointillé en mode colonne */
  .tirea-guide-steps::before {
    display: none;
  }

  .tirea-guide-step-illustration { width: 190px; }

  .tirea-guide-step-label { font-size: 11px; }
  .tirea-guide-step-title { font-size: 26px; }

  .tirea-guide-arrow { height: 50px; margin-bottom: 24px; }
  .tirea-guide-result-image { width: 228px; height: 228px; }
  .tirea-guide-result-title { font-size: 36px; }
  .tirea-guide-result-subtitle { font-size: 14px; }
  .tirea-guide-result-tagline { font-size: 22px; }
}

/* ============================================
   RESPONSIVE TRÈS PETIT MOBILE (≤380px)
   ============================================ */
@media (max-width: 380px) {
  .tirea-guide-step-illustration { width: 160px; }
  .tirea-guide-step-title { font-size: 24px; }
  .tirea-guide-result-image { width: 192px; height: 192px; }
  .tirea-guide-result-title { font-size: 32px; }
  .tirea-guide-result-tagline { font-size: 20px; }
}