/**
 * Styles specifiques - Page Home (Qui sommes-nous)
 * 1000 Mains et Merveilles
 */

/* ========== HERO ANCIEN (home-old) ========== */
.hero-final {
    background: linear-gradient(135deg, #fad9ae 0%, #f5d297 25%, #f8d08b 50%, #f8cd7e 75%, #faf8f5 100%);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.hero-final-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-bottom: 80px;
}

.hero-text-final h1 {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    color: #2b519f;
    margin-bottom: 25px;
}

.hero-buttons-final {
    display: flex;
    gap: 15px;
}

.btn-primary-final {
    background: linear-gradient(135deg, #f17f0a 0%, #d87355 100%);
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(241, 127, 10, 0.3);
}

.btn-primary-final:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(241, 127, 10, 0.4);
}

.btn-secondary-final {
    background: #20b4b7;
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(32, 180, 183, 0.3);
}

.btn-secondary-final:hover {
    background: #2b519f;
    transform: translateY(-3px);
}

/* Photos hero */
.hero-photo-final {
    position: relative;
}

.hero-size {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-bubble-final {
    position: absolute;
    background: white;
    padding: 20px 25px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(32, 180, 183, 0.15);
    border: 2px solid #20b4b7;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    animation: float 4s ease-in-out infinite;
}

.bubble-1-final {
    top: 20px;
    left: -30px;
}

.bubble-2-final {
    bottom: 30px;
    right: -30px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.stat-emoji-final {
    font-size: 32px;
}

.stat-bubble-final strong {
    font-size: 24px;
    color: #2b519f;
    display: block;
    line-height: 1;
}

.stat-bubble-final span:last-child {
    font-size: 13px;
    color: #8b7e74;
}

/* ========== SECTION DONS ANCIEN (home-old) ========== */
.section-dons {
    background: #bed1f3;
    padding: 80px 0 0;
    position: relative;
}

.section-header-dons {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-dons h2 {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #2b519f;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: #8b7e74;
}

.dons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.don-card {
    background: #faf8f5;
    padding: 40px 35px;
    border-radius: 40px;
    box-shadow: 0 10px 35px rgba(43, 81, 159, 0.12);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.don-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(43, 81, 159, 0.18);
    border-color: #20b4b7;
}

.don-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.don-card h3 {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #2b519f;
    margin-bottom: 15px;
}

.don-card p {
    color: #8b7e74;
    line-height: 1.7;
    margin-bottom: 20px;
}

.locations-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.location-item {
    background: white;
    padding: 15px 20px;
    border-radius: 25px;
    border-left: 4px solid #20b4b7;
}

.location-new {
    border-left-color: #f17f0a;
    background: linear-gradient(135deg, rgba(241, 127, 10, 0.05) 0%, rgba(255, 200, 55, 0.05) 100%);
}

.location-item strong {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    color: #2b519f;
    display: block;
    margin-bottom: 5px;
}

.location-item span {
    font-size: 14px;
    color: #8b7e74;
}

.link-final {
    color: #20b4b7;
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.link-final:hover {
    color: #f17f0a;
    gap: 10px;
}

.dons-cta {
    text-align: center;
    margin-bottom: 80px;
}

.btn-dons-large {
    background: linear-gradient(135deg, #f17f0a 0%, #d87355 100%);
    color: white;
    padding: 20px 50px;
    border-radius: 50px;
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 20px;
    display: inline-block;
    box-shadow: 0 8px 30px rgba(241, 127, 10, 0.35);
}

.btn-dons-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(241, 127, 10, 0.45);
}

.ondulation-bas {
    position: relative;
    bottom: -1px;
}

.ondulation-bas svg {
    display: block;
    width: 100%;
}

/* ========== PRESENTATION ========== */
.presentation-final {
    padding: 100px 0;
    background: #faf8f5;
}

.presentation-grid-final {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.presentation-text-final h2 {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #2b519f;
    margin-bottom: 25px;
    line-height: 1.2;
}

.presentation-text-final p {
    font-size: 17px;
    line-height: 1.8;
    color: #8b7e74;
    margin-bottom: 20px;
}

.values-list-final {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.value-item-final {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 20px 25px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-left: 5px solid;
}

.value-blue { border-left-color: #2b519f; }
.value-turquoise { border-left-color: #20b4b7; }
.value-orange { border-left-color: #f17f0a; }

.value-emoji-final {
    font-size: 36px;
    flex-shrink: 0;
}

.value-item-final strong {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 18px;
    color: #2b519f;
    display: block;
    margin-bottom: 5px;
}

.value-item-final p {
    font-size: 15px;
    margin: 0;
}

/* ========== ACTIVITES (2 cards) ========== */

.ondulation-presentation {
    position: relative;
    bottom: -1px;
}

.ondulation-presentation svg {
    display: block;
    width: 100%;
}

.activites-final {
    padding: 100px 0 0;
    background: #b0e5e8cd;
    position: relative;
}

.cards-final-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.card-final {
    background: #faf8f5;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(32, 180, 183, 0.15);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.card-final:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(32, 180, 183, 0.22);
}

.card-blue:hover { border-color: #2b519f; }
.card-orange:hover { border-color: #f17f0a; }

.card-photo-final {
    height: 300px;
}

.card-size-final {
    height: 100%;
    padding: 80px 40px;
    border-radius: 0;
}

.card-final-content {
    padding: 35px;
}

.card-final h3 {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #2b519f;
    margin-bottom: 15px;
}

.card-final p {
    color: #8b7e74;
    line-height: 1.7;
    margin-bottom: 20px;
}

.ondulation-activites {
    position: relative;
    bottom: -1px;
}

.ondulation-activites svg {
    display: block;
    width: 100%;
}

/* ========== ABOUT MISSION ========== */
.about-mission {
    padding: 100px 0;
    background: #faf8f5;
}

.about-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-mission-text h2 {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #2b519f;
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-mission-text p {
    font-size: 17px;
    line-height: 1.8;
    color: #8b7e74;
    margin-bottom: 20px;
}

/* ========== PEPITES DE LA SEMAINE (HP) ========== */
.home-pepites {
    padding: 100px 0;
    background: linear-gradient(180deg, #faf8f5 0%, #f5e6d3 100%);
}

.home-pepites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.home-pepite-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(43, 81, 159, 0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.home-pepite-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(43, 81, 159, 0.16);
    border-color: #f17f0a;
}

.home-pepite-photo-size {
    height: 200px;
    padding: 40px 20px;
    border-radius: 0;
    border: none;
    box-shadow: none;
    background: linear-gradient(135deg, #f5e6d3 0%, #faf8f5 100%);
}

.home-pepite-info {
    padding: 25px;
}

.home-pepite-cat {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #20b4b7;
    display: block;
    margin-bottom: 8px;
}

.home-pepite-info h3 {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #2b519f;
    margin-bottom: 10px;
    line-height: 1.3;
}

.home-pepite-prix {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #f17f0a;
}

.home-pepite-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 30px 30px 0 0;
}

.home-pepites-cta {
    text-align: center;
}

/* ========== CATEGORIES HP ========== */
.home-categories {
    padding: 100px 0;
    background: linear-gradient(180deg, #f5e6d3 0%, #e8f0ff 100%);
}

.home-categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.home-categorie-card {
    background: white;
    padding: 30px 20px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(43, 81, 159, 0.08);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.home-categorie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(43, 81, 159, 0.15);
    border-color: #20b4b7;
}

.home-categorie-photo {
    position: relative;
    margin: -30px -20px 20px -20px;
    border-radius: 30px 30px 0 0;
    overflow: hidden;
}

.home-categorie-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.home-categorie-emoji {
    position: absolute;
    bottom: -15px;
    right: 12px;
    font-size: 28px;
    background: white;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(43, 81, 159, 0.15);
}

.home-categorie-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.home-categorie-card h3 {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #2b519f;
    margin-bottom: 8px;
}

.home-categorie-card p {
    color: #8b7e74;
    font-size: 14px;
    line-height: 1.5;
}

.home-categories-cta {
    text-align: center;
}

.empty-message {
    text-align: center;
    color: #8b7e74;
    font-style: italic;
    padding: 40px 20px;
    grid-column: 1 / -1;
}

/* ========== VALEURS ========== */
.about-valeurs {
    padding: 100px 0;
    background: linear-gradient(180deg, #f5e6d3 0%, #f2c896 40%, #ea9842 90%);
}

.valeurs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.valeur-card {
    background: #faf8f5;
    padding: 45px 35px;
    border-radius: 40px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(43, 81, 159, 0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.valeur-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(43, 81, 159, 0.15);
}

.valeur-card-blue:hover { border-color: #2b519f; }
.valeur-card-turquoise:hover { border-color: #20b4b7; }
.valeur-card-orange:hover { border-color: #f17f0a; }

.valeur-icon {
    font-size: 64px;
    margin-bottom: 25px;
}

.valeur-card h3 {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #2b519f;
    margin-bottom: 15px;
}

.valeur-card p {
    color: #8b7e74;
    line-height: 1.7;
    font-size: 16px;
}

/* ========== EQUIPE ========== */
.about-equipe {
    padding: 100px 0;
    background: #faf8f5;
}

.equipe-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.equipe-card {
    background: white;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(32, 180, 183, 0.12);
    transition: all 0.3s ease;
    text-align: center;
}

.equipe-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(32, 180, 183, 0.2);
}

.equipe-photo-size {
    height: 180px;
    padding: 40px 20px;
    border-radius: 0;
}

.equipe-info {
    padding: 30px 25px;
}

.equipe-stat {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #20b4b7;
    display: block;
    margin-bottom: 5px;
}

.equipe-info h3 {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #2b519f;
    margin-bottom: 10px;
}

.equipe-info p {
    color: #8b7e74;
    line-height: 1.6;
    font-size: 15px;
}

/* ========== HISTOIRE (Timeline) ========== */
.about-histoire {
    padding: 100px 0;
    background: linear-gradient(180deg, #faf8f5 0%, #e8f0ff 100%);
}

.timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-left: 60px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #20b4b7 0%, #2b519f 100%);
    border-radius: 10px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding: 30px 35px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 8px 30px rgba(43, 81, 159, 0.1);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(5px);
    box-shadow: 0 12px 40px rgba(43, 81, 159, 0.15);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -52px;
    top: 35px;
    width: 18px;
    height: 18px;
    background: #20b4b7;
    border-radius: 50%;
    border: 4px solid #e8f0ff;
}

.timeline-year {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #f17f0a 0%, #ffc837 100%);
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.timeline-content h3 {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #2b519f;
    margin-bottom: 8px;
}

.timeline-content p {
    color: #8b7e74;
    line-height: 1.7;
    font-size: 15px;
}

/* ========== RESPONSIVE HOME ========== */
@media (max-width: 1024px) {
    .home-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-final-content,
    .presentation-grid-final {
        grid-template-columns: 1fr;
    }

    .hero-text-final h1 {
        font-size: 38px;
    }

    .dons-grid,
    .cards-final-grid {
        grid-template-columns: 1fr;
    }

    .stat-bubble-final {
        position: static;
        margin-top: 20px;
    }

    .about-mission-grid {
        grid-template-columns: 1fr;
    }

    .home-pepites-grid {
        grid-template-columns: 1fr;
    }

    .home-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .valeurs-grid,
    .equipe-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 40px;
    }

    .timeline-item::before {
        left: -32px;
    }
}

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