/* ============================================================
   style4.css — Page article "Promotion du livre"
   Complète style.css / style2.css / style3.css (thème Themefisher)
   Objectifs :
     1. Typographie plus grande et plus lisible
     2. Colonne image réduite / colonne texte élargie
     3. Bouton CTA call-to-action bien visible
   ============================================================ */

/* ── 1. TYPOGRAPHIE ARTICLE — agrandissement général ────────────────────────
   style.css définit body à 14px/300. On surcharge ici pour l'article.       */

.article-content-col .content p,
.article-content-col .content li {
    font-size: 17px;          /* +3px vs body du thème */
    line-height: 1.85;
    font-weight: 300;
    color: #3b4045;
}

.article-content-col h1 {
    font-size: 34px;          /* clair et lisible, en dessous du h1 thème (44px) */
    font-weight: 600;
    line-height: 1.25;
    color: #3c3c3c;
    margin-bottom: 24px;
}
@media (max-width: 768px) {
    .article-content-col h1 { font-size: 26px; }
}

.article-content-col .content h2 {
    font-size: 26px;          /* = entre h2 (30px) et h3 (23px) du thème */
    font-weight: 600;
    line-height: 1.3;
    color: #3c3c3c;
    margin-top: 36px;
    margin-bottom: 12px;
    padding-top: 8px;
    border-top: 2px solid #f9a743;  /* accent orange cohérent avec le thème */
}

.article-content-col .content h3 {
    font-size: 20px;          /* = h4 du thème */
    font-weight: 600;
    line-height: 1.3;
    color: #3c3c3c;
    margin-top: 28px;
    margin-bottom: 10px;
}

/* ── 2. SECTION LAYOUT — image réduite, texte plus large ────────────────────
   La section hérite de .section (padding 100px 0).
   On réduit l'image à col-md-3 (dans le HTML) et on surcharge ici.          */

.article-section { padding: 60px 0 80px; }

/* Colonne image : max-width contenu, sans débordement */
.article-image-col img {
    border-radius: 5px;
    box-shadow: 0 10px 40px rgba(0,0,0,.10);
    width: 100%;
    max-width: 260px;         /* limite la largeur de l'image */
    display: block;
    margin: 0 auto;
}

/* sticky image : décalage adapté au header fixe */
.article-image-col .sticky-image {
    top: 90px;
}

/* ── 3. BOUTON CTA ───────────────────────────────────────────────────────────
   Bloc call-to-action inséré dans le corps de l'article.
   Style : orange thème + typographie Josefin Sans / Droid Serif.            */

.article-cta {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #fff8f0;
    border: 1px solid rgba(249,167,67,.35);
    border-left: 4px solid #f9a743;   /* accent blockquote du thème */
    border-radius: 5px;
    padding: 22px 24px;
    margin: 28px 0 32px;
    box-shadow: 0 4px 18px rgba(249,167,67,.12);
}

/* Icône gauche */
.article-cta-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    background: #f9a743;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(249,167,67,.40);
    margin-top: 2px;
}
.article-cta-icon i {
    color: #fff;
    font-size: 18px;
}

/* Corps du CTA */
.article-cta-body { flex: 1; }

.article-cta-text {
    font-size: 15px !important;      /* surcharge .content p */
    font-weight: 400 !important;
    color: #555 !important;
    line-height: 1.6 !important;
    margin-bottom: 14px !important;
}

/* Bouton principal — hérite de .btn-main du thème */
.article-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    background-color: #f9a743;
    border-radius: 30px;             /* pill = style btn-main */
    font-family: 'Josefin Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.3;
    padding: 14px 28px;
    text-decoration: none !important;
    box-shadow: 0 12px 32px rgba(249,167,67,.45);
    background-image: linear-gradient(to top, rgba(255,239,206,0) 0%, rgba(255,239,206,.25) 100%);
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
    white-space: normal;             /* autorise le retour à la ligne */
    text-align: left;
}
.article-cta-btn:hover,
.article-cta-btn:focus {
    color: #fff;
    background-color: #f9a743;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249,167,67,.55);
    text-decoration: none !important;
}
.article-cta-btn:active {
    transform: translateY(0);
}
.article-cta-btn i {
    font-size: 13px;
    flex-shrink: 0;
}

/* ── 4. RESPONSIVE ───────────────────────────────────────────────────────────*/

@media (max-width: 768px) {
    /* Image passe en largeur pleine sur mobile */
    .article-image-col { text-align: center; }
    .article-image-col img { max-width: 200px; margin-bottom: 24px; }

    /* CTA en colonne */
    .article-cta { flex-direction: column; gap: 12px; padding: 18px 16px; }
    .article-cta-icon { width: 38px; height: 38px; }
    .article-cta-icon i { font-size: 15px; }
    .article-cta-btn { font-size: 14px; padding: 12px 20px; }
}
