:root {
    /* COLORS */
    --primary: #2563EB;
    --pink: #e8445a;
    --secondary: #06B6D4;
    --accent: #1E3A8A;
    --cyan: #67E8F9;
    --bg: #F0F9FF;
    --surface: rgba(255, 255, 255, .75);
    --surface-solid: #FFFFFF;
    --text: #0F172A;

/* Fonts */
    --font-titre: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Radius */
    --radius-xs: 3px;
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 12px;
    --radius-xl: 15px;

    /* Shadows */
    --shadow-xs:
        0 1px 2px rgba(15,23,42,.05);

    --shadow:
        0 8px 24px rgba(15,23,42,.08);

    --shadow-lg:
        0 20px 60px rgba(15,23,42,.12);

    --shadow-glow:
        0 0 32px rgba(37,99,235,.16);

    --blur: 18px;

    /* Transition */
    --transition:
        all .45s cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: -50%;
    background: radial-gradient(circle at 10% 20%, #5B5DF022, transparent 25%), radial-gradient(circle at 90% 10%, #FF4D8D22, transparent 25%), radial-gradient(circle at 70% 90%, #3DD9FF22, transparent 25%), radial-gradient(circle at 30% 80%, #8B5CF622, transparent 20%);
    animation: aurora 18s linear infinite;
    z-index: 1;
}

@keyframes aurora {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.2);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-title);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.1;
}

h1 {
    font-size: clamp(3rem, 6vw, 6rem);
}

h2 {
    font-size: clamp(2rem, 3vw, 3rem);
}

h3 {
    font-size: 2rem;
}

p {
    font-size: 1rem;
    line-height: 1.67;
    color: var(--text);
}

.card {
    background: var(--surface);
    backdrop-filter: blur(var(--blur));
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform:
        translateY(-14px) scale(1.02);
    box-shadow:
        var(--shadow-lg);
}

.btn {
    padding: 18px 34px;
    border-radius: 999px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg,
            var(--primary),
            var(--accent));
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary::before {
    content: "";
    position: absolute;
    left: -120%;
    top: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, .55),
            transparent);
    transition: 1s;
}

.btn-primary:hover::before {
    left: 140%;
}

.btn-primary:hover {
    transform:
        translateY(-8px) scale(1.04);
}

button.btn.btn-outline-dark.active-filter {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color);
}

section {
    padding:
        120px 0;
    position: relative;
}

.container {
    position: relative;
    z-index: 2;
}

.fade-up {
    opacity: 0;
    transform:
        translateY(80px);
    animation:
        fadeUp .9s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: none;
    }
}

.float {
    animation:
        floating 5s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #eef2ff;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,
            var(--primary),
            var(--accent));
    border-radius: 999px;
}

/*==============================================================
HEADER 2.0
==============================================================*/
.site-header {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: min(92%, 1400px);
    padding: 14px 26px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.60);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, .45);
    box-shadow: none;
    transition: .45s cubic-bezier(.22, 1, .36, 1);
    z-index: 9999;
}

.site-header.scrolled {
    top: 0;
    background: rgba(255, 255, 255, 0.40);
    padding: 10px 24px;
    box-shadow: none;
    transform: translateX(-50%) translateY(-4px);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    transition: .4s;
}

.navbar-brand img {
    height: 52px;
    transition: .5s;
}

.navbar-brand:hover img {
    transform:
        rotate(-6deg) scale(1.08);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-nav .nav-link {
    position: relative;
    padding: 14px 22px;
    font-weight: 700;
    font-size: .95rem;
    border-radius: 999px;
    color: var(--text);
    transition: .35s;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 3px;
    background:
        linear-gradient(90deg,
            var(--primary),
            var(--accent));
    border-radius: 999px;
    transform: translateX(-50%);
    transition: .35s;
}

.navbar-nav .nav-link:hover {
    color: var(--primary);
    transform: translateY(0px);
}

.navbar-nav .nav-link:hover::before {
    width: 60%;
}

.current-menu-item>a.nav-link {
    color: var(--primary);
}

li.btn.btn-primary a.nav-link {
    color: var(--surface-solid);
}
li.btn.btn-primary a.nav-link:hover::before {
    width: 0;
}

.dropdown-menu {
    margin-top: 18px;
    padding: 14px;
    border: none;
    border-radius: 24px;
    background:
        rgba(255, 255, 255, .9);
    backdrop-filter: blur(30px);
    box-shadow:
        0 30px 90px rgba(0, 0, 0, .12);
    animation:
        dropdown .35s;
}

@keyframes dropdown {
    from {
        opacity: 0;
        transform:
            translateY(20px) scale(.95);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.dropdown-item {
    padding: 14px 18px;
    border-radius: 14px;
    transition: .3s;
}

.dropdown-item:hover {
    padding-left: 28px;
}

.section-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.section-hero::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    background:
        radial-gradient(circle,
            rgba(91, 93, 240, .35),
            transparent 70%);
    top: -180px;
    left: -180px;
    filter: blur(80px);
    animation:
        blob1 14s infinite alternate;
}

.section-hero::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background:
        radial-gradient(circle,
            rgba(255, 77, 141, .30),
            transparent 70%);
    right: -120px;
    bottom: -120px;
    filter: blur(90px);
    animation:
        blob2 12s infinite alternate;
}

@keyframes blob1 {
    to {
        transform:
            translate(120px, 100px) scale(1.3);
    }
}

@keyframes blob2 {
    to {
        transform:
            translate(-150px, -120px) scale(1.25);
    }
}

.hero-titre {
    font-size:
        clamp(1.5rem, 9vw, 4.67rem);
    font-weight: 800;
    line-height: .95;
    letter-spacing: -.05em;
    max-width: -webkit-fill-available;
}

.hero-titre span {
    background:
        linear-gradient(135deg,
            var(--primary),
            var(--accent),
            var(--cyan));
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation:
        gradientText 8s linear infinite;
}

@keyframes gradientText {
    0% {
        background-position: 0%;
    }

    100% {
        background-position: 300%;
    }
}

.hero-description {
    font-size: 1.25rem;
    max-width: 650px;
    margin-top: 32px;
    line-height: 2;
    color: var(--text);
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: .5;
    animation: floating 8s infinite ease-in-out;
}

.hero-circle.one {
    width: 180px;
    height: 180px;
    background: #5B5DF0;
    top: 20%;
    right: 10%;
}

.hero-circle.two {
    width: 120px;
    height: 120px;
    background: #FF4D8D;
    bottom: 15%;
    left: 8%;
    animation-delay: 2s;
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    width: 34px;
    height: 60px;
    border-radius: 30px;
    border: 2px solid rgba(0, 0, 0, .2);
}

.scroll-indicator::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 0;
        transform:
            translate(-50%, 0);
    }

    70% {
        opacity: 1;
        transform:
            translate(-50%, 24px);
    }

    100% {
        opacity: 0;
        transform:
            translate(-50%, 34px);
    }
}

/*==============================================================
CARD 2.0
==============================================================*/
.card {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 30px;
    background:
        linear-gradient(160deg,
            rgba(255, 255, 255, .92),
            rgba(255, 255, 255, .65));
    backdrop-filter: blur(20px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, .08);
    transition:
        all .55s cubic-bezier(.22, 1, .36, 1);
}

.card:hover::before {
    transform: translateX(120%);
}

.card:hover {
    transform:
        translateY(-16px) rotateX(4deg) rotateY(-4deg);
    box-shadow:
        0 40px 120px rgba(0, 0, 0, .18);
}

.tarif {
    position: relative;
    padding: 50px;
    border-radius: 34px;
    background: white;
    overflow: hidden;
    transition: .5s;
}

.tarif::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background:
        radial-gradient(circle,
            rgba(91, 93, 240, .18),
            transparent);
    border-radius: 50%;
    transition: .5s;
}

.tarif:hover {
    transform:
        translateY(-18px);
}

.tarif:hover::before {
    transform:
        scale(2);
}

.tarif-prix {
    font-size: 4rem;
    font-weight: 800;
    font-family: var(--font-title);
    background:
        linear-gradient(135deg,
            var(--primary),
            var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tarif .btn {
    width: 100%;
    margin-top: 40px;
}

.step-item {
    position: relative;
    margin-bottom: 30px !important;
    padding: 70px;
    border-radius: 32px;
    background: white;
    transition: .45s;
    overflow: hidden;
}

.step-item:hover {
    transform:
        translateX(20px);
}

.step-number {
    font-size: 8rem;
    font-weight: 900;
    position: absolute;
    right: 40px;
    top: 25px;
    opacity: .05;
    line-height: 1;
    color: var(--primary);
    transition: .5s;
}

.step-item:hover .step-number {
    transform: scale(1.15);
    opacity: .10;
}

.aa-slider {
    border-radius: 34px;
    overflow: hidden;
    box-shadow:
        0 30px 90px rgba(0, 0, 0, .15);
    transition: .5s;
}

.aa-slider:hover {
    transform:
        scale(1.015);
}

.aa-handle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    box-shadow:
        0 15px 50px rgba(0, 0, 0, .25);
    border: none;
    transition: .4s;
}

.aa-handle:hover {
    transform:
        translate(-50%, -50%) scale(1.15);
}

.aa-label {
    padding:
        10px 18px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: .12em;
    backdrop-filter: blur(16px);
    /*background:*/
    /*    rgba(255, 255, 255, .75);*/
    /*color: #111;*/
}

.google-reviews-inner {
    padding: 30px 50px;
    border-radius: 30px;
    background:
        rgba(255, 255, 255, .75);
    backdrop-filter: blur(20px);
    box-shadow:
        0 25px 80px rgba(0, 0, 0, .08);
    transition: .5s;
}

.google-reviews-inner:hover {
    transform:
        translateY(-8px);
}

.score-stars svg {
    transition: .35s;
}

.google-reviews-inner:hover .score-stars svg {
    transform:
        rotate(-8deg) scale(1.2);
}

.cta-bloc {
    position: relative;
    padding: 90px;
    border-radius: 40px;
    overflow: hidden;
    background:
        linear-gradient(135deg,
            var(--primary),
            var(--secondary),
            var(--accent));
    color: white;
    box-shadow:
        0 50px 120px rgba(91, 93, 240, .30);
}

.cta-bloc::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    background:
        radial-gradient(circle,
            rgba(255, 255, 255, .25),
            transparent);
    right: -120px;
    top: -120px;
    animation:
        floating 8s infinite;
}

.cta-bloc .btn {
    background: white;
    color: var(--primary);
    font-weight: 800;
}

.cta-bloc .btn:hover {
    background: #111;
    color: white;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .25;
    pointer-events: none;
    animation: floating 10s ease-in-out infinite;
}

.bg-shape.one {
    width: 300px;
    height: 300px;
    background: #5B5DF0;
    top: 10%;
    left: -100px;
}

.bg-shape.two {
    width: 220px;
    height: 220px;
    background: #FF4D8D;
    right: -60px;
    bottom: 20%;
    animation-delay: 2s;
}

.bg-shape.three {
    width: 260px;
    height: 260px;
    background: #3DD9FF;
    left: 45%;
    bottom: -120px;
    animation-delay: 4s;
}

/*==============================================================
CONTACT FORM 2.0
==============================================================*/
.wpcf7-form {
    display: grid;
    gap: 24px;
}

.wpcf7-form label {
    font-weight: 700;
    color: var(--text);
}

.wpcf7-form-control {
    width: 100%;
    padding: 18px 22px;
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, .75);
    backdrop-filter: blur(20px);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .4),
        0 10px 30px rgba(0, 0, 0, .05);
    transition: .35s;
    font-size: 1rem;
}

.wpcf7-form-control:focus {
    outline: none;
    transform: translateY(-3px);
    box-shadow:
        0 0 0 4px rgba(91, 93, 240, .15),
        0 20px 50px rgba(91, 93, 240, .15);
}

.wpcf7-submit {
    background:
        linear-gradient(135deg,
            var(--primary),
            var(--accent));
    color: white;
    font-weight: 800;
    padding: 20px 40px;
    border-radius: 999px;
    cursor: pointer;
    transition: .45s;
}

.wpcf7-submit:hover {
    transform:
        translateY(-6px) scale(1.04);
    box-shadow:
        0 25px 60px rgba(91, 93, 240, .30);
}

@media (max-width: 767px) {
    .projets-grille {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 1rem;
        padding-inline: .75rem;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .projets-grille::-webkit-scrollbar {
        display: none;
    }

    .projets-grille > .projet-carte {
        flex: 0 0 66%;
        max-width: 66%;
        padding-bottom: 0 !important;
        scroll-snap-align: start;
    }
    .projets-filtres .btn {
        padding: 10px;
    }
    .projets-filtres {
        display: flex;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overflow-y: hidden;
        gap: .5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        padding-bottom: .25rem;
    }

    .projets-filtres::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .projets-filtres .btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

.projet-capture {
    border-radius: 26px;
    overflow: hidden;
    transition: .6s;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, .08);
}

.projet-capture:hover {
    transform:
        translateY(-14px) scale(1.03);
}

.projet-capture img {
    transition: 1.2s;
}

.projet-capture:hover img {
    transform:
        scale(1.12);
}

.site-footer {
    position: relative;
    overflow: hidden;
    padding: 120px 0 50px;
    background:
        linear-gradient(180deg,
            #0d1025,
            #161b38,
            #1f2560);
    color: white;
}

.site-footer::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background:
        radial-gradient(circle,
            rgba(91, 93, 240, .22),
            transparent);
    top: -350px;
    left: -200px;
    filter: blur(80px);
    animation: floating 12s infinite;
}

.site-footer::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background:
        radial-gradient(circle,
            rgba(255, 77, 141, .18),
            transparent);
    bottom: -250px;
    right: -100px;
    filter: blur(80px);
    animation: floating 10s infinite;
    animation-delay: 2s;
}

.site-footer a {
    position: relative;
    color: white;
    transition: .35s;
    text-decoration: none;
}

.site-footer a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: .35s;
}

.site-footer a:hover {
    color: white;
}

.site-footer a:hover::after {
    width: 100%;
}

.site-footer a {
    position: relative;
    color: white;
    transition: .35s;
    text-decoration: none;
}

.site-footer a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: .35s;
}

.site-footer a:hover {
    color: white;
}

.site-footer a:hover::after {
    width: 100%;
}

.social-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    transition: .45s;
}

.social-icon:hover {
    transform:
        translateY(-8px) rotate(8deg);
    background:
        linear-gradient(135deg,
            var(--primary),
            var(--accent));
}

img {
    transition: .7s;
}

img:not(.custom-logo):hover {
    filter: contrast(1.08) saturate(1.08);
}

/* Image sidebar dans le héro projet
   Légèrement surélevée et inclinée pour donner un effet de profondeur */
.projet-sidebar-img {
    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
    transition: transform .4s ease;
    box-shadow: 0 32px 64px rgba(0, 0, 0, .3);
}

.projet-sidebar-img:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

/* Logos clients */
.clients-logo {
    filter: grayscale(100%);
    opacity: .55;
    transition: filter .25s ease, opacity .25s ease;
    max-height: 60px;
    object-fit: contain;
}

.clients-logo:hover {
    filter: none;
    opacity: 1;
}

.section-titre {
    position: relative;
    display: inline-block;
}

.reveal {
    opacity: 0;
    transform:
        translateY(60px);
    transition:
        1s cubic-bezier(.22, 1, .36, 1);
}

.reveal.active {
    opacity: 1;
    transform: none;
}

.pulse {
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.gradient-ball {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .35;
    pointer-events: none;
    animation: floating 9s ease-in-out infinite;
}

.gradient-ball.primary {
    background: #5B5DF0;
    width: 240px;
    height: 240px;
}

.gradient-ball.pink {
    background: #FF4D8D;
    width: 180px;
    height: 180px;
}

.gradient-ball.cyan {
    background: #3DD9FF;
    width: 220px;
    height: 220px;
}

@media(max-width:991px) {
    .site-header {
        width: 95%;
        top: 10px;
        border-radius: 24px;
    }

    .hero-titre {
        font-size: clamp(1rem, 9vw, 4.5rem);
    }

    .hero-actions {
        flex-direction: column;
    }

    .card {
        border-radius: 24px;
    }

    section {
        padding: 90px 0;
    }
}

* {
    transition:
        background-color .35s,
        color .35s,
        border-color .35s,
        box-shadow .45s,
        transform .45s;
}

::selection {
    background: var(--primary);
    color: white;
}

html {
    scroll-padding-top: 120px;
}

.faq h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem !important;
}

.faq-item {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 18px;
    margin-bottom: 1rem !important;
    overflow: hidden;
    transition: all .3s ease;
}

.faq-item:hover {
    border-color: #d6d6d6;
    box-shadow: 0 12px 32px rgba(0,0,0,.06);
    transform: translateY(-2px);
}

.faq-item[open] {
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.5rem 4rem 1.5rem 1.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    transition: color .25s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    color: #111;
}

.faq-item summary::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1.75rem;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    transition: transform .3s ease;
}

.faq-item[open] summary::after {
    transform: translateY(-35%) rotate(225deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s ease;
    padding: 1rem 3rem;
    transition: all .3s ease;
    overflow: hidden;
    transition: height .35s cubic-bezier(.4,0,.2,1);
}

.faq-item[open] .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer > * {
    overflow: hidden;
}

.faq-answer-content {
    padding: 0 1.75rem 1.75rem;
    color: #666;
    line-height: 1.8;
}

.faq-answer-content p:first-child {
    margin-top: 0;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.post-hero {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.post-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.75);
}

.post-hero .container {
    position: relative;
    z-index: 2;
}

.post-hero h1 {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.post h2 {
    margin-bottom: 1rem !important;
}

.post h3 {
    margin-bottom: 1rem !important;
}

.post-content {
    font-size: 1.125rem;
    line-height: 1.8;
}

.post-content img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 992px) {
    .post-hero {
        min-height: 45vh;
    }

    .post-hero h1 {
        font-size: 2rem;
    }
}

/* ═══════════════════════════════════════════════════════════
   BLOG — archive.php
   Utilise les variables du thème (--php-primaire, --php-accent,
   --php-rayon, --font-titre, --font-corps…).
   ═══════════════════════════════════════════════════════════ */

/* ── Carte ───────────────────────────────────────────────── */
.blog-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--php-rayon);
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
    box-shadow: var(--php-ombre);
    transition: transform .3s cubic-bezier(.16, 1, .3, 1),
                box-shadow .3s ease;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
}

/* Image */
.blog-card__image-wrap {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
    background: var(--php-secondaire);
}

.blog-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.blog-card:hover .blog-card__img {
    transform: scale(1.04);
}

.blog-card__img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #EEF1FA, #FCE7EA);
}

/* Corps */
.blog-card__body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Catégorie */
.blog-card__cat {
    font-size: .72rem;
    color: var(--php-primaire);
    text-decoration: none;
    margin-bottom: .6rem;
    display: inline-block;
    transition: color .2s;
}

.blog-card__cat:hover {
    color: var(--php-accent, #e8445a);
}

/* Titre */
.blog-card__titre {
    font-family: var(--font-titre);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 .75rem;
    letter-spacing: -.01em;
}

.blog-card__titre a {
    color: var(--php-texte);
    text-decoration: none;
}

.blog-card__titre a:hover {
    color: var(--php-primaire);
}

/* Extrait */
.blog-card__extrait {
    font-size: .875rem;
    line-height: 1.7;
    color: var(--php-muet);
    flex-grow: 1;
    margin-bottom: 1rem;
}

/* Méta (auteur, date, temps de lecture) */
.blog-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .35rem .5rem;
    font-size: .75rem;
    color: var(--php-muet);
    border-top: 1px solid rgba(0, 0, 0, .06);
    padding-top: .85rem;
    margin-top: auto;
}

.blog-card__auteur {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 500;
    color: var(--php-texte);
}

.blog-card__avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--php-primaire);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.blog-card__sep {
    color: rgba(0, 0, 0, .2);
}

/* ── Pagination ──────────────────────────────────────────── */
.blog-pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    flex-wrap: wrap;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 .6rem;
    border-radius: var(--php-rayon);
    border: 1px solid rgba(0, 0, 0, .12);
    font-size: .85rem;
    color: var(--php-texte);
    text-decoration: none;
    transition: background .15s, color .15s, border-color .15s;
}

.blog-pagination .page-numbers:hover {
    background: var(--php-secondaire);
    border-color: var(--php-primaire);
    color: var(--php-primaire);
}

.blog-pagination .page-numbers.current {
    background: var(--php-primaire);
    border-color: var(--php-primaire);
    color: #fff;
    font-weight: 600;
}

.blog-pagination .page-numbers.dots {
    border: none;
    background: none;
    pointer-events: none;
}