/* ==============================================
   LAYOUT UTILITIES
=============================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container--narrow {
    max-width: 860px;
}

.section {
    padding-block: clamp(4rem, 8vw, 7rem);
}

.section--grey {
    background: var(--grey-light);
}

/* ==============================================
   TYPOGRAPHY
=============================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--charcoal);
}

.section__eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.75rem;
}

.section__title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    margin-bottom: 0;
}

.section__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.section__header--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ==============================================
   BUTTONS
=============================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition),
                border-color var(--transition), transform var(--transition),
                box-shadow var(--transition);
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
    background: var(--green);
    color: var(--white);
    border: 2px solid var(--green);
}
.btn--primary:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    box-shadow: 0 6px 20px rgba(91,189,46,0.3);
}

.btn--secondary {
    background: transparent;
    color: var(--charcoal);
    border: 2px solid var(--border);
}
.btn--secondary:hover {
    border-color: var(--charcoal);
    background: var(--charcoal);
    color: var(--white);
}

.btn--outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.6);
}
.btn--outline-white:hover {
    background: var(--white);
    color: var(--charcoal);
    border-color: var(--white);
}

.btn--white {
    background: var(--white);
    color: var(--charcoal);
    border: 2px solid var(--white);
}
.btn--white:hover {
    background: transparent;
    color: var(--white);
}

.btn--lg {
    padding: 1.1rem 2.25rem;
    font-size: 0.9375rem;
}

.btn--block {
    width: 100%;
    justify-content: center;
}

/* ==============================================
   HEADER
=============================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
    border-color: var(--border);
    box-shadow: var(--shadow);
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    height: 72px;
}

.header__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.header__logo img {
    height: 44px;
    width: auto;
}

.header__logo-text {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--charcoal);
    letter-spacing: -0.02em;
}

.header__nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav__list a {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--charcoal-mid);
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
    position: relative;
}

.nav__list a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0.875rem;
    right: 0.875rem;
    height: 2px;
    background: var(--green);
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}

.nav__list a:hover,
.nav__list .current-menu-item a {
    color: var(--charcoal);
}

.nav__list a:hover::after,
.nav__list .current-menu-item a::after {
    transform: scaleX(1);
}

.header__cta {
    flex-shrink: 0;
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
}

/* Burger */
.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
}

.header__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.header__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem var(--gutter) 2rem;
    box-shadow: var(--shadow-lg);
}

.mobile-nav.is-open { display: block; }

.mobile-nav__list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 1.5rem;
}

.mobile-nav__list li a {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal);
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border);
    transition: color var(--transition);
}

.mobile-nav__list li a:hover { color: var(--green); }

.mobile-nav__cta { width: 100%; justify-content: center; }

/* ==============================================
   HERO
=============================================== */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 72px;
}

.hero__bg {
    position: absolute;
    inset: 0;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.45) 55%,
        rgba(0,0,0,0.2) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    padding-block: 6rem;
    max-width: 680px;
}

.hero__eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 1.25rem;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero__title em {
    font-style: normal;
    color: var(--green);
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.85);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 520px;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-weight: 600;
    z-index: 1;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.4);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(0.6); }
}

/* ==============================================
   STATS
=============================================== */
.stats {
    background: var(--charcoal);
    padding-block: 3rem;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: center;
    gap: 0;
}

.stats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 1.5rem;
    grid-column: span 1;
}

.stats__number {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stats__number span {
    color: var(--green);
}

.stats__label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--font-heading);
}

.stats__divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.12);
}

/* ==============================================
   RÉFÉRENCES
=============================================== */
.references__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 2.5rem;
}

.references__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 2rem 1.5rem;
    background: var(--white);
    text-align: center;
    transition: background var(--transition);
}

.references__item:hover {
    background: var(--grey-light);
}

.references__name {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--charcoal);
}

.references__detail {
    font-size: 0.75rem;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--font-heading);
    font-weight: 500;
}

/* ==============================================
   PROJET CARDS
=============================================== */
.projets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.projets-grid--archive {
    grid-template-columns: repeat(3, 1fr);
}

.projets-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.projet-card {
    border-radius: calc(var(--radius) * 2);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.projet-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.projet-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.projet-card__img-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.projet-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.projet-card:hover .projet-card__img {
    transform: scale(1.04);
}

.projet-card__img--placeholder {
    background: linear-gradient(135deg, var(--grey-light) 0%, var(--border) 100%);
}

.projet-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--green);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 2px;
}

.projet-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.projet-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.3;
}

.projet-card__meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.8125rem;
    color: var(--grey);
    font-family: var(--font-heading);
    font-weight: 500;
}

.projet-card__meta span + span::before {
    content: '·';
    margin-right: 0.75rem;
}

.projet-card__excerpt {
    font-size: 0.875rem;
    color: var(--grey);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.projet-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--green);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 0.5rem;
    transition: gap var(--transition);
}

.projet-card:hover .projet-card__cta {
    gap: 0.7rem;
}

/* ==============================================
   FILTERS
=============================================== */
.filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.filter-btn {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.5rem 1.25rem;
    border-radius: 2px;
    border: 1.5px solid var(--border);
    color: var(--grey);
    background: var(--white);
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover {
    border-color: var(--charcoal);
    color: var(--charcoal);
}

.filter-btn--active {
    background: var(--charcoal);
    border-color: var(--charcoal);
    color: var(--white);
}

.projet-card.is-hidden {
    display: none;
}

/* ==============================================
   À PROPOS (homepage)
=============================================== */
.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}

.about__content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about__text {
    font-size: 1.0625rem;
    color: var(--charcoal-mid);
    line-height: 1.75;
}

.about__values {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about__values li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--charcoal);
}

.about__value-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
}

.about__image {
    position: relative;
    border-radius: calc(var(--radius) * 2);
    overflow: visible;
}

.about__image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: calc(var(--radius) * 2);
    box-shadow: var(--shadow-lg);
}

.about__badge {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: var(--green);
    color: var(--white);
    padding: 1.25rem 1.75rem;
    border-radius: calc(var(--radius) * 2);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about__badge strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.about__badge span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.9;
}

/* ==============================================
   CTA SECTION
=============================================== */
.cta-section {
    background: var(--charcoal);
    padding-block: clamp(4rem, 7vw, 6rem);
}

.cta-section__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.cta-section__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--white);
    margin-bottom: 0.75rem;
}

.cta-section__text {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    max-width: 520px;
}

.cta-section__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.cta-section__tel {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    transition: color var(--transition);
}

.cta-section__tel:hover {
    color: var(--white);
}

/* ==============================================
   PAGE HERO
=============================================== */
.page-hero {
    background: var(--charcoal);
    padding-top: calc(72px + 4rem);
    padding-bottom: 4rem;
}

.page-hero--sm {
    padding-top: calc(72px + 2.5rem);
    padding-bottom: 2.5rem;
}

.page-hero__title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--white);
    margin-bottom: 0;
}

.page-hero__subtitle {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.7);
    margin-top: 1rem;
    max-width: 580px;
    line-height: 1.7;
}

/* ==============================================
   SINGLE PROJET
=============================================== */
.projet-hero {
    position: relative;
    height: 55vh;
    min-height: 360px;
    overflow: hidden;
}

.projet-hero__img-wrap {
    position: absolute;
    inset: 0;
}

.projet-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.projet-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%);
}

.projet-hero__content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 2.5rem;
    padding-top: calc(72px + 1rem);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.65);
    font-family: var(--font-heading);
    font-weight: 500;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255,255,255,0.65);
    transition: color var(--transition);
}

.breadcrumb a:hover { color: var(--white); }

.projet-hero__badge {
    display: inline-block;
    background: var(--green);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.3rem 0.875rem;
    border-radius: 2px;
    margin-bottom: 0.75rem;
}

.projet-hero__title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    color: var(--white);
}

/* Layout single */
.projet-single__layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
}

.projet-single__section-title {
    font-size: 1.375rem;
    margin-bottom: 1.25rem;
}

.entry-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--charcoal-mid);
}

.entry-content p { margin-bottom: 1.25rem; }
.entry-content p:last-child { margin-bottom: 0; }
.entry-content h2, .entry-content h3 { margin: 2rem 0 1rem; }

/* Galerie projet */
.projet-gallery {
    margin-bottom: 3rem;
    border-radius: calc(var(--radius) * 2);
    overflow: hidden;
}

.projet-gallery__main {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--grey-light);
    overflow: hidden;
}

.projet-gallery__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.projet-gallery__slide--active {
    opacity: 1;
}

.projet-gallery__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.projet-gallery__thumbs {
    display: flex;
    gap: 4px;
    margin-top: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.projet-gallery__thumbs::-webkit-scrollbar { display: none; }

.projet-gallery__thumb {
    flex-shrink: 0;
    width: 88px;
    height: 64px;
    border-radius: var(--radius);
    overflow: hidden;
    opacity: 0.55;
    transition: opacity var(--transition);
    border: 2px solid transparent;
    padding: 0;
}

.projet-gallery__thumb:hover,
.projet-gallery__thumb--active {
    opacity: 1;
    border-color: var(--green);
}

.projet-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fiche projet sidebar */
.projet-fiche {
    background: var(--grey-light);
    border-radius: calc(var(--radius) * 2);
    padding: 2rem;
    position: sticky;
    top: calc(72px + 1.5rem);
}

.projet-fiche__title {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--green);
}

.projet-fiche__list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 2rem;
}

.projet-fiche__item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.projet-fiche__item dt {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--grey);
    flex-shrink: 0;
}

.projet-fiche__item dd {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--charcoal);
    text-align: right;
}

/* ==============================================
   FOOTER
=============================================== */
.site-footer {
    background: var(--charcoal);
    padding-top: clamp(3rem, 6vw, 5rem);
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 1.25rem;
}

.footer__logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    display: block;
    margin-bottom: 1.25rem;
}

.footer__tagline {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

.footer__nav-title {
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1.25rem;
}

.footer__nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer__nav-list a {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.65);
    transition: color var(--transition);
}

.footer__nav-list a:hover {
    color: var(--green);
}

.footer__address {
    font-style: normal;
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.footer__tel,
.footer__email {
    display: block;
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 0.375rem;
    transition: color var(--transition);
}

.footer__tel:hover,
.footer__email:hover {
    color: var(--green);
}

.footer__bottom {
    padding-block: 1.25rem;
}

.footer__bottom p {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.3);
    text-align: center;
}

/* ==============================================
   PAGINATION
=============================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding-inline: 0.75rem;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    color: var(--charcoal-mid);
    transition: all var(--transition);
}

.pagination .page-numbers:hover {
    border-color: var(--charcoal);
    color: var(--charcoal);
    background: var(--grey-light);
}

.pagination .page-numbers.current {
    background: var(--charcoal);
    border-color: var(--charcoal);
    color: var(--white);
}

/* ==============================================
   MISC
=============================================== */
.no-content {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--grey);
    font-size: 1.0625rem;
}

.post-item {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.post-item h2 a { color: var(--charcoal); }
.post-item h2 a:hover { color: var(--green); }
.post-item__meta { font-size: 0.875rem; color: var(--grey); margin-block: 0.5rem; }

/* ==============================================
   ANIMATIONS
=============================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate-delay="1"] { transition-delay: 0.1s; }
[data-animate-delay="2"] { transition-delay: 0.2s; }
[data-animate-delay="3"] { transition-delay: 0.3s; }
[data-animate-delay="4"] { transition-delay: 0.4s; }

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

    .about__inner {
        grid-template-columns: 1fr;
    }

    .about__image {
        order: -1;
    }

    .about__badge {
        bottom: -1rem;
        left: 1rem;
    }

    .projet-single__layout {
        grid-template-columns: 1fr;
    }

    .projet-fiche {
        position: static;
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer__brand {
        grid-column: span 2;
    }

    .stats__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .stats__divider { display: none; }
    .stats__item { grid-column: span 1; }
}

@media (max-width: 768px) {
    .header__nav,
    .header__cta {
        display: none;
    }

    .header__burger {
        display: flex;
    }

    .projets-grid,
    .projets-grid--archive,
    .projets-grid--3 {
        grid-template-columns: 1fr;
    }

    .cta-section__inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-section__actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-section__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .footer__inner {
        grid-template-columns: 1fr;
    }

    .footer__brand {
        grid-column: span 1;
    }

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

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

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

    .section__header {
        flex-direction: column;
        align-items: flex-start;
    }
}

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

    .references__list {
        grid-template-columns: 1fr 1fr;
    }

    .filters {
        gap: 0.375rem;
    }
}
