﻿.hero-title {
    font-family: inherit;
    background-color: var(--color-bg);
}

.hero-highlight {
    font-style: italic;
    color: var(--bs-success);
    /* 🔴 FIX CRUCIAL */
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.wave-letter {
    display: inline-block;
    animation: waveFloat 5s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.08s);
}

@keyframes waveFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.wave-letter {
    display: inline-block;
    /* 🔒 héritage VISUEL forcé */
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    animation: waveFloat 6s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.08s);
}


span .badge {
    background-color: var(--color-bg);
}

/*Secontion 2*/

.services-section {
    background-color: var(--color-bg-alt);
}
.service-arrow {
    display: inline-block; /* obligatoire pour transform */
    transition: transform 0.2s ease; /* animation fluide */
}
.service-section .service-icon {
    transition: box-shadow 0.3s ease;
}

.service-section .service-title {
    transition: color 0.6s ease;
}

.service-section:hover .service-icon {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.service-section:hover .service-title {
    color: green;
}

.service-section:hover .service-arrow
{
    transform: translateX(5px);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: #f6f9f7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 1.4rem;
}


.service-icon a:hover i {
    color: green;
}

.service-title {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-text);
}

.service-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 12px;
    color: var(--color-text);
}

.service-list li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: var(--bs-success);
    font-size: 0.7rem;
    top: 0.35em;
}

.service-link {
    letter-spacing: 0.04em;
    color: var(--bs-success);
}

.service-link:hover {
    text-decoration: underline;
}
.service-arrow {
    color: var(--bs-success);
}
/*Section 3*/
.platform-wrapper {
    position: relative;
    border-radius: 28px;
    background: radial-gradient( 120% 120% at 50% 0%, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.025) 40%, rgba(0, 0, 0, 0.35) 100% ), linear-gradient( 180deg, var(--color-bg-alt) 0%, var(--color-bg) 100% );
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}


.platform-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--color-text);
}

.platform-description {
    max-width: 760px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.platform-card {
    background-color: var(--color-bg-alt);
    border-radius: 20px;
    padding: 32px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.platform-card:hover {
    transform: translateY(-8px);
}

.platform-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background-color: #e6faef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #047857;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.platform-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--color-text);
}


/*Articles*/

.news-card {
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: scale(1.02);
}

.news-card:hover .news-title,
.news-card:hover .news-title a,
.news-card:hover .news-excerpt {
    color: green;
    transition: color 0.3s ease;
}

.news-image {
    position: relative;
    background-color: #e9e8e6;
    border-radius: 20px;
    height: 260px;
    overflow: hidden;
    margin-bottom: 16px;
}

.articles-link {
    color: var(--color-text);
}

.articles-link:hover {
    color: var(--nature-green-dark) !important;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}

.news-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 0.9rem;
    background-color: var(--color-bg-alt);
}

/* Badge */
.news-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background-color: #d1fae5;
    color: #065f46;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Texte */
.news-date {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: #6b7280;
}

.news-title {
    font-family: "Playfair Display", serif;
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 6px;
}

.news-title a {
    color: inherit;
    text-decoration: none;
}

.news-title a:hover {
    text-decoration: underline;
}

.news-excerpt {
    font-size: 0.95rem;
    margin-top: 6px;
}
