/**
 * Naery - Styles de typographie
 * Ce fichier contient tous les styles typographiques du site
 */

/* Styles de base pour le texte */
body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/*--------------------------------------------------
 # Headings
--------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
    color: #111111;
}

/*--------------------------------------------------
 # Section Titles (used in all sections)
--------------------------------------------------*/
.section-title {
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
    text-align: center;
}

.section-title h2 {
    color: #4527a0;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 12px;
    background-color: rgba(123, 31, 162, 0.25);
    z-index: -1;
    border-radius: 10px;
}

.hero-text h1 {
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    color: #fff;
}

.hero-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: 400;
    color: #fff;
}

h1 {
    font-size: 3rem; /* 48px */
}

h2 {
    font-size: 2.25rem; /* 36px */
}

h3 {
    font-size: 1.875rem; /* 30px */
}

h4 {
    font-size: 1.5rem; /* 24px */
}

h5 {
    font-size: 1.25rem; /* 20px */
}

h6 {
    font-size: 1.125rem; /* 18px */
}

/* Paragraphes et texte de base */
p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

strong, b {
    font-weight: 700;
}

em, i {
    font-style: italic;
}

/* Liens */
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

/* Listes */
ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

ul li, ol li {
    margin-bottom: 0.5rem;
}

/* Classes typographiques utilitaires */
.text-xs {
    font-size: var(--font-size-xs);
}

.text-sm {
    font-size: var(--font-size-sm);
}

.text-base {
    font-size: var(--font-size-base);
}

.text-md {
    font-size: var(--font-size-md);
}

.text-lg {
    font-size: var(--font-size-lg);
}

.text-xl {
    font-size: var(--font-size-xl);
}

.text-2xl {
    font-size: var(--font-size-2xl);
}

.text-3xl {
    font-size: var(--font-size-3xl);
}

.text-4xl {
    font-size: var(--font-size-4xl);
}

.text-5xl {
    font-size: var(--font-size-5xl);
}

/* Poids de la police */
.font-light {
    font-weight: 300;
}

.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

/* Couleurs de texte */
.text-primary {
    color: var(--color-primary);
}

.text-secondary {
    color: var(--color-secondary);
}

.text-light {
    color: var(--color-text-light);
}

.text-dark {
    color: var(--color-gray-900);
}

.text-white {
    color: white;
}

/* Mise en forme de texte spu00e9cifique */
.highlight {
    color: var(--color-primary);
    font-weight: 600;
}

.lead {
    font-size: var(--font-size-lg);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.quote {
    font-style: italic;
    font-size: var(--font-size-lg);
    color: var(--color-gray-700);
    border-left: 4px solid var(--color-primary);
    padding-left: 1rem;
    margin: 1.5rem 0;
    line-height: 1.7;
}

/* Utility classes moved from reset.css */


/* Default link style for unclassed <a> (migrated from reset.css) */
/* --- Migrated from reset.css ---
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: var(--color-primary);
  text-decoration: none;
}
--- End migrated from reset.css --- */


/* Section Title Styles (migrated from reset.css and style.css) */
.section-title {
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
}

.section-title h2, .section-title h1 {
  position: relative;
  display: inline-block;
  margin-bottom: 0.6rem; /* Barre plus proche du texte */
  color: #4527a0;
  z-index: 1;
  font-size: var(--font-size-3xl, 2.25rem);
}

.section-title h2:after, .section-title h1:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.30em; /* Remonte la barre plus près du texte */
  width: 0;
  height: 12px;
  background-color: rgba(123, 31, 162, 0.25);
  z-index: -1;
  transition: width 1s cubic-bezier(0.215,0.61,0.355,1);
  transform: skew(-12deg) rotate(-1deg);
  border-radius: 2px;
}

.section-title.visible h2:after, .section-title.visible h1:after {
  width: 100%;
  left: 0;
  transform: none;
}

.section-title p {
  margin-top: 1.5rem;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.hidden {
  display: none !important;
}

/* Responsive Typography */
@media (max-width: 992px) {
    h1 {
        font-size: var(--font-size-3xl);
    }
    
    h2 {
        font-size: var(--font-size-2xl);
    }
    
    h3 {
        font-size: var(--font-size-xl);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: var(--font-size-2xl);
    }
    
    h2 {
        font-size: var(--font-size-xl);
    }
    
    h3 {
        font-size: var(--font-size-lg);
    }
    
    .lead {
        font-size: var(--font-size-base);
    }
    
    .quote {
        font-size: var(--font-size-base);
    }
}
