/* ===== ABOUT SECTION ===== */
.about-section {
    background:
        linear-gradient(135deg, #fff5e1 0%, #ffffff 30%, #fffbf0 70%, #fff9e6 100%);
    position: relative;
    overflow: hidden;
}

/* Titre principal magnifique avec effets */
.about-section .section-title-main {
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg,
        #1a2332 0%,
        #2c3e50 30%,
        #FFD700 50%,
        #2c3e50 70%,
        #1a2332 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShine 4s ease-in-out infinite;
    text-shadow:
        0 4px 20px rgba(255, 215, 0, 0.3),
        0 2px 10px rgba(44, 62, 80, 0.2);
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 25px;
    margin-bottom: 25px;
}

/* Trait décoratif sous le titre - animé au scroll */
.about-section .section-title-main::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg,
        transparent 0%,
        #FFD700 20%,
        #FFA500 50%,
        #FFD700 80%,
        transparent 100%);
    border-radius: 2px;
    box-shadow:
        0 0 20px rgba(255, 215, 0, 0.6),
        0 2px 10px rgba(255, 165, 0, 0.4);
    opacity: 0;
}

/* Animation quand la section devient visible */
.about-section .section-title-main.animated::after {
    animation: underlineExpandFromCenter 1.2s ease-out forwards;
}

/* Sous-titre simple et élégant */
.about-section .section-subtitle-main {
    font-size: 22px;
    font-weight: 500;
    color: #666;
}

/* Animations */
@keyframes gradientShine {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes underlinePulse {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) scaleX(1);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-50%) scaleX(1.1);
    }
}

/* Motif géométrique en arrière-plan */
.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,215,0,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(44,62,80,0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Lignes décoratives diagonales subtiles */
.about-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(255,215,0,0.02) 60px, rgba(255,215,0,0.02) 61px);
    pointer-events: none;
    z-index: 0;
}

.about-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.about-column {
    text-align: center;
    padding: 35px 25px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 
        0 4px 20px rgba(0,0,0,0.06),
        inset 0 1px 0 rgba(255,255,255,0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,215,0,0.1);
    position: relative;
    overflow: hidden;
}

.about-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.about-column:hover::before {
    transform: scaleX(1);
}

.about-column:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 12px 40px rgba(255,215,0,0.2),
        inset 0 1px 0 rgba(255,255,255,1);
    border-color: rgba(255,215,0,0.3);
}

.about-icon {
    font-size: 55px;
    margin-bottom: 18px;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 2px 8px rgba(255,215,0,0.2));
}

.about-column:hover .about-icon {
    transform: scale(1.15) rotateY(10deg);
    filter: drop-shadow(0 4px 12px rgba(255,215,0,0.4));
}

.about-column h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.about-column p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    font-weight: 500;
}

.about-description {
    max-width: 850px;
    margin: 0 auto 35px;
    font-size: 17px;
    line-height: 1.7;
    color: #444;
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-features-list {
    max-width: 700px;
    margin: 25px auto;
    text-align: left;
    font-size: 16px;
    line-height: 1.9;
    position: relative;
    z-index: 1;
}

.about-features-list li {
    margin-bottom: 8px;
    padding-left: 5px;
    transition: all 0.3s ease;
}

.about-features-list li:hover {
    padding-left: 10px;
    color: #2c3e50;
}

/* Features Highlight Box */
.features-highlight-box {
    max-width: 900px;
    margin: 35px auto;
    padding: 30px 35px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    border: 1px solid rgba(255,215,0,0.15);
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
    position: relative;
    z-index: 1;
}

.features-title {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.features-highlight-box .about-features-list {
    margin: 0;
    list-style: none;
}

.features-highlight-box .about-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 15px;
    margin-bottom: 8px;
    background: rgba(255,255,255,0.7);
    border-radius: 10px;
    border-left: 3px solid rgba(255,215,0,0.4);
    box-shadow: 0 1px 5px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    font-size: 15px;
    line-height: 1.6;
}

.features-highlight-box .about-features-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border-left-width: 3px;
    background: rgba(255,255,255,0.9);
}

.feature-icon-small {
    font-size: 20px;
    flex-shrink: 0;
    filter: none;
}

.features-highlight-box .about-features-list li strong {
    color: #2c3e50;
    font-weight: 600;
}

.about-callout {
    max-width: 850px;
    margin: 45px auto 0;
    padding: 30px 40px;
    background: 
        linear-gradient(135deg, rgba(255,249,230,0.9) 0%, rgba(255,255,255,0.9) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid #FFD700;
    border-radius: 20px;
    text-align: center;
    box-shadow: 
        0 8px 30px rgba(255,215,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.5);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.about-callout::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,215,0,0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.about-callout h4 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.about-callout p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.icall-mention {
    text-align: center;
    margin-top: 35px;
    color: #888;
    font-size: 15px;
    position: relative;
    z-index: 1;
}

/* ===== LANGUAGES SECTION ===== */
.languages-section {
    margin-top: 50px;
    padding: 35px 40px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 20px;
    border: 2px solid rgba(102, 126, 234, 0.15);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.languages-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.languages-title {
    font-size: 26px;
    font-weight: 800;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.languages-subtitle {
    font-size: 16px;
    color: #667eea;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.language-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 25px 20px;
    background: white;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.language-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.language-card:hover::before {
    transform: scaleX(1);
}

.language-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.25);
    border-color: #667eea;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.language-flag {
    font-size: 48px;
    font-family: 'Noto Color Emoji', 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    transition: all 0.3s ease;
}

.language-card:hover .language-flag {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 6px 12px rgba(102, 126, 234, 0.3));
}

.language-name {
    font-size: 17px;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}

.language-card:hover .language-name {
    color: #667eea;
}

/* Responsive */
@media (max-width: 900px) {
    .languages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 600px) {
    .languages-section {
        padding: 30px 25px;
        margin-top: 40px;
    }
    
    .languages-title {
        font-size: 22px;
    }
    
    .languages-subtitle {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .languages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .language-card {
        padding: 20px 15px;
    }
    
    .language-flag {
        font-size: 40px;
    }
    
    .language-name {
        font-size: 15px;
    }
}

@media (max-width: 400px) {
    .languages-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ===================================================
   RESPONSIVE - Titres Magnifiques
   ================================================= */

/* Tablette et mobile */
@media (max-width: 768px) {
    .about-section .section-title-main {
        font-size: 42px;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .about-section .section-title-main::after {
        height: 3px;
    }

    .about-section .section-subtitle-main {
        font-size: 19px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .about-section .section-title-main {
        font-size: 36px;
        letter-spacing: -0.3px;
        padding-bottom: 18px;
        margin-bottom: 18px;
    }

    .about-section .section-title-main::after {
        height: 3px;
    }

    .about-section .section-subtitle-main {
        font-size: 17px;
    }
}

/* Très petit mobile */
@media (max-width: 400px) {
    .about-section .section-title-main {
        font-size: 30px;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .about-section .section-title-main::after {
        height: 2px;
    }

    .about-section .section-subtitle-main {
        font-size: 15px;
    }
}
