/* Chargement de la police Inter si elle n'est pas déjà chargée par ailleurs */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;800;900&display=swap');

.section-cee-container {
    margin-top: 0px;
    width: 100%;
    background: #fff;
     padding: 40px 0 80px 0;  /* ← haut réduit à 40px, bas garde 80px */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centre le contenu verticalement */
    text-align: center;   /* Centre tout le texte */
    font-family: 'Inter', sans-serif;
}

.cee-content {
    padding: 0 20px;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

/* TITRE (Style identique à .title-main mais centré) */
.cee-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(40px, 5vw, 65px);
    font-weight: 900;
    text-transform: uppercase;
    color: #414042;
    line-height: 1.1;
    margin: 0 auto 30px auto;
    letter-spacing: -1px;
}

/* DESCRIPTION */
.cee-description {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #888;
    margin: 25px auto 50px auto;
    line-height: 1.6;
    max-width: 850px;
}

/* LES LIGNES SURLIGNÉES */
.cee-highlights {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centre les lignes horizontalement */
    gap: 15px;
    margin-bottom: 60px;
}

.h-line span {
    background-color: #f3c98e;
    padding: 8px 20px;
    font-weight: 800; /* Inter est très belle en 800 ou 900 */
    text-transform: uppercase;
    display: inline-block;
    color: #414042;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* HOVER EFFECTS SUR LES LIGNES */
.line-1:hover span { transform: rotate(-1.5deg) scale(1.05); background-color: #E5A546; color: #fff; }
.line-2:hover span { transform: rotate(1.2deg) scale(1.05); background-color: #E5A546; color: #fff; }
.line-3:hover span { transform: rotate(-0.8deg) scale(1.05); background-color: #E5A546; color: #fff; }

/* BOUTON (Style lien souligné qui se transforme en rectangle orange) */
.cee-link-btn {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 800;
    color: #3C3C3B;
    text-decoration: none;
    letter-spacing: 1px;
    
    position: relative; /* Indispensable pour l'animation */
    padding: 12px 25px; /* On donne de l'espace pour le rectangle */
    display: inline-block;
    transition: color 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

/* Le trait qui monte (Pseudo-élément) */
.cee-link-btn::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px; /* Épaisseur du trait initial (identique à ton border-bottom) */
    background-color: #F0B150; /* Ton orange Artea */
    transition: height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -1; /* Passe derrière le texte */
}

/* HOVER EFFECT */
.cee-link-btn:hover {
    color: #ffffff; /* Le texte passe en blanc */
}

.cee-link-btn:hover::after {
    height: 100%; /* Le trait monte et remplit tout le bouton */
}

/* Suppression de l'ancien border-bottom pour ne pas faire doublon */
.cee-link-btn {
    border-bottom: none !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .section-cee-container { margin-top: 80px; }
    .cee-title { font-size: 32px; }
    .cee-description { font-size: 16px; }
}