/* ============================================================
   PAGE PRÉSENTATION — assets/css/presentation.css
   Chargé uniquement sur la page Présentation via functions.php
   ============================================================ */

/* ============================================================
   HERO — variante présentation (sans les benefits)
   ============================================================ */

.hero--presentation .hero__text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero--presentation .hero__text h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.hero--presentation .hero__subtitle-red {
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    font-weight: 700;
    color: white;
    margin: 0 0 14px 0;
    line-height: 1.4;
}

/* ============================================================
   FONDATEUR
   ============================================================ */
.section-fondateur {
    padding: 80px 0;
    background: white;
}

.fondateur-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 64px;
    align-items: stretch;
}

/* --- Photo --- */
.fondateur-photo {
    position: relative;
    display: flex;
    flex-direction: column;
}

.fondateur-photo img {
    width: 100%;
    height: 100%;
    flex: 1;
    border-radius: 10px;
    object-fit: cover;
    object-position: top center;
    display: block;
    min-height: 0;
}

.fondateur-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #C4312B;
    color: white;
    font-size: 14px;
    line-height: 1.5;
    padding: 0px 20px;
    border-radius: 0 0 10px 10px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.fondateur-badge img {
    width: 52px;
    height: auto;
    flex-shrink: 0;
}

.fondateur-badge-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fondateur-badge-text span {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    font-weight: 400;
}

.fondateur-badge strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* --- Contenu --- */
.fondateur-name {
    font-size: 2rem !important;
    font-weight: 900 !important;
    color: var(--title-color) !important;
    margin: 0 0 24px 0 !important;
    letter-spacing: -0.5px;
}

.fondateur-bio p {
    font-size: 15px !important;
    color: var(--txt-color);
    line-height: 1.75;
    margin: 0 0 16px 0 !important;
}

/* --- Icônes stats --- */
.fondateur-stats {
    display: flex;
    gap: 16px;
    margin: 32px 0;
    flex-wrap: wrap;
}

.fondateur-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    flex: 1;
    min-width: 120px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 24px 16px;
}

.fondateur-stat-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.fondateur-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-section);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--title-color);
}

.fondateur-stat-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--title-color);
    line-height: 1.3;
}

.fondateur-stat-label {
    font-size: 12px;
    color: var(--txt-color);
}

/* --- Citation --- */
.fondateur-citation {
    border-left: none;
    margin: 0;
    padding: 22px 28px;
    background: var(--title-color);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    color: white;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.fondateur-citation svg {
    color: #C4312B;
    flex-shrink: 0;
    margin-top: 2px;
}

.fondateur-citation strong {
    color: white;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
}

/* ============================================================
   UN PROBLÈME NE DOIT PAS ÊTRE SOUS-ESTIMÉ
   ============================================================ */
.section-problemes {
    padding: 72px 0;
    background: var(--bg-section);
}

.section-problemes .section-title {
    text-align: center;
    margin-bottom: 56px;
}

.problemes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 0 40px;
}

/* Séparateurs verticaux entre cartes */
.probleme-card {
    background: transparent;
    border: none;
    border-right: 1px solid #d0d8e8;
    padding: 8px 48px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.probleme-card:first-child {
    padding-left: 0;
}

.probleme-card:last-child {
    border-right: none;
    padding-right: 0;
}

.probleme-img {
    width: auto;
    height: 100px;
    object-fit: contain;
    display: block;
}

.probleme-card h3 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--title-color) !important;
    margin: 0 !important;
    line-height: 1.4;
}

.probleme-card p {
    font-size: 14px !important;
    color: var(--txt-color);
    line-height: 1.7;
    margin: 0 !important;
    text-align: center;
}

/* Bloc avertissement */
.expertises-warning {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: transparent;
    padding: 24px 0 0;
}

.expertises-warning-icon {
    flex-shrink: 0;
    color: #C4312B;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expertises-warning p {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--title-color) !important;
    margin: 0 !important;
    line-height: 1.6;
}

/* ============================================================
   POURQUOI CERTIS + CE QUE VOUS APPORTE
   ============================================================ */
.section-pourquoi-pres {
    padding: 72px 0;
    background: white;
}

.pourquoi-pres-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

.pourquoi-pres-left {
    display: flex;
    flex-direction: column;
}

.pourquoi-pres-left h2 {
    font-size: 1.8rem !important;
    font-weight: 900 !important;
    color: var(--title-color) !important;
    margin: 0 0 20px 0 !important;
    line-height: 1.2;
}

.pourquoi-pres-left p {
    font-size: 15px !important;
    color: var(--txt-color);
    line-height: 1.7;
    margin: 0 0 16px 0 !important;
}

/* Values : 3 colonnes en ligne, icône au-dessus du texte */
.pourquoi-pres-values {
    display: flex;
    flex-direction: row;
    gap: 0;
    margin-top: 10px;
}

.pres-value-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 14px;
    flex: 1;
    padding: 0 16px;
    border-right: 1px solid var(--border-color);
}

.pres-value-item:first-child {
    padding-left: 0;
}

.pres-value-item:last-child {
    border-right: none;
    padding-right: 0;
}

.pres-value-item svg {
    flex-shrink: 0;
    color: var(--title-color);
    width: 44px;
    height: 44px;
}

.pres-value-item strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--title-color);
    margin-bottom: 6px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.pres-value-item span {
    font-size: 15px;
    color: var(--txt-color);
    line-height: 1.5;
    font-weight: 500;
}

/* Bloc droit rose */
.pourquoi-pres-right {
    background: #fdf0ef;
    border-radius: 12px;
    padding: 36px;
    border: 1px solid #f0c4c0;
    display: flex;
    flex-direction: column;
}

/* Titre droit = même taille que h2 gauche */
.pourquoi-pres-right h3 {
    font-size: 1.8rem !important;
    font-weight: 900 !important;
    color: var(--title-color) !important;
    margin: 0 0 28px 0 !important;
    line-height: 1.2;
}

.pres-apporte-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pres-apporte-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--title-color);
    line-height: 1.55;
}

.pres-apporte-list .apporte-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #C4312B;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.pres-apporte-list .apporte-icon svg {
    color: #C4312B;
}

/* ============================================================
   NOS 6 ENGAGEMENTS
   ============================================================ */
.section-engagements {
    padding: 72px 0;
    background: var(--title-color);
}

.section-engagements .section-title {
    color: white !important;
}

.engagements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.engagement-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.engagement-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f0f5fc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--title-color);
}

.engagement-card p {
    margin: 0 !important;
    font-size: 14px !important;
    color: var(--title-color) !important;
    line-height: 1.4;
}

.engagement-card strong {
    color: var(--btn-color);
    font-size: 14px;
}

.engagement-card span {
    font-size: 15px;
    color: var(--txt-color);
    line-height: 1.55;
    font-weight: 500 !important;
}

/* ============================================================
   BARRE AVIS GOOGLE (dans section-avis)
   ============================================================ */
.avis-google-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--title-color);
    border-radius: 10px;
    padding: 24px 32px;
    margin-bottom: 48px;
    gap: 24px;
    flex-wrap: wrap;
}


.avis-google-right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.avis-google-right p {
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    margin: 0 !important;
    max-width: 280px;
    line-height: 1.5;
}

.btn-avis-google {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--title-color);
    font-size: 14px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.btn-avis-google:hover {
    background: #f0f5fc;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .fondateur-grid {
        grid-template-columns: 340px 1fr;
        gap: 40px;
    }

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

    .pourquoi-pres-values {
        gap: 0;
    }

    .pres-value-item {
        padding: 0 12px;
    }
}

@media (max-width: 768px) {
    .fondateur-grid,
    .pourquoi-pres-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .pourquoi-pres-values {
        flex-direction: column;
        gap: 20px;
    }

    .pres-value-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 0 0 20px 0;
    }

    .pres-value-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .pres-value-item svg {
        width: 32px;
        height: 32px;
    }

    .fondateur-photo {
        max-width: 400px;
        margin: 0 auto;
        min-height: 460px;
    }

    .fondateur-badge {
        border-radius: 0 0 10px 10px;
    }

    .section-problemes .section-title {
        margin: 0 0 0px 0 !important;
    }

    .problemes-grid,
    .engagements-grid {
        grid-template-columns: 1fr;
    }

    .probleme-card {
        border-right: none;
        border-bottom: 1px solid #d0d8e8;
        padding: 32px 16px;
    }

    .probleme-card:first-child {
        padding-left: 16px;
    }

    .probleme-card:last-child {
        border-bottom: none;
        padding-right: 16px;
    }

    .probleme-img {
        width: 70px;
        height: 70px;
    }

    .expertises-warning {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .fondateur-stats {
        justify-content: center;
    }

    .fondateur-stat {
        min-width: 0;
    }

    .avis-google-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .avis-google-right {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        width: 100%;
    }

    .avis-google-right p {
        max-width: 100%;
    }
}
