/* ==================== TYPOGRAPHY & LAYOUT STYLES ==================== */
/* styles-text.css - Complément à styles4.4.css */

/* ==================== HEADER OFFSET FIX ==================== */
#ti-84 {
  padding-top: var(--header-height);
  margin-top: 60px;
}

/* ==================== MAIN CONTENT LAYOUT ==================== */
#ti-86 {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
  line-height: 1.7;
}

/* ==================== TYPOGRAPHY HIERARCHY ==================== */
.ti-85 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  margin-bottom: 40px;
  margin-top: 100px
  line-height: 1.2;
  letter-spacing: -0.02em;
  padding-top: 20px; /* Réduit pour compenser le padding-top de #ti-84 */
}

.ti-87 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 48px 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  line-height: 1.3;
}

.ti-84 {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  text-align: justify;
  line-height: 1.8;
}

/* ==================== LISTS STYLING ==================== */
.ti-88 {
  margin: 24px 0;
  padding-left: 24px;
  list-style-type: none;
}

.ti-88 li {
  position: relative;
  margin-bottom: 16px;
  padding-left: 32px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1.1rem;
}

.ti-88 li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.5rem;
  line-height: 1;
}

/* ==================== LINKS STYLING ==================== */
.ti-84 a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-fast);
  border-bottom: 1px solid transparent;
}

.ti-84 a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ==================== TEXT EMPHASIS ==================== */
.ti-84 strong {
  color: var(--text-primary);
  font-weight: 700;
}

.ti-84 em {
  color: var(--primary);
  font-style: italic;
}

/* ==================== SPACING & ALIGNMENT ==================== */
#ti-86 > *:first-child {
  margin-top: 0;
}

#ti-86 > *:last-child {
  margin-bottom: 0;
}

/* ==================== SECTION SPACING ==================== */
.ti-87 + .ti-84 {
  margin-top: 8px;
}

/* ==================== BLOCKQUOTES & SPECIAL TEXT ==================== */
.ti-84:has(strong:first-child) {
  background: var(--surface-hover);
  padding: 20px;
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  margin: 32px 0;
}

/* ==================== ABOUT PAGE SPECIFIC STYLES ==================== */
/* À ajouter à votre fichier styles-text.css */

/* Style pour les paragraphes de la page À propos */
.ti-74 {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: justify;
}

/* Style pour les spans dans les informations importantes */
.ti-74 span {
  color: var(--primary);
  font-weight: 600;
}

/* Style pour les titres de sections */
.ti-74 strong span {
  color: var(--primary-dark);
  font-size: 1.2rem;
  display: block;
  margin-bottom: 8px;
}

/* Style spécifique pour les informations de contact */
.ti-74:has(strong span) {
  margin-bottom: 12px;
  padding-left: 0;
}

/* Style pour les séparations entre sections */
br + .ti-74 {
  margin-top: 8px;
}

/* Style pour la citation finale */
.ti-74[style*="text-align: center"] {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 40px 20px;
  border-radius: var(--radius-lg);
  margin: 40px 0;
  box-shadow: var(--shadow-lg);
  text-align: center !important;
}

.ti-74[style*="text-align: center"] span {
  color: white;
  font-size: 1.8rem;
  line-height: 1.3;
}

/* Style pour les listes d'informations */
.ti-74:has(strong span:first-child) {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  background: var(--surface-hover);
  padding: 16px 20px;
  border-radius: var(--radius);
  margin: 16px 0;
}

/* Style pour les titres de services */
.ti-74 strong span:contains("Le Lay-Buy Ticket"),
.ti-74 strong span:contains("Des tarifs bas"),
.ti-74 strong span:contains("Des réservations sécurisés"),
.ti-74 strong span:contains("Un service disponible en tout temps") {
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

/* Style responsive pour la page À propos */
@media (max-width: 768px) {
  .ti-74 {
    font-size: 1rem;
    text-align: left;
    line-height: 1.7;
  }
  
  .ti-74[style*="text-align: center"] span {
    font-size: 1.4rem;
  }
  
  .ti-74 strong span {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .ti-74 {
    font-size: 0.95rem;
  }
  
  .ti-74[style*="text-align: center"] {
    padding: 30px 15px;
    margin: 30px 0;
  }
  
  .ti-74[style*="text-align: center"] span {
    font-size: 1.2rem;
  }
}

/* Style pour les liens dans le contenu */
.ti-74 a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-fast);
  border-bottom: 1px solid transparent;
}

.ti-74 a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Style pour les éléments en italique */
.ti-74 i {
  color: var(--primary-light);
  font-style: italic;
}

/* Animation subtile pour les sections de services */
.ti-74:has(strong span) {
  transition: all var(--transition);
}

.ti-74:has(strong span):hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-sm);
}

/* ==================== RESPONSIVE TYPOGRAPHY ==================== */
@media (max-width: 768px) {
  #ti-84 {
    padding-top: 70px; /* Header plus petit sur mobile */
    margin-top: 30px;
  }
  
  #ti-86 {
    padding: 24px 16px;
  }
  
  .ti-85 {
    margin-bottom: 32px;
  }
  
  .ti-87 {
    font-size: 1.3rem;
    margin: 40px 0 16px 0;
  }
  
  .ti-84 {
    font-size: 1rem;
    line-height: 1.7;
    text-align: left;
  }
  
  .ti-88 {
    padding-left: 16px;
  }
  
  .ti-88 li {
    padding-left: 24px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  #ti-84 {
    padding-top: 60px;
    margin-top: -60px;
  }
  
  #ti-86 {
    padding: 20px 12px;
  }
  
  .ti-85 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    padding-top: 5px;
    margin-top: 100px;
  }
  
  .ti-87 {
    font-size: 1.2rem;
  }
  
  .ti-88 li::before {
    font-size: 1.3rem;
  }
}


/* ==================== PRINT STYLES ==================== */
@media print {
  #ti-84 {
    padding-top: 0;
    margin-top: 0;
  }
  
  .ti-85 {
    color: #000;
    font-size: 2rem;
    padding-top: 0;
  }
  
  .ti-84 {
    color: #333;
    font-size: 1rem;
  }
  
  .ti-87 {
    color: #000;
    break-inside: avoid;
  }
  
  #ti-86 {
    max-width: none;
    padding: 0;
  }
}

/* ==================== ACCESSIBILITY ==================== */
@media (prefers-reduced-motion: reduce) {
  .ti-84 a {
    transition: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .ti-84 {
    color: #000;
  }
  
  .ti-87 {
    color: #000;
    border-bottom-color: #000;
  }
}

/* ==================== DARK MODE SUPPORT ==================== */
@media (prefers-color-scheme: dark) {
  .ti-84 {
    color: #e2e8f0;
  }
  
  .ti-85 {
    color: #60a5fa;
  }
  
  .ti-87 {
    color: #93c5fd;
    border-bottom-color: #374151;
  }
  
  .ti-84 a {
    color: #60a5fa;
  }
  
  .ti-84 a:hover {
    color: #f87171;
  }
  
  .ti-84:has(strong:first-child) {
    background: #1f2937;
  }
}