/**
 * TNC - Homepage Styles
 * Fichier : /wp-content/themes/tnc-custom/assets/css/tnc-homepage-styles.css
 * Utilisation : Page d'accueil (template-homepage.php)
 */

/* ========== HÉRO ========== */

.tnc-hero {
    padding: clamp(80px, 12vw, 120px) clamp(20px, 4vw, 40px);
    background: linear-gradient(135deg, #F0EEE9 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.tnc-hero-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.tnc-hero-content {
    max-width: 700px;
}

.tnc-hero-eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #C4956A;
    margin-bottom: clamp(12px, 2vw, 16px);
}

.tnc-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(2rem, 5vw, 3rem);
    color: #BB2649;
    margin: 0 0 clamp(16px, 3vw, 24px) 0;
    line-height: 1.2;
}

.tnc-hero-text {
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    color: #666;
    margin: 0 0 clamp(32px, 5vw, 40px) 0;
    line-height: 1.7;
}

.tnc-hero-cta {
    display: inline-block;
    padding: clamp(12px, 2vw, 16px) clamp(28px, 3vw, 36px);
    background: #BB2649;
    color: #F0EEE9;
    text-decoration: none;
    border-radius: 4px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: clamp(0.9rem, 1vw, 1rem);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tnc-hero-cta:hover {
    background: #9B1F39;
    color: #F0EEE9;
}

/* Empreinte background */
.tnc-hero::after {
    content: '';
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    background: url('https://tn-com.fr/wp-content/uploads/empreinte.webp') no-repeat center;
    background-size: contain;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 1024px) {
    .tnc-hero::after {
        width: 400px;
        height: 400px;
        right: -80px;
    }
}

@media (max-width: 768px) {
    .tnc-hero::after {
        display: none;
    }
}

/* ========== SECTION ÉTAPES ========== */

.tnc-steps-section {
    padding: clamp(60px, 10vw, 80px) clamp(20px, 4vw, 40px);
    background: #ffffff;
}

.tnc-steps-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.tnc-steps-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: #1C1C1C;
    text-align: center;
    margin-bottom: clamp(30px, 5vw, 40px);
    line-height: 1.2;
}

.tnc-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(30px, 4vw, 40px);
    margin-bottom: clamp(40px, 6vw, 60px);
}

.tnc-step-card {
    text-align: center;
}

.tnc-step-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 500;
    color: #BB2649;
    margin: 0 0 8px 0;
    line-height: 1;
}

.tnc-step-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-style: italic;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: #1C1C1C;
    margin: 0 0 12px 0;
}

.tnc-step-text {
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    color: #666;
    margin: 0 0 16px 0;
    line-height: 1.6;
}

.tnc-step-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.tnc-step-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: #F5E6EA;
    color: #BB2649;
}

@media (max-width: 1024px) {
    .tnc-steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(20px, 3vw, 30px);
    }
}

@media (max-width: 768px) {
    .tnc-steps-grid {
        grid-template-columns: 1fr;
        gap: clamp(24px, 4vw, 30px);
    }
}

/* ========== SECTION ÉCOSYSTÈME ========== */

.tnc-ecosystem-section {
    padding: clamp(60px, 10vw, 80px) clamp(20px, 4vw, 40px);
    background: #F0EEE9;
}

.tnc-ecosystem-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.tnc-ecosystem-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: #1C1C1C;
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 60px);
    line-height: 1.2;
}

.tnc-ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(24px, 3vw, 30px);
    margin-bottom: clamp(40px, 6vw, 60px);
}

.tnc-ecosystem-card {
    background: #ffffff;
    border-radius: 8px;
    padding: clamp(24px, 3vw, 30px);
    text-align: center;
    transition: all 0.3s ease;
}

.tnc-ecosystem-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.tnc-ecosystem-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-style: italic;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: #BB2649;
    margin: 0 0 12px 0;
}

.tnc-ecosystem-card-text {
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.tnc-ecosystem-cta {
    text-align: center;
    margin-top: clamp(30px, 5vw, 50px);
}

.tnc-ecosystem-cta-text {
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    font-size: clamp(0.95rem, 1vw, 1.0625rem);
    color: #666;
    margin-bottom: clamp(20px, 3vw, 24px);
    line-height: 1.7;
}

.tnc-ecosystem-cta-btn {
    display: inline-block;
    padding: clamp(12px, 2vw, 16px) clamp(28px, 3vw, 36px);
    background: #BB2649;
    color: #F0EEE9;
    text-decoration: none;
    border-radius: 4px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: clamp(0.9rem, 1vw, 1rem);
    transition: all 0.3s ease;
}

.tnc-ecosystem-cta-btn:hover {
    background: #9B1F39;
    color: #F0EEE9;
}

@media (max-width: 1024px) {
    .tnc-ecosystem-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(20px, 3vw, 24px);
    }
}

@media (max-width: 768px) {
    .tnc-ecosystem-grid {
        grid-template-columns: 1fr;
        gap: clamp(16px, 3vw, 20px);
    }
}

/* ========== SECTION PERFORMANT ========== */

.tnc-performant-section {
    padding: clamp(60px, 10vw, 80px) clamp(20px, 4vw, 40px);
    background: #ffffff;
}

.tnc-performant-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.tnc-performant-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: #1C1C1C;
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 60px);
    line-height: 1.2;
}

.tnc-performant-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: clamp(20px, 3vw, 24px);
}

.tnc-performant-card {
    background: #F0EEE9;
    border-radius: 8px;
    padding: clamp(20px, 3vw, 28px);
    text-align: center;
    transition: all 0.3s ease;
}

.tnc-performant-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.tnc-performant-image {
    width: 100%;
    height: 100px;
    object-fit: contain;
    margin-bottom: 16px;
    display: block;
}

.tnc-performant-label {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-style: italic;
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    color: #BB2649;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .tnc-performant-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(16px, 3vw, 20px);
    }
}

@media (max-width: 768px) {
    .tnc-performant-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(14px, 3vw, 18px);
    }
}

@media (max-width: 480px) {
    .tnc-performant-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== GÉNÉRAL ========== */

@media (max-width: 768px) {
    .tnc-hero-title {
        margin-bottom: clamp(12px, 2vw, 16px);
    }
    
    .tnc-steps-title {
        margin-bottom: clamp(20px, 4vw, 30px);
    }
    
    .tnc-ecosystem-title {
        margin-bottom: clamp(24px, 4vw, 40px);
    }
    
    .tnc-performant-title {
        margin-bottom: clamp(24px, 4vw, 40px);
    }
}