/* =============================================
   PAGE À PROPOS — page-about.css
   ============================================= */

/* Hero Section */
.page-hero {
    position: relative;
    height: clamp(50vh, 60vh, 700px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--color-black);
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(15,15,15,0.95) 100%), url('/image/kyoku_peinture.webp');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    padding: 2rem 1rem;
    text-align: center;
    overflow: hidden;
}

.page-hero h1 {
    margin-bottom: 1.5rem;
    color: var(--color-white);
    font-size: clamp(1.8rem, 5vw, 4rem);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--color-gray-light);
    line-height: 1.6;
}


/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }


/* Section Subtitle (repris de home-inline.css) */
.section-subtitle {
    display: inline-block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-red);
    letter-spacing: 2px;
}


/* Philosophie Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 4rem;
    }
}

.about-text h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    color: var(--color-black);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
}

.kanji-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-light);
    border-radius: 4px;
    padding: 4rem 2rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(230,0,0,0.1);
    transition: transform 0.5s ease;
}

.kanji-visual:hover { transform: translateY(-5px); }

.kanji-visual::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(230,0,0,0.05) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.kanji-symbol {
    font-size: clamp(8rem, 15vw, 18rem);
    color: rgba(0,0,0,0.05);
    line-height: 1;
    font-family: 'Hiragino Mincho Pro', 'Yu Mincho', serif;
    position: absolute;
    z-index: 0;
    transform: scale(1.2);
}

.kanji-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.kanji-title {
    font-family: var(--font-primary);
    color: var(--color-red);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
}

.kanji-desc {
    font-size: 1rem;
    color: #666;
    max-width: 250px;
}


/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: var(--color-black);
    color: var(--color-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--color-red);
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gray-light);
}


/* Timeline / Méthode Section */
.method-section {
    padding: 5rem 0;
    background-color: var(--color-white);
}

.method-container {
    max-width: 800px;
    margin: 0 auto;
}

.method-header {
    text-align: center;
    margin-bottom: 4rem;
}

.method-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.method-header p {
    max-width: 600px;
    margin: 1rem auto 0;
    color: #555;
    line-height: 1.7;
}

.method-list {
    position: relative;
    padding-left: 0;
}

.method-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background-color: rgba(230,0,0,0.2);
}

.method-step {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0;
}

.method-step:last-child {
    margin-bottom: 0;
}

.method-number {
    position: absolute;
    left: 20px;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--color-red);
    box-shadow: 0 0 0 6px white, 0 5px 15px rgba(230,0,0,0.3);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 2;
    flex-shrink: 0;
}

.method-content {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
    position: relative;
    margin-left: 55px;
    width: calc(100% - 55px);
}

.method-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-black);
}

.method-content p {
    color: #555;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

/* Desktop timeline (alternating left/right) */
@media (min-width: 768px) {
    .method-list::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .method-step {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .method-step:nth-child(even) {
        flex-direction: row-reverse;
    }

    .method-number {
        left: 50%;
    }

    .method-content {
        margin-left: 0;
        width: 44%;
        padding: 2rem;
        text-align: right;
    }

    .method-step:nth-child(even) .method-content {
        text-align: left;
    }

    .method-content h3 {
        font-size: 1.4rem;
    }

    .method-content p {
        font-size: 1rem;
    }

    /* Arrow pointers */
    .method-content::before {
        content: '';
        position: absolute;
        top: 20px;
        width: 0;
        height: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
    }

    .method-step:nth-child(odd) .method-content::before {
        right: -10px;
        border-left: 10px solid #fff;
        filter: drop-shadow(2px 0 1px rgba(0,0,0,0.02));
    }

    .method-step:nth-child(even) .method-content::before {
        left: -10px;
        border-right: 10px solid #fff;
        filter: drop-shadow(-2px 0 1px rgba(0,0,0,0.02));
    }
}


/* Valeurs Section */
.values-section {
    background-color: #fafafa;
    padding: 5rem 0;
}

.values-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.values-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.values-header p {
    max-width: 600px;
    margin: 1rem auto 0;
    color: #555;
    line-height: 1.7;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

.value-card {
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border-bottom: 3px solid transparent;
    z-index: 1;
    overflow: hidden;
}

.value-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--color-red);
    z-index: -1;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(230,0,0,0.1);
    border-bottom-color: var(--color-red);
}

.value-card:hover::after {
    transform: translateY(0);
}

.value-card:hover h3,
.value-card:hover p,
.value-card:hover .value-icon {
    color: var(--color-white);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--color-red);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: color 0.3s ease;
}

.value-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.value-card p {
    color: #555;
    line-height: 1.7;
    margin: 0;
    transition: color 0.3s ease;
}


/* Engagement Section */
.engagement-section {
    padding: 5rem 0;
    background-color: var(--color-white);
}

.engagement-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .engagement-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

.engagement-item {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.engagement-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.engagement-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.engagement-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--color-black);
}

.engagement-item p {
    color: #555;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}


/* CTA Section */
.cta-section {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(to right, rgba(230,0,0,0.03), rgba(0,0,0,0.03));
}

.cta-section h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    margin-bottom: 1rem;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #555;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}


/* Global mobile overflow protection */
body {
    overflow-x: hidden;
}

main {
    overflow-x: hidden;
}
