/* ===== Layout global ===== */
.agency-single {
    padding: 32px 16px 60px;
}

.agency-single__container {
    max-width: 1280px;
    margin: 0 auto 50px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.agency-single__content,
.agency-single__sidebar {
    min-width: 0;
}

/* ===== Hero ===== */
/* ===== HERO H1 STYLE ===== */
.agency-hero-banner {
    background: #2f3f90;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    color: #fff;
}



.agency-hero-banner__title {
	color:#ffffff !important;
    margin: 0 0 15px !important;
    font-size: 34px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
}

.agency-hero-banner__meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge-category,
.badge-date {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
}

/* Hover léger (optionnel) */
.badge-category:hover,
.badge-date:hover {
    background: rgba(255,255,255,0.25);
}
.agency-hero {
    margin-bottom: 22px;
}

.agency-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.agency-badge,
.agency-reading-time {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
}

.agency-badge {
    background: #00613b;
    color: #fff;
}

.agency-reading-time {
    background:#2e8b5733;
    color: #24356f;
}

.agency-hero__title {
    margin: 0 0 12px;
    font-size: 38px !important;
    line-height: 1.15;
    color: #000000;
	letter-spacing: 0 !important;
}

.agency-hero__postmeta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #667085;
    font-size: 14px;
    margin-bottom: 18px;
}

.agency-hero__image {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(16, 24, 40, 0.08);
}

.agency-hero__image img {
    display: block;
    width: 100%;
    height: auto;
}

/* ===== Carte article ===== */
.agency-article-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.05);
}

/* ===== Contenu article ===== */
.agency-article-content {
    color: #344054;
    font-size: 16px;
    line-height: 1.8;
}

.agency-article-content > *:first-child {
    margin-top: 0;
}

.agency-article-content h2,
.agency-article-content h3,
.agency-article-content h4 {
    line-height: 1.25;
    scroll-margin-top: 120px;
	letter-spacing: 0 !important;
}

.agency-article-content h2 {
    margin-top: 34px !important;
    margin-bottom: 12px !important;
    font-size: 28px !important;
	color: #00613b;
}

.agency-article-content h3 {
    margin-top: 26px !important;
    margin-bottom: 10px !important;
    font-size: 22px !important;
}

.agency-article-content p,
.agency-article-content ul,
.agency-article-content ol,
.agency-article-content blockquote {
    margin-bottom: 18px !important;
}

.agency-article-content ul,
.agency-article-content ol {
    padding-left: 22px !important;
}

.agency-article-content li {
    margin-bottom: 8px !important;
}

.agency-article-content a {
    color: #1546d3 !important;
    text-decoration: none !important;
}

.agency-article-content a:hover {
    text-decoration: underline;
}

.agency-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.agency-article-content figure {
    margin: 26px 0;
}

.agency-article-content blockquote {
    margin: 24px 0;
    padding: 18px 20px;
    background: #f8faff;
    border-left: 4px solid #2f3f90;
    border-radius: 12px;
    color: #00613b;
}

.agency-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    overflow: hidden;
    border-radius: 12px;
    display: block;
    overflow-x: auto;
}

.agency-article-content table th,
.agency-article-content table td {
    border: 1px solid #e5e7eb;
    padding: 12px 14px;
    text-align: left;
}

.agency-article-content table th {
    background: #f9fafb;
    color: #1f2937;
}

/* ===== Sidebar ===== */
.agency-single__sidebar--sticky {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.agency-widget {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.05);
}

.agency-single__sidebar--sticky {
    position: sticky;
    top: 120px;
}
.agency-single__sidebar{
	height: 100% !important
}

/* .agency-widget--cta {
    background: linear-gradient(180deg, #f4f7ff 0%, #eef3ff 100%);
} */

.agency-widget__title {
    margin: 0 0 14px !important;
    color: #00613b !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
	font-weight: 600 !important;
}

/* ===== Sommaire ===== */
.agency-toc {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.agency-toc__empty {
    margin: 0;
    color: #667085;
    font-size: 14px;
}

.agency-toc a {
    display: block;
    color: #344054;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.45;
    padding: 8px 10px;
    border-radius: 10px;
    transition: 0.2s ease;
}

.agency-toc a:hover,
.agency-toc a.is-active {
        background: #2e8b5761;
    color: #000000 !important;
}

.agency-toc .toc-h3 {
    padding-left: 22px;
    font-size: 13px;
    color: #667085;
}

.gdh-ad gdh-ad-bottom{
	height:540px !important
}

/* ===== CTA inline ===== */
.agency-inline-cta {
    margin-top: 28px;
	margin-bottom: 28px;
}

.agency-inline-cta__inner {
    background: linear-gradient(135deg, #2e8b57 0%, #00613b 100%);
    color: #fff;
    border-radius: 22px;
    padding: 28px;
    display: grid;
    grid-template-columns: 1.6fr auto;
    gap: 20px;
    align-items: center;
    box-shadow: 0 14px 34px rgba(20, 150, 209, 0.24);
}

.agency-inline-cta__text h2 {
    margin: 0 0 10px !important;
    color: #fff !important;
    font-size: 28px !important;
}

.agency-inline-cta__text p {
    margin: 0;
    color: rgba(255,255,255,0.94);
}

/* ===== Boutons ===== */
.agency-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.2s ease;
}

.agency-btn--primary {
    background: #ffb81c !important;
    color: #00613b !important;
}

.agency-btn--primary:hover {
    background: #ffffff !important;
    color: #00613b !important;
}

.agency-btn--dark {
    background: #00613b !important;
    color: #fff !important;
    width: 100% !important;
}

.agency-btn--dark:hover {
    background: #009fad !important;
    color: #fff !important;
}

.agency-btn--secondary {
    background: #eaf0ff !important;
    color: #00613b !important;
    width: 100% !important;
}

.agency-btn--secondary:hover {
    background: #dbe7ff !important;
    color: #00613b !important;
}


.agency-share i {
    font-size: 28px;
}

/* ===== Services ===== */
.agency-service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.agency-service-list li + li {
    margin-top: 10px;
}

.agency-service-list a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f7f9fc;
    text-decoration: none;
    color: #344054;
    font-weight: 600;
}

.agency-service-list a:hover {
    background: #edf3ff;
    color: #1546d3;
}

/* ===== Partage ===== */
.agency-share {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.agency-share a {
    color: #00613b;
    display: inline-flex;
}

.agency-share a:hover i {
   color: #2e8b57;
}

.agency-inline-cta__text {
    font-size: 22px;
	font-weight: 600;
}



.agency-related-posts {
    margin-top: 50px;
}

.agency-related-posts__title {
    margin: 0 0 24px;
    font-size: 48px;
    line-height: 1.1;
    font-weight: 800;
    color: #00523a;
}

.agency-related-posts__title span {
    color: #f4a300;
}

.agency-related-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
}

.agency-related-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.agency-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.agency-related-card__image-link {
    display: block;
    text-decoration: none;
}

.agency-related-card__image-wrap {
    position: relative;
    overflow: hidden;
}

.agency-related-card__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.agency-related-card__image--placeholder {
    background: #e5e7eb;
}

.agency-related-card__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #1f8f3a;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1;
}

.agency-related-card__content {
    padding: 12px;
}

.agency-related-card__title {
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
}

.agency-related-card__title {
    margin: 0 0 14px;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 700;
}

.agency-related-card__title a {
    color: #111827;
    text-decoration: none;
}

.agency-related-card__title a:hover {
    color: #00523a;
}

.agency-related-card__excerpt {
    margin: 0 0 16px;
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
}

.agency-related-card__link {
    display: inline-block;
    color: #000;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
}

.agency-related-card__link:hover {
    color: #00523a;
}

@media (max-width: 1100px) {
    .agency-related-posts__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .agency-related-posts__title {
        font-size: 34px;
    }

    .agency-related-posts__grid {
        grid-template-columns: 1fr;
    }

    .agency-related-card__image {
        height: 220px;
    }
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .agency-single__container {
        grid-template-columns: 1fr 300px;
    }
}

@media (max-width: 991px) {
    .agency-single__container {
        grid-template-columns: 1fr;
    }

    .agency-widget--sticky {
        position: static;
        top: auto;
    }

    .agency-inline-cta__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
	    .agency-hero-banner {
        padding: 15px !important;
    }
	
	.agency-inline-cta__text {
    font-size: 20px;
    text-align: center;
	font-weight: 500;
}

    .agency-hero-banner__title {
        font-size: 24px !important;
    }
    .agency-single {
        padding: 20px 10px 40px !important;
    }

    .agency-hero__title {
        font-size: 28px !important;
    }

    .agency-article-card,
    .agency-widget {
        padding: 18px !important;
        border-radius: 14px !important;
    }

    .agency-article-content h2 {
        font-size: 24px !important;
    }

    .agency-article-content h3 {
        font-size: 20px !important;
    }

    .agency-inline-cta__text h2 {
        font-size: 22px !important;
    }
}


@media (max-width: 497px) {
	    .agency-article-card,.agency-widget {
        padding: 14px !important;
        border-radius: 14px !important;
    }
	
}