/* =====================================================================
   PAGE DOCUMENTATION — styles propres à cette page
   ===================================================================== */

/* ---- Hero (même famille visuelle que Produits / Magasins / Conseils) ---- */
.about-hero {
    width: 100%;
    height: 280px;
}
.about-left {
    background: linear-gradient(135deg, #0a6a3b 0%, #0d8449 100%);
    position: relative;
    overflow: hidden;
}
.about-left .tips-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .15);
    border-radius: 50%;
    font-size: 1.6rem;
    color: #fff;
    margin: 0 auto 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}
.about-left .tips-subtitle {
    color: rgba(255, 255, 255, .85);
    font-size: .9rem;
    letter-spacing: .5px;
}
.about-right {
    height: 280px;
    overflow: hidden;
}
.about-right img {
    object-fit: cover;
    animation: docKenBurns 18s ease-in-out infinite alternate;
}
@keyframes docKenBurns {
    0%   { transform: scale(1); }
    100% { transform: scale(1.1); }
}
.about-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 42px;
    background: linear-gradient(90deg, rgba(10, 26, 48, .75), rgba(10, 106, 59, .55));
    display: flex;
    align-items: center;
    overflow: hidden;
}
.about-overlay i {
    color: #fff;
    padding-left: 16px;
    flex: 0 0 auto;
}
.marquee {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.marquee span {
    display: inline-block;
    padding-left: 100%;
    color: #fff;
    font-weight: 600;
    animation: docMarquee 16s linear infinite;
}
@keyframes docMarquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
@media (max-width: 991px) {
    .about-hero, .about-right { height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
    .about-right img { animation: none; }
}

/* ---- Barre de progression de lecture ---- */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #cf803d, #0a6a3b);
    z-index: 1100;
    transition: width .15s ease-out;
}

/* ---- Cartes de téléchargement PDF ---- */
.doc-downloads {
    margin-top: -70px;
    position: relative;
    z-index: 3;
}
.doc-pdf-card {
    background: #fff;
    border-radius: 1rem;
    padding: 28px 26px;
    box-shadow: 0 18px 40px rgba(13, 26, 48, .12);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    height: 100%;
    transition: transform .35s ease, box-shadow .35s ease;
}
.doc-pdf-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 50px rgba(13, 26, 48, .18);
}
.doc-pdf-icon {
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, #cf803d, #a66631);
    box-shadow: 0 10px 20px rgba(207, 128, 61, .35);
    transition: transform .4s ease;
}
.doc-pdf-card:hover .doc-pdf-icon {
    transform: rotate(-8deg) scale(1.08);
}
.doc-pdf-card h5 {
    font-weight: 700;
    color: #1D2A4D;
    margin-bottom: 6px;
}
.doc-pdf-meta {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #0a6a3b;
    background: #eaf6f0;
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 10px;
}
.doc-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: .9rem;
    color: #fff;
    background: #0a6a3b;
    border-radius: 50px;
    padding: 8px 20px;
    text-decoration: none;
    transition: gap .3s ease, background .3s ease, transform .3s ease;
}
.doc-pdf-btn i {
    transition: transform .3s ease;
}
.doc-pdf-btn:hover {
    background: #cf803d;
    color: #fff;
    gap: 12px;
    transform: translateY(-2px);
}
.doc-pdf-btn:hover i {
    transform: translateY(2px);
}

/* ---- Sommaire (menu latéral collant) ---- */
.left-menu {
    position: sticky;
    top: 100px;
    background: #fff;
    border-radius: .75rem;
    box-shadow: 0 10px 30px rgba(13, 26, 48, .06);
    padding: 10px;
}
.left-menu-title {
    display: block;
    padding: 8px 15px 10px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #9aa1ab;
}
.left-menu a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    margin-bottom: 2px;
    font-weight: 600;
    font-size: .93rem;
    color: #6c757d;
    text-decoration: none;
    border-radius: .5rem;
    border-left: 3px solid transparent;
    transition: all .3s ease;
}
.left-menu a i {
    width: 18px;
    text-align: center;
    color: #b8bec6;
    transition: color .3s ease;
}
.left-menu a:hover {
    background: #f8f9fa;
    color: #0a6a3b;
    padding-left: 20px;
}
.left-menu a.active {
    color: #0a6a3b;
    border-left-color: #0a6a3b;
    background: #f2f8f5;
}
.left-menu a.active i {
    color: #0a6a3b;
}

/* ---- Sections de contenu ---- */
.content-section {
    padding: 26px 0;
    scroll-margin-top: 100px;
}
.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.section-badge {
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a6a3b, #12934f);
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 8px 18px rgba(10, 106, 59, .3);
}
.section-header h2 {
    margin: 0;
}
.content-section p.justify::first-letter {
    font-size: 3rem;
    font-weight: 800;
    color: #0a6a3b;
    float: left;
    line-height: .78;
    padding-right: 8px;
    padding-top: 4px;
}
.justify {
    text-align: justify;
}
.bleu {
    color: #0a6a3b;
}

/* ---- Sous-cartes (alliances / fonctionnalités) ---- */
.doc-mini-card {
    background: #f8f9fa;
    border-radius: .75rem;
    padding: 18px 20px;
    height: 100%;
    border-left: 4px solid #cf803d;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.doc-mini-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(13, 26, 48, .1);
    background: #fff;
}
.doc-mini-card i {
    color: #0a6a3b;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

/* ---- icônes réseaux sociaux du footer ---- */
.btn-social-custom {
    background-color: #cf803d;
    color: white;
    border: none;
    transition: 0.3s;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}
.btn-social-custom:hover {
    background-color: #a66631;
    color: white;
    transform: scale(1.1);
}
.btn-social-custom i {
    line-height: 0;
    font-size: 1.2rem;
}

/* ---- topbar / dropdown ---- */
.container-fluid.py-2.border-bottom {
    position: relative;
    z-index: 1051;
}
.dropdown-menu {
    z-index: 9999 !important;
}

@media (max-width: 991px) {
    .doc-downloads { margin-top: 24px; }
    .content-section { scroll-margin-top: 70px; }
}
