/* === Tyshara - Page Layout Style Premium Harmonisé et Cocoon === */

/* Layout général */
.tyshara-layout {
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    gap: 4rem;
  }
  
  /* Menu latéral */
  #tyshara-menu {
    flex: 0 0 320px;
    background: linear-gradient(135deg, rgba(250,242,231,0.95), rgba(245,216,224,0.9));
    padding: 2.5rem 2rem;
    border-radius: 28px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 130px;
    height: max-content;

    transition: all 0.4s ease;
  }
  
  /* Mode escamoté */
  #tyshara-menu.collapsed {
    flex: 0 0 70px;
    padding: 1rem 0.5rem;
    overflow: hidden;
    background: rgba(250,242,231,0.85);
  }
  
  /* Bouton menu toggle */
  #menu-toggle {
    display: none;
    font-size: 2.8rem;
    cursor: pointer;
    margin-bottom: 2rem;
    text-align: right;
    color: #b07665;
  }
  
  /* Liste des liens */
  #tyshara-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  #tyshara-links li {
    margin-bottom: 2rem;
  }
  
  #tyshara-links li a {
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    color: #4a3b35;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  #tyshara-links li a:hover {
    color: #67babb;
    letter-spacing: 1px;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(103, 186, 187, 0.3);
  }
  
  /* Contenu principal */
  .tyshara-content {
    flex: 1 1 800px;
  }
  
  .tyshara-content section {
    background: rgba(250, 242, 231, 0.6);
    padding: 3.5rem 3rem;
    border-radius: 24px;
    margin-bottom: 5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, background 0.3s ease;
  }
  
  .tyshara-content section:hover {
    transform: scale(1.01);
    background: rgba(250, 242, 231, 0.8);
  }
  
  /* Titres */
  .tyshara-content h1, .tyshara-content h2 {
    font-family: "Satisfy", cursive;
    color: #8b6e63;
    text-align: center;
    margin-bottom: 2.5rem;
  }
  
  .tyshara-content h1 {
    font-size: 3.4rem;
  }
  
  .tyshara-content h2 {
    font-size: 2.6rem;
  }
  
  /* Paragraphes */
  .tyshara-content p, .tyshara-content ul, .tyshara-content blockquote {
    font-family: "Montserrat", sans-serif;
    font-size: 1.7rem;
    color: #4a3b35;
    line-height: 1.8;
  }
  
  /* Listes */
  .tyshara-content ul {
    padding-left: 2rem;
  }
  
  .tyshara-content ul li {
    margin-bottom: 1.5rem;
  }
  
  /* Citations */
  .tyshara-content blockquote {
    background: rgba(245, 216, 224, 0.3);
    padding: 2rem 3rem;
    margin: 3rem 0;
    border-left: 5px solid #d08f7b;
    font-style: italic;
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  }
  
  /* Flèche retour haut */
  #back-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 55px;
    height: 55px;
    background: #d08f7b;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 2.4rem;
    line-height: 55px;
    text-decoration: none;
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);
    display: none;
    z-index: 9999;
    transition: background 0.3s, transform 0.3s;
  }
  
  #back-to-top:hover {
    background: #b07665;
    transform: scale(1.1);
  }
  
  /* Responsive */
  @media (max-width: 1024px) {
    .tyshara-layout {
      flex-direction: column;
      padding: 2rem 1.5rem;
    }
  
    #tyshara-menu {
      width: 100%;
      position: relative;
      top: auto;
      margin-bottom: 2rem;
    }
  
    #menu-toggle {
      display: block;
    }
  }
  
  @media (max-width: 768px) {
    .tyshara-content h1 {
      font-size: 2.8rem;
    }
  
    .tyshara-content h2 {
      font-size: 2.3rem;
    }
  
    .tyshara-content p {
      font-size: 1.5rem;
    }
  }
  