/*
Theme Name: BCDP Agency
Theme URI: https://bcdp.fr
Author: BCDP - Bousseau, Chiron, Delaunay, Pineau
Author URI: https://bcdp.fr
Description: Thème WordPress brutaliste/éditorial pour l'agence de communication BCDP
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bcdp-theme
Tags: custom-menu, custom-logo, featured-images, theme-options
*/

/* ========================================
   BCDP Theme - Style Brutaliste/Éditorial Clair
   Typographie forte, contrastes, asymétrie
======================================== */

:root {
    --color-bg: #fafafa;
    --color-bg-alt: #f0f0f0;
    --color-text: #0a0a0a;
    --color-accent: #ff3c00;
    --color-muted: #666;
    --color-border: #ddd;
    --font-display: 'Bebas Neue', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-mono);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 14px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   NAVIGATION
======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 0.1em;
    color: var(--color-text);
}

.nav-logo a {
    color: inherit;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
}

.nav-menu li a {
    position: relative;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li.current-menu-item a::after {
    width: 100%;
}

.nav-menu li.current-menu-item a {
    color: var(--color-accent);
}

.nav-cta {
    padding: 0.75rem 1.5rem;
    background: var(--color-accent);
    color: var(--color-bg);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: transform 0.2s ease;
    border: none;
}

.nav-cta:hover {
    transform: scale(1.05);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
}

/* ========================================
   SECTIONS COMMUNES
======================================== */
section {
    position: relative;
    padding: 8rem 3rem;
    border-bottom: 1px solid var(--color-border);
}

.section-marker {
    position: absolute;
    top: 3rem;
    right: 3rem;
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--color-border);
    line-height: 1;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
    color: var(--color-text);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

/* ========================================
   HERO (Page d'accueil)
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 3rem 3rem;
    position: relative;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg);
}

.hero-content {
    max-width: 1000px;
}

.hero-overline {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--color-muted);
    margin-bottom: 2rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 10rem);
    line-height: 0.9;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    color: var(--color-accent);
    -webkit-text-stroke: 2px var(--color-accent);
    -webkit-text-fill-color: transparent;
}

.hero-description {
    max-width: 450px;
    color: var(--color-muted);
    font-size: 1rem;
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--color-muted);
}

.hero-scroll-line {
    width: 60px;
    height: 1px;
    background: var(--color-border);
    position: relative;
    overflow: hidden;
}

.hero-scroll-line::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.hero-names {
    position: absolute;
    right: 3rem;
    bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-muted);
}

/* ========================================
   À PROPOS
======================================== */
.about {
    background: var(--color-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    max-width: 1400px;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--color-accent);
    line-height: 1;
}

.stat-label {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--color-muted);
    margin-top: 0.5rem;
}

.about-text {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.service-tag {
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border);
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    background: var(--color-bg);
}

.service-tag:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* ========================================
   PORTFOLIO - CARROUSEL
======================================== */
.portfolio {
    background: var(--color-bg-alt);
    overflow: hidden;
}

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

.portfolio-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    font-family: var(--font-mono);
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
}

.portfolio-nav {
    display: flex;
    gap: 1rem;
}

.portfolio-nav-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.portfolio-nav-btn:hover {
    background: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
}

.portfolio-carousel-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0 -3rem;
    padding: 0 3rem;
}

.portfolio-carousel {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
    cursor: grab;
}

.portfolio-carousel:active {
    cursor: grabbing;
}

.portfolio-carousel.dragging {
    transition: none;
}

.project {
    flex: 0 0 400px;
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
    background: var(--color-bg);
}

.project-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0 0%, #d0d0d0 100%);
    transition: transform 0.6s ease;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project:hover .project-image {
    transform: scale(1.05);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(255,255,255,0.95), transparent);
}

.project-category {
    display: block;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.project-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: var(--color-text);
}

/* POPUP PORTFOLIO */
.portfolio-popup {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.portfolio-popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.popup-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1100px;
    max-height: 90vh;
    width: 90%;
    background: var(--color-bg);
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

.portfolio-popup.active .popup-content {
    transform: translateY(0);
}

.popup-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: white;
    color: var(--color-text);
}

.popup-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height:100%
}

.popup-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.popup-details {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popup-category {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.popup-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.popup-description {
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.popup-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.popup-tag {
    padding: 0.35rem 0.75rem;
    background: var(--color-bg-alt);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.popup-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--color-accent);
    color: var(--color-bg);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.popup-link:hover {
    transform: translateX(5px);
}

.popup-link svg {
    width: 16px;
    height: 16px;
}

.portfolio-cta {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid var(--color-text);
    text-transform: uppercase;
    margin-top: 3rem;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
}

.portfolio-cta:hover {
    background: var(--color-text);
    color: var(--color-bg);
}

/* ========================================
   PROJECT WIZARD
======================================== */
.project-wizard {
    max-width: 700px;
    margin: 0 auto;
}

.wizard-progress {
    margin-bottom: 3rem;
    position: relative;
}

.wizard-progress-bar {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-border);
    transform: translateY(-50%);
    z-index: 0;
}

.wizard-progress-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--progress, 0%);
    background: var(--color-accent);
    transition: width 0.4s ease;
}

.wizard-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.wizard-step {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-muted);
    transition: all 0.3s ease;
}

.wizard-step.active {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.wizard-step.completed {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg);
}

.wizard-panel {
    display: none;
    animation: wizardFadeIn 0.4s ease;
}

.wizard-panel.active {
    display: block;
}

@keyframes wizardFadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.wizard-label {
    display: block;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--color-muted);
    margin-bottom: 0.75rem;
}

.wizard-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    line-height: 1.2;
}

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

.wizard-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.wizard-option {
    cursor: pointer;
}

.wizard-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wizard-option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    transition: all 0.3s ease;
    text-align: center;
}

.wizard-option:hover .wizard-option-content {
    border-color: var(--color-text);
}

.wizard-option input:checked + .wizard-option-content {
    border-color: var(--color-accent);
    background: rgba(0, 0, 0, 0.02);
}

.wizard-option-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.75rem;
}

.wizard-option-icon svg {
    width: 100%;
    height: 100%;
}

.wizard-option-preview {
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.wizard-option-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Colors options */
.wizard-options-colors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.wizard-color-palette {
    display: flex;
    gap: 4px;
    margin-bottom: 0.75rem;
}

.wizard-color-palette span {
    width: 24px;
    height: 24px;
}

.wizard-custom-colors {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
}

.wizard-custom-colors-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: var(--color-muted);
}

.wizard-color-pickers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.wizard-color-picker label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    color: var(--color-muted);
}

.color-picker-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
}

.color-input {
    width: 50px;
    height: 40px;
    padding: 0;
    border: none;
    cursor: pointer;
    background: none;
}

.color-input::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-input::-webkit-color-swatch {
    border: 1px solid var(--color-border);
}

.color-value {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--color-text);
}

/* Fonts options */
.wizard-options-fonts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.wizard-font-preview {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

/* Font selection Google Fonts */
.wizard-font-selection {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
}

.wizard-font-selection-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: var(--color-muted);
}

.wizard-font-selectors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.wizard-font-selector label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    color: var(--color-muted);
}

.font-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.font-select:focus {
    outline: none;
    border-color: var(--color-text);
}

.font-preview-text {
    margin-top: 0.75rem;
    padding: 1rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    font-size: 1.1rem;
    min-height: 50px;
    display: flex;
    align-items: center;
}

#heading-preview {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Range slider */
.wizard-range-group {
    margin-bottom: 2.5rem;
}

.wizard-range-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--color-muted);
}

.wizard-range-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.wizard-range {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: var(--color-border);
    outline: none;
}

.wizard-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--color-accent);
    cursor: pointer;
}

.wizard-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--color-accent);
    cursor: pointer;
    border: none;
}

.wizard-range-value {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    min-width: 80px;
}

/* Modules checkboxes */
.wizard-modules {
    margin-top: 1rem;
}

.wizard-modules-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--color-muted);
}

.wizard-modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.wizard-module {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
}

.wizard-module:hover {
    border-color: var(--color-text);
}

.wizard-module input {
    accent-color: var(--color-accent);
}

.wizard-module input:checked + span {
    color: var(--color-accent);
}

/* Contact form in wizard */
.wizard-contact-form {
    display: grid;
    gap: 1.5rem;
}

.wizard-contact-form .form-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    color: var(--color-muted);
}

.wizard-contact-form .form-group input,
.wizard-contact-form .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--color-border);
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--color-bg);
    transition: border-color 0.3s ease;
}

.wizard-contact-form .form-group input:focus,
.wizard-contact-form .form-group textarea:focus {
    outline: none;
    border-color: var(--color-text);
}

/* Navigation */
.wizard-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.wizard-btn {
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-text);
}

.wizard-btn:hover:not(:disabled) {
    border-color: var(--color-text);
}

.wizard-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.wizard-btn-next,
.wizard-btn-submit {
    background: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
}

.wizard-btn-next:hover,
.wizard-btn-submit:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

@keyframes wizardShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-8px); }
    40%, 80% { transform: translateX(8px); }
}

.wizard-panel.shake {
    animation: wizardShake 0.4s ease;
}

/* Wizard Responsive */
@media (max-width: 768px) {
    .wizard-options-grid,
    .wizard-options-colors,
    .wizard-options-fonts {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .wizard-modules-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .wizard-color-pickers {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .wizard-font-selectors {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .wizard-step {
        width: 28px;
        height: 28px;
        font-size: 0.65rem;
    }
    
    .wizard-option-content {
        padding: 1rem 0.75rem;
    }
    
    .wizard-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .wizard-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .wizard-options-grid,
    .wizard-options-colors,
    .wizard-options-fonts,
    .wizard-modules-grid {
        grid-template-columns: 1fr;
    }
}

/* Page Portfolio complète - Grille */
.portfolio-page {
    padding-top: 0;
}

.portfolio-page .portfolio-header {
    margin-bottom: 3rem;
}

.portfolio-page .portfolio-nav {
    display: none;
}

.portfolio-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.portfolio-page-grid .project {
    flex: none;
    width: 100%;
}

.portfolio-page-grid .project:nth-child(5n+1) {
    grid-column: span 2;
    grid-row: span 2;
}

.portfolio-page-grid .project:nth-child(5n+4) {
    grid-column: span 2;
}

.portfolio-page-grid .project-image {
    height: 100%;
    min-height: 280px;
}

.portfolio-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    font-family: var(--font-mono);
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
}

/* ========================================
   OFFRE
======================================== */
.offre {
    background: var(--color-bg-alt);
}

.offre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.offre-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.offre-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-top: 2rem;
    max-width: 500px;
}

.offre-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
}

.offre-highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.offre-highlight svg {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.offre-highlight span {
    font-size: 1rem;
    color: var(--color-text);
}

.offre-highlight strong {
    color: var(--color-accent);
}

.offre-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.offre-inclus,
.offre-processus {
    padding: 2rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
}

.offre-inclus-label,
.offre-processus-label {
    display: block;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.offre-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.offre-list li {
    position: relative;
    padding-left: 1.5rem;
    padding-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-text);
    line-height: 1.5;
}

.offre-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.offre-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: none;
}

.offre-steps li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.offre-steps li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.step-number {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-accent);
    flex-shrink: 0;
    padding-top: 2px;
}

.step-text {
    font-size: 0.9rem;
    color: var(--color-text);
    line-height: 1.5;
}

.offre-note {
    margin-top: 3rem;
    font-size: 0.8rem;
    color: var(--color-muted);
    font-style: italic;
    text-align: center;
}

/* ========================================
   BLOG
======================================== */
.blog {
    background: var(--color-bg);
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.blog-all {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid var(--color-accent);
    color: var(--color-text);
    transition: color 0.3s ease;
}

.blog-all:hover {
    color: var(--color-accent);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.blog-post {
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.blog-post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-muted);
}

.blog-post-category {
    color: var(--color-accent);
}

.blog-post-category a {
    color: var(--color-accent);
}

.blog-post-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.blog-post-title a {
    color: var(--color-text);
    transition: color 0.3s ease;
}

.blog-post:hover .blog-post-title a {
    color: var(--color-accent);
}

.blog-post-excerpt {
    color: var(--color-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.blog-post-thumbnail {
    margin-bottom: 1rem;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-post:hover .blog-post-thumbnail img {
    transform: scale(1.05);
}

/* Page Blog complète */
.blog-page {
    padding-top: 10rem;
}

.blog-page .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.blog-page .blog-post {
    padding-top: 2rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
}

/* Article Single */
.single-post {
    padding-top: 10rem;
    max-width: 800px;
    margin: 0 auto;
}

.single-post-header {
    margin-bottom: 3rem;
}

.single-post-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-muted);
}

.single-post-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.single-post-thumbnail {
    margin-bottom: 3rem;
}

.single-post-thumbnail img {
    width: 100%;
}

.single-post-content {
    font-size: 1.1rem;
    line-height: 1.9;
}

.single-post-content p {
    margin-bottom: 1.5rem;
}

.single-post-content h2,
.single-post-content h3 {
    font-family: var(--font-display);
    margin: 3rem 0 1.5rem;
}

.single-post-content h2 {
    font-size: 2.5rem;
}

.single-post-content h3 {
    font-size: 1.75rem;
}

.single-post-content ul,
.single-post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.single-post-content li {
    margin-bottom: 0.5rem;
}

.single-post-content blockquote {
    margin: 2rem 0;
    padding: 2rem;
    border-left: 3px solid var(--color-accent);
    background: var(--color-bg-alt);
    font-style: italic;
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.post-nav-link {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.post-nav-link.next {
    text-align: right;
}

.post-nav-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-muted);
}

.post-nav-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.post-nav-link:hover .post-nav-title {
    color: var(--color-accent);
}

/* ========================================
   CONTACT
======================================== */
.contact {
    background: var(--color-bg-alt);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    max-width: 1400px;
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 0.95;
    color: var(--color-text);
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
    color: var(--color-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
    font-family: var(--font-mono);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-group textarea {
    resize: none;
}

.form-submit {
    padding: 1rem 3rem;
    background: var(--color-accent);
    border: none;
    color: var(--color-bg);
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.form-submit:hover {
    transform: scale(1.05);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-info-label {
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--color-muted);
}

.contact-info-item a:hover {
    color: var(--color-accent);
}

/* Page Contact complète */
.contact-page {
    padding-top: 3rem;
}

.contact-page-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: start;
}

.contact-intro {
    font-size: 1rem;
    color: var(--color-muted);
    margin-bottom: 2rem;
}

.contact-info-sidebar {
    padding: 2rem;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    position: sticky;
    top: 120px;
}

.contact-info-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.contact-info-sidebar .contact-info {
    flex-direction: column;
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .contact-page-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info-sidebar {
        position: static;
    }
}

/* ========================================
   FOOTER
======================================== */
.footer {
    padding: 3rem;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--color-border);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 3rem;
    letter-spacing: 0.1em;
}

.footer-logo a {
    color: var(--color-text);
}

.footer-tagline {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--color-muted);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    font-size: 0.75rem;
    color: var(--color-muted);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a:hover {
    color: var(--color-text);
}

/* ========================================
   PAGE HEADER (pour pages intérieures)
======================================== */
.page-header {
    padding: 12rem 3rem 4rem;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.page-header .section-marker {
    top: 8rem;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 7rem);
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.page-description {
    max-width: 500px;
    margin-top: 1.5rem;
    color: var(--color-muted);
    font-size: 1rem;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .about-grid,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .offre-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .offre-details {
        grid-template-columns: 1fr;
    }
    
    .project {
        flex: 0 0 350px;
    }
    
    .popup-content {
        grid-template-columns: 1fr;
        max-height: 95vh;
        overflow-y: auto;
    }
    
    .popup-image {
        aspect-ratio: 16/9;
    }
    
    .popup-details {
        padding: 2rem;
    }
    
    .portfolio-page-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .portfolio-page-grid .project:nth-child(5n+1) {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .portfolio-page-grid .project:nth-child(5n+4) {
        grid-column: span 1;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-page .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--color-bg);
        padding: 2rem 1.5rem;
        border-bottom: 1px solid var(--color-border);
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hero,
    section {
        padding: 6rem 1.5rem;
    }
    
    .section-marker {
        right: 1.5rem;
        font-size: 3rem;
    }
    
    .hero-scroll,
    .hero-names {
        display: none;
    }
    
    .portfolio-carousel-wrapper {
        margin: 0 -1.5rem;
        padding: 0 1.5rem;
    }
    
    .project {
        flex: 0 0 280px;
    }
    
    .portfolio-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .popup-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .popup-details {
        padding: 1.5rem;
    }
    
    .popup-title {
        font-size: 1.75rem;
    }
    
    .popup-close {
        top: -45px;
        right: 0;
    }
    
    .portfolio-page-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-page-grid .project:nth-child(5n+1),
    .portfolio-page-grid .project:nth-child(5n+4) {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .portfolio-page-grid .project-image {
        min-height: 220px;
    }
    
    .footer-top,
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .page-header {
        padding: 8rem 1.5rem 3rem;
    }
    
    .single-post {
        padding: 8rem 1.5rem 4rem;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
    }
    
    .post-nav-link.next {
        text-align: left;
    }
}

/* ========================================
   UTILITAIRES WORDPRESS
======================================== */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.wp-caption {
    max-width: 100%;
    margin-bottom: 1.5rem;
}

.wp-caption-text {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-top: 0.5rem;
}

