/* ============================================================
   RED MOON STUDIO — CSS PRINCIPAL
   Modifiable dans assets/css/main.css
   Variables dynamiques via Customizer dans functions.php
   ============================================================ */

/* ─── VARIABLES PAR DÉFAUT ─────────────────────────────────── */
:root {
    --color-primary:    #c8000a;
    --color-bg:         #080808;
    --color-dark:       #111111;
    --color-card:       #161616;
    --color-text:       #f5f2ee;

    /* Dérivées */
    --color-primary-glow: rgba(200, 0, 10, 0.18);
    --color-muted:        rgba(245, 242, 238, 0.45);
    --color-border:       rgba(255, 255, 255, 0.08);

    /* Typographie */
    --font-display: 'Bebas Neue', sans-serif;
    --font-serif:   'DM Serif Display', serif;
    --font-body:    'DM Sans', sans-serif;

    /* Espacements */
    --gutter:   5vw;
    --section-v: 8vw;
}

/* ─── RESET & BASE ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Texture grain subtile */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 200px;
    pointer-events: none;
    z-index: 9998;
    opacity: .5;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; transition: color .2s; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1;
    color: var(--color-text);
}

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ─── NAVIGATION ────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--gutter);
    background: rgba(8, 8, 8, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--color-border);
    transition: border-color .3s;
}

.site-header.scrolled {
    border-bottom-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

/* Logo wrap */
.site-logo-wrap {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 0;
}

/* Logo image WordPress (custom logo via Customizer) */
.site-logo-wrap .custom-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}
.site-logo-wrap .custom-logo-link img,
.site-logo-wrap .custom-logo {
    max-height: 52px;
    width: auto;
    display: block;
    /* Garde le logo visible sur fond sombre */
    filter: none;
}

/* Logo texte fallback */
.site-logo {
    font-family: var(--font-display);
    font-size: 1.7rem;
    letter-spacing: 0.08em;
    color: var(--color-text);
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
}
.site-logo span,
.site-logo .logo-accent { color: var(--color-primary); }

/* Menu principal */
.primary-nav { display: flex; align-items: center; gap: 1rem; }

.primary-nav .nav-list {
    display: flex;
    gap: 2.5rem;
}

.primary-nav .nav-list a {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-muted);
    transition: color .18s, background .18s;
    position: relative;
    padding: 7px 12px;
    border-radius: 0;
    font-weight: 400;
}
.primary-nav .nav-list a::after { display: none; }
/* Hover : fond rouge plein + texte blanc gras */
.primary-nav .nav-list a:hover {
    color: #ffffff;
    background: var(--color-primary);
    font-weight: 700;
}
/* Page active : même style */
.primary-nav .nav-list .current-menu-item > a,
.primary-nav .nav-list .current_page_item > a {
    color: #ffffff;
    background: var(--color-primary);
    font-weight: 700;
}

/* Bouton CTA nav */
.nav-cta {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.55rem 1.5rem;
    background: var(--color-primary);
    color: var(--color-text);
    transition: background .2s, transform .2s;
    margin-left: 1rem;
}
.nav-cta:hover { background: #e5000c; transform: translateY(-1px); color: #fff; }

/* Burger mobile — caché par défaut sur desktop */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
    z-index: 1100;
    position: relative;
    flex-shrink: 0;
}

/* Burger visible quand nav deborde — classe ajoutee par JS */
/* Burger actif sous 1024px — CSS pur, pas de JS requis */
@media (max-width: 1024px) {
    .nav-toggle { display: flex; }
    .primary-nav .nav-list,
    .primary-nav .nav-cta,
    .nav-cta { display: none; }
}
/* Compatibilité avec la classe JS si elle fonctionne */
.site-header.nav-collapsed .nav-toggle { display: flex; }
.site-header.nav-collapsed .primary-nav .nav-list,
.site-header.nav-collapsed .nav-cta { display: none; }
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all .3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Menu mobile — TOUJOURS caché sur desktop */
.mobile-nav {
    /* Accordeon slide-down */
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(8, 8, 8, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 1049;
    border-top: 1px solid var(--color-border);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    /* Visible seulement quand nav-collapsed */
    display: none;
    flex-direction: column;
}

/* Visible sous 1024px — CSS pur */
@media (max-width: 1024px) {
    .mobile-nav { display: flex; }
}
/* Compatibilité JS */
.site-header.nav-collapsed ~ .mobile-nav { display: flex; }

/* Ouvert */
.mobile-nav.open {
    /* max-height set by JS to scrollHeight */
}

/* Styles des liens dans .mobile-nav (menu WP génère un <ul>) */
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav ul li { margin: 0; padding: 0; }
.mobile-nav ul {
    padding: 0.5rem 0 1.5rem;
}
.mobile-nav ul li a,
.mobile-nav > a {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-muted);
    padding: 0.95rem var(--gutter, 5vw);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-decoration: none;
    transition: color .2s, background .2s, padding-left .2s;
}
.mobile-nav ul li:first-child a { border-top: 1px solid rgba(255,255,255,0.05); }
.mobile-nav ul li a:hover,
.mobile-nav > a:hover {
    color: var(--color-text);
    background: rgba(255,255,255,0.03);
    padding-left: calc(var(--gutter, 5vw) + 8px);
}
.mobile-nav .btn-primary {
    display: block;
    text-align: center;
    margin: 0.5rem var(--gutter, 5vw) 1.5rem;
    padding: 1rem;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* ─── HERO ──────────────────────────────────────────────────── */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 72px var(--gutter) 8vh;
    overflow: hidden;
    background-color: var(--color-bg);
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 60% 40%, rgba(150, 0, 8, 0.25) 0%, transparent 70%),
        linear-gradient(180deg, transparent 40%, var(--color-bg) 100%);
    z-index: 1;
}

.hero-waveform {
    position: absolute;
    top: 50%; left: 0; right: 0;
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0.1;
    pointer-events: none;
}
.hero-waveform svg { width: 100%; height: 180px; }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1.2rem;
    font-family: var(--font-body);
    font-weight: 400;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 10vw, 9rem);
    line-height: 0.92;
    letter-spacing: 0.02em;
    color: var(--color-text);
}
.hero-title .accent { color: var(--color-primary); }

.hero-description {
    margin-top: 2rem;
    max-width: 480px;
    font-size: 1rem;
    color: var(--color-muted);
    line-height: 1.7;
}

.hero-actions {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

/* ─── BOUTONS ───────────────────────────────────────────────── */
.btn {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.9rem 2.2rem;
    transition: all .2s;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-text);
    box-shadow: 0 0 30px var(--color-primary-glow);
}
.btn-primary:hover {
    background: #e5000c;
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(200, 0, 10, 0.35);
    color: #fff;
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-muted);
}
.btn-ghost:hover {
    border-color: var(--color-text);
    color: var(--color-text);
}

.btn-white {
    background: var(--color-text);
    color: var(--color-primary);
    font-weight: 500;
}
.btn-white:hover { background: #e0dcd7; }

/* ─── SECTION COMMONS ───────────────────────────────────────── */
.section-block {
    padding: var(--section-v) var(--gutter);
}

.section-block.bg-dark {
    background: var(--color-dark);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.section-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-family: var(--font-body);
    font-weight: 400;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1;
    letter-spacing: 0.03em;
    margin-bottom: 2rem;
}

/* ─── SERVICES — IMAGE DE FOND ───────────────────────────────── */
/* #services — voir section NOUVELLES FONCTIONNALITÉS */
.services-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.15;
}
#services > *:not(.services-bg-image) { position: relative; z-index: 1; }

/* ─── SLIDER PHOTOS À PROPOS ─────────────────────────────────── */
/* Slider — voir section NOUVELLES FONCTIONNALITÉS ci-dessous */

/* ─── FOOTER SOCIAL — VRAIS LOGOS SVG ───────────────────────── */
/* .footer-social — voir section NOUVELLES FONCTIONNALITÉS */

/* ─── SERVICES ──────────────────────────────────────────────── */
.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.services-intro {
    max-width: 340px;
    font-size: .9rem;
    color: var(--color-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--color-border);
}

.service-card {
    background: var(--color-card);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: background .3s;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}

.service-card:hover { background: #1a1a1a; }
.service-card:hover::before { transform: scaleX(1); }

.service-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: rgba(200, 0, 10, 0.12);
    line-height: 1;
    margin-bottom: 1rem;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.service-desc {
    font-size: 0.88rem;
    color: var(--color-muted);
    line-height: 1.8;
}

.service-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-primary);
    transition: letter-spacing .2s;
}
.service-link:hover { letter-spacing: 0.24em; }

/* ─── À PROPOS ──────────────────────────────────────────────── */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6vw;
    align-items: center;
}

.about-visual { position: relative; }

.about-img-frame {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-card);
}

.about-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Visualiseur par défaut si pas d'image */
.studio-visual-default {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a0a0a 100%);
    position: relative;
    overflow: hidden;
}
.studio-visual-default::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(200,0,10,0.18), transparent 70%);
}

.vu-meters {
    display: flex;
    gap: 6px;
    align-items: flex-end;
    height: 100px;
    position: relative;
    z-index: 1;
}
.vu-bar {
    width: 8px;
    background: linear-gradient(to top, var(--color-primary) 0%, #ff6600 65%, #ffcc00 85%, #00ff44 100%);
    border-radius: 2px;
    animation: vuAnim 1.5s ease-in-out infinite alternate;
}
.vu-bar:nth-child(1)  { height: 60%; animation-delay: 0s; }
.vu-bar:nth-child(2)  { height: 85%; animation-delay: .1s; }
.vu-bar:nth-child(3)  { height: 95%; animation-delay: .2s; }
.vu-bar:nth-child(4)  { height: 70%; animation-delay: .35s; }
.vu-bar:nth-child(5)  { height: 100%;animation-delay: .05s; }
.vu-bar:nth-child(6)  { height: 55%; animation-delay: .45s; }
.vu-bar:nth-child(7)  { height: 80%; animation-delay: .15s; }
.vu-bar:nth-child(8)  { height: 90%; animation-delay: .3s; }
.vu-bar:nth-child(9)  { height: 65%; animation-delay: .4s; }
.vu-bar:nth-child(10) { height: 75%; animation-delay: .25s; }
.vu-bar:nth-child(11) { height: 50%; animation-delay: .5s; }
.vu-bar:nth-child(12) { height: 88%; animation-delay: .08s; }

@keyframes vuAnim {
    from { transform: scaleY(0.3); }
    to   { transform: scaleY(1); }
}

.about-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 110px;
    height: 110px;
    background: var(--color-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.about-badge strong {
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1;
}
.about-badge span {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.85;
}

.about-text .section-title { margin-bottom: 1.5rem; }
.about-text p { font-size: 1rem; color: var(--color-muted); }
.about-text p strong { color: var(--color-text); font-weight: 500; }
.about-text .btn-ghost { margin-top: 1.5rem; }

/* ─── PROCESSUS ─────────────────────────────────────────────── */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 4rem;
    border: 1px solid var(--color-border);
}

.process-step {
    padding: 2.5rem 2rem;
    border-right: 1px solid var(--color-border);
}
.process-step:last-child { border-right: none; }

.step-num {
    font-family: var(--font-display);
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    margin-bottom: 1.2rem;
}

.step-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
    color: var(--color-text);
}

.step-desc {
    font-size: 0.85rem;
    color: var(--color-muted);
}

/* ─── TARIFS ─────────────────────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--color-border);
    margin-top: 4rem;
}

.price-card {
    background: var(--color-card);
    padding: 3rem 2.5rem;
}

.price-card.is-featured {
    background: var(--color-primary);
}
.price-card.is-featured .price-sub,
.price-card.is-featured .price-features li,
.price-card.is-featured .price-divider { color: rgba(255,255,255,0.75); }
.price-card.is-featured .price-divider { background: rgba(255,255,255,0.2); }

/* .price-tag — voir règle ci-dessous dans NOUVELLES FONCTIONNALITÉS */

.price-name {
    font-family: var(--font-display);
    font-size: 2.2rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 0.3rem;
    letter-spacing: 0.02em;
}

.price-sub {
    font-size: 0.8rem;
    color: var(--color-muted);
    margin-bottom: 2rem;
}

.price-divider {
    height: 1px;
    background: var(--color-border);
    margin: 1.5rem 0;
}

.price-features {
    margin-bottom: 2.5rem;
}
.price-features li {
    font-size: 0.85rem;
    color: var(--color-muted);
    padding: 0.45rem 0;
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
}
.price-features li::before {
    content: '→';
    color: var(--color-primary);
    flex-shrink: 0;
    font-size: 0.75rem;
    margin-top: 0.15rem;
}
.price-card.is-featured .price-features li::before { color: rgba(255,255,255,0.6); }
.price-card.is-featured .price-features li { color: rgba(255,255,255,0.85); }

/* ─── RÉFÉRENCES ─────────────────────────────────────────────── */
.ref-label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted);
    text-align: center;
    margin-bottom: 3rem;
}

.ref-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: var(--color-border);
}

.ref-item {
    background: var(--color-card);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.2);
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-align: center;
    transition: color .2s, background .2s;
}
.ref-item:hover { color: rgba(255,255,255,0.7); background: #1c1c1c; }
.ref-item img { max-height: 36px; width: auto; filter: brightness(0) invert(1); opacity: 0.25; transition: opacity .2s; }
.ref-item:hover img { opacity: 0.7; }

/* ─── CITATION ───────────────────────────────────────────────── */
.quote-section {
    text-align: center;
    padding: 10vw var(--gutter);
    position: relative;
    overflow: hidden;
}
.quote-section::before {
    content: '"';
    position: absolute;
    top: -0.1em;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-serif);
    font-size: 40vw;
    color: rgba(200, 0, 10, 0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.quote-text {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3.5vw, 2.8rem);
    font-style: italic;
    max-width: 820px;
    margin: 0 auto 2rem;
    line-height: 1.45;
    position: relative;
    z-index: 1;
}

.quote-author {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-primary);
    font-family: var(--font-body);
}

/* ─── BANDEAU CTA ────────────────────────────────────────────── */
.cta-band {
    background: var(--color-primary);
    padding: 5vw var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.cta-band-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 0.04em;
    color: #fff;
    margin: 0;
}

.cta-band-sub {
    font-size: 0.9rem;
    opacity: 0.85;
    color: #fff;
    margin-top: 0.4rem;
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    padding: 5vw var(--gutter) 2.5vw;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand-logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 0.08em;
    color: var(--color-text);
    display: block;
    margin-bottom: 1rem;
}
.footer-brand-logo span { color: var(--color-primary); }
.footer-brand-logo img { max-height: 52px; width: auto; }

.footer-brand p {
    font-size: 0.85rem;
    color: var(--color-muted);
    max-width: 260px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul a {
    font-size: 0.85rem;
    color: var(--color-muted);
    transition: color .2s;
}
.footer-col ul a:hover { color: var(--color-text); }

/* .footer-social (footer.php) — voir section NOUVELLES FONCTIONNALITÉS */

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom a { color: var(--color-primary); }

/* ─── BLOG / ARCHIVE ─────────────────────────────────────────── */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.post-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    transition: border-color .3s;
    overflow: hidden;
}
.post-card:hover { border-color: rgba(200,0,10,0.4); }

.post-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #1a1a1a;
}
.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.post-card:hover .post-card-image img { transform: scale(1.05); }

.post-card-body { padding: 1.5rem; }

.post-card-meta {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.8rem;
}

.post-card-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
    line-height: 1.3;
    color: var(--color-text);
}
.post-card-title a:hover { color: var(--color-primary); }

.post-card-excerpt {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-bottom: 1.2rem;
}

.post-card-link {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-primary);
    transition: letter-spacing .2s;
}
.post-card-link:hover { letter-spacing: 0.24em; }

/* Post single */
.entry-header { margin-bottom: 3rem; }
.entry-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.entry-meta {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.entry-content {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--color-muted);
    max-width: 760px;
}
.entry-content h2, .entry-content h3 { color: var(--color-text); margin: 2rem 0 1rem; font-family: var(--font-serif); font-size: 1.6rem; }
.entry-content p { margin-bottom: 1.5rem; }
.entry-content strong { color: var(--color-text); font-weight: 500; }
.entry-content a { color: var(--color-primary); text-decoration: underline; }
.entry-content blockquote {
    border-left: 3px solid var(--color-primary);
    padding-left: 1.5rem;
    font-style: italic;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin: 2rem 0;
    color: var(--color-text);
}

/* Pagination */
.pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 4rem;
}
.pagination a, .pagination span {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    font-size: 0.85rem;
    color: var(--color-muted);
    transition: all .2s;
}
.pagination a:hover, .pagination .current {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* ─── ANIMATIONS SCROLL ──────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ─── PLACEHOLDER IMAGE ──────────────────────────────────────── */
.redmoon-img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: linear-gradient(135deg, var(--color-card), #1a1a1a);
    position: relative;
    overflow: hidden;
}
.redmoon-img-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(200,0,10,0.08), transparent 70%);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: 1fr 1fr; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .process-step:nth-child(2) { border-right: none; }
    .process-step:nth-child(3),
    .process-step:nth-child(4) { border-top: 1px solid var(--color-border); }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .posts-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    :root { --gutter: 4vw; }

    .site-header { padding: 0 4vw; }
    .services-grid { grid-template-columns: 1fr; }
    .about-split { grid-template-columns: 1fr; gap: 3rem; }
    .pricing-grid { grid-template-columns: 1fr 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .posts-grid { grid-template-columns: 1fr 1fr; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .about-badge { bottom: 1rem; right: 1rem; }
    .cta-band { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    :root { --gutter: 6vw; --section-v: 12vw; }

    .hero-title { font-size: clamp(3.5rem, 14vw, 6rem); }

    .services-grid { grid-template-columns: 1fr; }
    .about-split { grid-template-columns: 1fr; }
    .about-badge { bottom: 1rem; right: 1rem; }
    .pricing-grid { grid-template-columns: 1fr; }
    .ref-grid { grid-template-columns: repeat(3, 1fr); }
    .cta-band { flex-direction: column; text-align: center; }
    .footer-top { grid-template-columns: 1fr; }
    .posts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .process-steps { grid-template-columns: 1fr; }
    .process-step { border-right: none; border-bottom: 1px solid var(--color-border); }
    .process-step:last-child { border-bottom: none; }
    .ref-grid { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   NOUVELLES FONCTIONNALITÉS
   ══════════════════════════════════════════════════════════════ */

/* ── PRIX TAG — plus de rouge par défaut ─────────────────────── */
.price-tag {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    font-weight: 400;
}
.price-card.is-featured .price-tag { color: rgba(255,255,255,0.6); }

/* ── SERVICES — IMAGE DE FOND ─────────────────────────────────── */
#services { position: relative; overflow: hidden; }
.services-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
}
#services .services-header,
#services .services-grid { position: relative; z-index: 1; }

/* ── SLIDER PHOTOS À PROPOS ───────────────────────────────────── */
.about-slider {
    position: relative;
    width: 100%; height: 100%;
    overflow: hidden;
    border-radius: 0;
}
.about-slider-track {
    display: flex;
    height: 100%;
    transition: transform .55s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}
.about-slide {
    min-width: 100%; height: 100%;
    flex-shrink: 0;
    overflow: hidden;
}
.about-slide img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
/* Flèches */
.slider-btn {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background .2s, border-color .2s;
    font-size: 18px;
    line-height: 1;
    padding: 0;
}
.slider-btn:hover { background: var(--color-primary); border-color: var(--color-primary); }
.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }
/* Points */
.slider-dots {
    position: absolute;
    bottom: 14px; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 6px;
    z-index: 10;
}
.slider-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none; padding: 0;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.slider-dot.active {
    background: var(--color-primary);
    transform: scale(1.4);
}

/* ── RÉSEAUX SOCIAUX — VRAIS LOGOS ───────────────────────────── */
.footer-social { display: flex; gap: 10px; margin-top: 1.5rem; flex-wrap: wrap; }
.footer-social a {
    width: 40px; height: 40px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: all .25s;
}
.footer-social a svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.footer-social a:hover { color: #fff; }
.footer-social a.soc-instagram:hover {
    background: radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285aeb 90%);
    border-color: transparent;
}
.footer-social a.soc-facebook:hover  { background: #1877f2; border-color: #1877f2; }
.footer-social a.soc-youtube:hover   { background: #ff0000; border-color: #ff0000; }
.footer-social a.soc-tiktok:hover    { background: #010101; border-color: #69c9d0; color: #69c9d0; }
.footer-social a.soc-twitter:hover   { background: #000; border-color: #fff; }

/* ── BOUTON PRESSE ────────────────────────────────────────────── */
.press-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: 1rem;
    transition: border-color .2s, color .2s;
}
.press-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
