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

html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    min-height: 100vh;
    overflow-x: hidden;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

/* Typo */
@font-face {
    font-family: 'Authentique';
    src: url('fonts/Authentique-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


:root {
    --bg-cream: #faf8f5;
    --text-red: #B7434E;
    --text-red-hover: #8b1a30;
    --blush-light: #f7e8ea;
    --blush: #edc8cd;
    --rose-medium: #d4919a;
    --dusty-rose: #c26b75;
    --blue-whisper: #dce8ef;
    --blue-mist: #bfcdd9;
    --blue-slate: #8faab8;
    --blue-border: #4e7282;
    --linen: #f0ebe3;
    --taupe-rose: #c4b0ad;
    --mauve-dark: #7a5a5e;
    --text-dark: #3d2a2d;

    /* Variables pour le laptop mockup (alias palette) */
    --creme: #faf8f5;
    --rose: #edc8cd;
    --lavande: #bfcdd9;
    --corail: #c26b75;
    --texte-fonce: #3d2a2d;
    --texte-clair: #7a5a5e;

    /* ─── Type scale (Major Third 1.25) ─── */
    --font-base: 1rem;
    --ratio: 1.25;
    --text-2xs: 0.64rem;   /* step -2 */
    --text-xs: 0.8rem;     /* step -1 */
    --text-sm: 0.875rem;
    --text-base: 1rem;     /* step 0 */
    --text-md: 1.125rem;   /* step 1 */
    --text-lg: 1.25rem;    /* step 2 */
    --text-xl: 1.5rem;     /* step 3 */
    --text-2xl: 1.875rem;  /* step 4 */
    --text-3xl: 2.25rem;   /* step 5 */
    --text-4xl: 3rem;      /* step 6 */
    --text-5xl: 3.75rem;   /* step 7 */
    --text-6xl: 4.5rem;    /* step 8 */
    --text-7xl: 6rem;      /* step 9 */

    /* Fluid type (clamp for responsive headings) */
    --fluid-hero: clamp(var(--text-3xl), 5vw + 1rem, var(--text-6xl));
    --fluid-display: clamp(var(--text-2xl), 4vw + 0.5rem, var(--text-5xl));
    --fluid-title: clamp(var(--text-2xl), 3.5vw + 0.75rem, var(--text-4xl));
    --fluid-subtitle: clamp(var(--text-lg), 2.5vw + 0.25rem, var(--text-2xl));

    /* Line heights (vertical rhythm) */
    --leading-none: 1;
    --leading-tight: 1.2;
    --leading-snug: 1.35;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 1.75;
}

/*
 * Type scale usage:
 * - Titres hero / display: var(--fluid-hero) ou var(--fluid-display)
 * - Titres de section: var(--fluid-title) ou var(--fluid-subtitle)
 * - Corps: var(--text-base), var(--text-md), var(--text-lg)
 * - Small / labels: var(--text-sm), var(--text-xs), var(--text-2xs)
 * - Line-height: var(--leading-tight) pour titres, var(--leading-normal) pour le texte
 */



/* Navbar – 3 zones : gauche (3 liens) | logo | droite (3 liens) */
.navbar {
    position: fixed;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1rem 1.5rem;
    padding-top: max(1rem, env(safe-area-inset-top));
    padding-left: max(1.5rem, env(safe-area-inset-left));
    padding-right: max(1.5rem, env(safe-area-inset-right));
    width: 100%;
    box-sizing: border-box;
    left: 0;
    right: 0;
    top: 0;
    z-index: 100;
    background: rgba(250, 248, 245, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-menu {
    grid-column: 1 / -1;
    grid-row: 1;
    display: grid;
    grid-template-columns: 1fr minmax(140px, 200px) 1fr;
    align-items: center;
    gap: 0;
    width: 100%;
}

.nav-left {
    grid-column: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
    padding-right: 1rem;
}

.nav-right {
    grid-column: 3;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    padding-left: 1rem;
}

.nav-logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    flex-shrink: 0;
    padding: 0 0.5rem;
    z-index: 1;
}

.nav-logo img {
    height: 50px;
    width: auto;
    max-width: 180px;
    display: block;
    object-fit: contain;
}

/* Bouton hamburger – caché sur desktop */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
    position: relative;
    border-radius: 8px;
    transition: background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover {
    background: rgba(183, 67, 78, 0.08);
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-red);
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.navbar.nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.navbar.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Liens – uppercase, pas de soulignement */
.nav-link {
    text-decoration: none;
    color: var(--text-red);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    transition: color 0.2s ease, box-shadow 0.2s ease;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-red-hover);
    box-shadow: 0 0 0 1px var(--text-red-hover);
}

/* Dropdown Services – au survol */
.nav-dropdown {
    position: relative;
    padding-bottom: 8px; /* prolonge la zone de survol jusqu’au menu */
    margin-bottom: -8px; /* compense pour garder l'alignement avec les autres liens */
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    min-width: 220px;
    margin: 0;
    margin-top: -4px; /* chevauche le padding du parent = pas de trou */
    padding: 0.5rem 0;
    list-style: none;
    background: var(--bg-cream);
    border: 1px solid var(--blush);
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(61, 42, 45, 0.12);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease 0.12s, transform 0.25s ease;
    z-index: 102;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0s;
}

.nav-dropdown-menu li {
    margin: 0;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.6rem 1.25rem;
    color: var(--text-red);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: none;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-dropdown-menu a:hover {
    color: var(--text-red-hover);
    background: var(--blush-light);
}

main {
    padding: 0;
    max-width: none;
    margin: 0 auto;
}

/* ========== FOOTER ========== */
.site-footer {
    position: relative;
    padding: 5rem 2rem 3.5rem;
    background: var(--blush);
    color: var(--text-dark);
    overflow: hidden;
}

.footer-inner {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo img {
    height: 54px;
    width: auto;
    max-width: 180px;
    display: block;
    object-fit: contain;
    transition: opacity 0.25s ease;
}

.footer-logo:hover img {
    opacity: 0.9;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1.75rem;
}

.footer-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.footer-nav a:hover {
    color: var(--text-red-hover);
    text-decoration: underline;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    color: var(--dusty-rose);
    border-radius: 50%;
    border: 1px solid rgba(61, 42, 45, 0.12);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-social-link:hover {
    color: var(--text-red-hover);
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(61, 42, 45, 0.12);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(61, 42, 45, 0.2) 20%, rgba(61, 42, 45, 0.2) 80%, transparent 100%);
    margin: 2rem 0 2rem;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.footer-copyright {
    font-size: 0.95rem;
    color: var(--mauve-dark);
    margin: 0;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.footer-legal a {
    color: var(--mauve-dark);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav {
        order: 2;
    }

    .footer-social {
        order: 3;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.effet-grain::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.12;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

/* ========== SECTION HERO DE CHAQUE PAGE ========== */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 7.25rem clamp(2rem, 5vw, 4rem) 4rem;
    background: linear-gradient(145deg, var(--linen) 0%, var(--blush-light) 40%, var(--blue-whisper) 85%, var(--bg-cream) 100%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* ========== SECONDARY HERO (Portfolio, Services, Processus.) ========== */

.secondary-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 1.5rem 4rem;
    box-sizing: border-box;
    background-color: var(--bg-cream);
    overflow: hidden;
    z-index: 2;
}

.secondary-hero-shape {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    opacity: 0.55;
}

.secondary-hero-shape img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.secondary-hero-shape--tl { width: 200px; height: 200px; top: 1.5rem; left: -30px; }
.secondary-hero-shape--br { width: 150px; height: 150px; bottom: 2rem; right: -25px; }
.secondary-hero-shape--tr { width: 90px; height: 90px; top: 20%; right: 10%; }
.secondary-hero-shape--bl { width: 75px; height: 75px; bottom: 25%; left: 8%; }
.secondary-hero-shape--mc { width: 65px; height: 65px; top: 50%; right: 12%; transform: translateY(-50%); }

/* Variantes plus petites pour les fleurs de la page Processus */
.page-processus .secondary-hero-shape--tl { width: 140px; height: 140px; }
.page-processus .secondary-hero-shape--br { width: 110px; height: 110px; }
.page-processus .secondary-hero-shape--tr { width: 70px; height: 70px; }
.page-processus .secondary-hero-shape--bl { width: 55px; height: 55px; }

.page-processus .hero-shape--tl { width: 180px; height: 180px; }
.page-processus .hero-shape--br { width: 135px; height: 135px; }

.secondary-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 560px;
    margin: 5rem auto;
    text-align: center;
}

/* ========== LES FLEURS EN FOND HERO ========== */


.hero-shape {
    position: absolute;
    pointer-events: none;
    transition: transform 0.2s ease-out;
    will-change: transform;
    overflow: hidden;
}

.hero-shape img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    opacity: 0.40;
}

.hero-shape--tl {
    width: 240px;
    height: 240px;
    top: 20px;
    left: -30px;
}

.hero-shape--br {
    width: 180px;
    height: 180px;
    bottom: 10px;
    right: -40px;
}

.hero-shape--tr {
    width: 120px;
    height: 120px;
    left: 38%;
    bottom: 30%;
}

.hero-shape--bl {
    width: 95px;
    height: 95px;
    bottom: 18%;
    left: 5%;
}

.hero-shape--mc {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 80%;
}

/* ========== BOUTONS DE TOUTES LES PAGES ========== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    min-height: 48px;
    background: var(--dusty-rose);
    color: var(--bg-cream);
    text-decoration: none;
    border-color: var(--text-red-hover);
    border-width: 1px;
    border-style: solid;
    border-radius: 50px;
    font-weight: 600;
    line-height: 1;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(232, 180, 184, 0.3);
    font-size: var(--text-base);
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-3px);
    background-color: var(--text-red-hover);
    box-shadow: 0 8px 25px rgba(232, 180, 184, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    min-height: 48px;
    background: var(--blue-slate);
    color: var(--bg-cream);
    text-decoration: none;
    border-color: var(--blue-border);
    border-width: 1px;
    border-style: solid;
    border-radius: 50px;
    font-weight: 600;
    line-height: 1;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(232, 180, 184, 0.3);
    font-size: var(--text-base);
    text-align: center;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    background-color: var(--blue-border);
    box-shadow: 0 8px 25px rgba(232, 180, 184, 0.5);
}



@keyframes projetHeroReveal {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Fade-in sur tous les éléments du hero (délais décalés) */
.hero .hero-title {
    opacity: 0;
    animation: projetHeroReveal 0.55s ease-out 0s forwards;
}
.hero .hero-text .intro {
    opacity: 0;
    animation: projetHeroReveal 0.55s ease-out 0.1s forwards;
    font-size: var(--text-md);
    line-height: 1.5;
    margin-bottom: 0;
    font-weight: 400;
    text-align: left;
}
.hero .cta-visual {
    opacity: 0;
    animation: projetHeroReveal 0.55s ease-out 0.18s forwards;
}
.hero-btn-wrap {
    opacity: 0;
    animation: projetHeroReveal 0.55s ease-out 0.32s forwards;
}
.hero .hero-footer {
    opacity: 0;
    animation: projetHeroReveal 0.55s ease-out 0.42s forwards;
}

.hero .hero-text .hero-btn-wrap {
    margin-top: 2rem; /* 32px – natural flow: title → subtitle → button */
    max-height: 100px;
    text-align: left;
    position: relative;
    z-index: 2;
}



/* ========== TEXTE DE TOUTES LES PAGES ========== */

.hero-title {
    font-family: 'DM Serif Display', serif;
    font-size: var(--fluid-hero);
    font-weight: 400;
    color: var(--blue-border);
    line-height: 1.18;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}




.hero-tagline {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.hero-label {
    text-align: center;
    opacity: 0;
    animation: projetHeroReveal 0.55s ease-out forwards;
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--dusty-rose);
    margin-bottom: 0.75rem;
}

.hero-label.label-projets {
    font-size: var(--text-sm);
}

/* Alignement spécifique du label sur la page À propos */
.about-page-hero .hero-label {
    text-align: left;
}


.title {
    font-family: 'DM Serif Display', serif;
    font-size: var(--fluid-display);
    font-weight: 400;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
}

.title-line {
    width: 60px;
    height: 3px;
    margin: 0 auto 3.5rem;
    background: linear-gradient(90deg, var(--blush) 0%, var(--dusty-rose) 100%);
    border-radius: 2px;
    position: relative;
    z-index: 2;
}

.intro {
    text-align: center;
    color: var(--mauve-dark);
    font-size: 1rem;
    max-width: none;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 2;
}

.intro strong {
    color: var(--text-dark);
}

.quote{
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 0;
    border: none;
    position: relative;
    z-index: 1;
}

.quote-text {
    font-family: 'Authentique';
    font-size: var(--fluid-subtitle);
    line-height: 1.75;
    color: var(--text-dark);
    margin: 0;
    font-style: italic;
    text-align: center;
}

/* Mots forts : surlignage type marqueur, esthétique branding */
.quote-strong {
    font-style: normal;
    padding: 0.08em 0.2em;
    margin: 0 -0.1em;
    background: linear-gradient(
        to bottom,
        transparent 20%,
        rgba(194, 107, 117, 0.35) 45%,
        rgba(194, 107, 117, 0.35) 90%,
        transparent 90%
    );
    border-radius: 3px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.handwriting-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.9rem; 
    margin-bottom: 0.75rem;
    font-family: 'Authentique', cursive;
    font-size: 1rem;
    font-weight: normal;
    letter-spacing: 0.02em;
    text-transform: none;
    color:  var(--blue-border);
    background-color: #c1d0d9;
    border: 1px solid #3f505f;
    border-radius: 9999px;
}

/* ========== TRAITS ========== */

.hero-traits {
    opacity: 0;
    animation: projetHeroReveal 0.55s ease-out 0.24s forwards;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.hero-trait {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 2rem;
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--mauve-dark);
    border: 1px solid var(--blush);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.hero-trait i {
    color: var(--dusty-rose);
}

/* ========== FAQ ========== */

.faq {
    position: relative;
    padding: 2.5rem 1.5rem 8rem;
    max-width: none;
    background: linear-gradient(180deg, var(--blush-light) 0%, var(--blush) 100%);
    overflow: hidden;
}

.faq-inner {
    max-width: 640px;
    margin: 0 auto;
}


.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
    align-items: stretch;
}

.faq-item {
    background: #fff;
    border-radius: 16px;
    border: 2px solid var(--blush);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
    border-color: var(--dusty-rose);
}

.faq-item.is-open {
    border-color: var(--dusty-rose);
    box-shadow: 0 6px 20px rgba(194, 107, 117, 0.12);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s ease;
}

.faq-question span {
    flex: 1;
    text-align: left;
}

/* Bullet fleur à gauche de chaque question */
.faq-question::before {
    content: "";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-right: 0.5rem;
    background-image: url("images/fleur-fond.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.faq-question:hover {
    background: var(--blush-light);
}

.faq-icon {
    flex-shrink: 0;
    font-size: 0.85rem;
    color: var(--dusty-rose);
    transition: transform 0.3s ease;
}

.faq-item.is-open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    padding-top: 0;
}

.faq-item.is-open .faq-answer {
    padding-top: 0.25rem;
}

.faq-answer[hidden] {
    display: none;
}

.faq-answer p {
    margin: 0;
    padding: 0 0 0 0;
    font-size: 0.95rem;
    color: var(--mauve-dark);
    line-height: 1.6;
}

/* ========== ARROWS ========== */

.arrow-inverse {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    bottom: 2rem;
    left: 65%;
    transform: translateX(-50%) rotate(100deg);
    width: 140px;
    height: 70px;
}

.arrow-inverse img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: opacity(0.75);
}

.arrow-plus-droite{
    position: absolute;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    bottom: 2rem;
    top: 100%;
    left: 90%;
    transform: translateX(-50%) rotate(100deg);
    width: 140px;
    height: 70px;
}

/* ========== GRILLE SUR 2 COLONNES ========== */

.structure-deux-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    justify-items: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.col-deux-col {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.photo-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(61, 42, 45, 0.12), 0 0 0 1px rgba(194, 107, 117, 0.15);
    max-width: 380px;
}

.photo-wrap::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--blush) 0%, var(--blue-whisper) 50%, var(--blush) 100%);
    opacity: 0.4;
    z-index: -1;
    filter: blur(20px);
}

.photo-deux-col {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.cta-contact-illustration {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}

.cta-contact-illustration img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(61, 42, 45, 0.28);
}

.contact-windows-visual {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4 / 3;
    min-height: 260px;
    margin: 0 auto;
}

.window-card {
    position: absolute;
    background: var(--bg-cream);
    border-radius: 18px;
    border: 1px solid rgba(191, 205, 217, 0.85);
    box-shadow: 0 18px 40px rgba(61, 42, 45, 0.12);
    overflow: hidden;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: window-flotte 12s ease-in-out infinite alternate;
}

.window-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    background: var(--blue-whisper);
    border-bottom: 1px solid rgba(191, 205, 217, 0.9);
    font-size: var(--text-2xs);
    color: var(--text-dark);
}

.window-dots {
    display: inline-flex;
    gap: 0.15rem;
}

.window-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--blush);
}

.window-title {
    margin-left: auto;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 500;
    font-size: 0.65rem;
    color: var(--mauve-dark);
}

.window-body {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--text-dark);
    background: rgba(250, 248, 245, 0.95);
}

.window-body ul {
    padding-left: 1.1rem;
}

.window-body li {
    margin-bottom: 0.2rem;
}

.window-body--code {
    background: #1f2933;
    color: #f9fafb;
    font-family: "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.75rem;
}

.window-body--code pre {
    margin: 0;
    white-space: pre-wrap;
}

.window-body--preview {
    background: var(--blue-whisper);
}

.window-body--preview .preview-header {
    height: 14px;
    border-radius: 999px;
    background: var(--dusty-rose);
    margin-bottom: 0.45rem;
}

.window-body--preview .preview-hero {
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue-mist), var(--blush-light));
    margin-bottom: 0.5rem;
}

.preview-columns {
    display: flex;
    gap: 0.35rem;
}

.preview-columns span {
    flex: 1;
    height: 30px;
    border-radius: 12px;
    background: rgba(240, 235, 227, 0.95);
    box-shadow: 0 6px 14px rgba(61, 42, 45, 0.05);
}

.window-card--principal {
    inset: 18% 18% 18% 18%;
    background: var(--blush-light);
}

.window-card--idees {
    top: 6%;
    left: 2%;
    width: 46%;
}

.window-card--code {
    bottom: 6%;
    right: 2%;
    width: 52%;
}

.window-card--aperçu {
    top: 10%;
    right: 4%;
    width: 46%;
}

.window-progress {
    position: absolute;
    left: 50%;
    bottom: -1.5rem;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: center;
    font-size: 0.75rem;
    color: var(--mauve-dark);
}

.window-progress-bar {
    width: 180px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(61, 42, 45, 0.12);
}

.window-progress-bar-fill {
    height: 100%;
    width: 40%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--dusty-rose), var(--blue-slate));
    animation: window-progress 6s ease-in-out infinite;
}

@keyframes window-flotte {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

@keyframes window-progress {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(0); }
    100% { transform: translateX(120%); }
}

.content-deux-col {
    text-align: left;
    max-width: 420px;
}

.label-deux-col {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: var(--blue-border);
    line-height: 1.4;
    margin-bottom: 1.25rem;
}

.text-deux-col {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.content-deux-col .btn-primary {
    display: inline-block;
}



/* ========== CTA ========== */
.cta-contact {
    position: relative;
    padding: 6rem 2.5rem 7rem;   /* plus de padding vertical et horizontal */
    max-width: none;
    background: linear-gradient(180deg, var(--bg-cream) 0%, var(--blush) 100%);
    overflow: hidden;
}

.arrow {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    /* À ajuster selon ton layout : */
    top: 4rem;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 100px;
}

.arrow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter:  opacity(0.75);
}

.cta-concept {
    position: relative;
    width: 100%;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-laptop-mockup {
    position: relative;
    width: 360px;
    max-width: 100%;
    z-index: 10;
}

.laptop-screen {
    min-height: 220px;
}

.cta-screen-content {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.cta-screen-content .cta-concept-phase {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
}

.cta-concept-draft {
    animation: cta-phase-draft 8s ease-in-out infinite;
    animation-play-state: paused;
}

.cta-concept-code {
    animation: cta-phase-code 8s ease-in-out infinite;
    animation-play-state: paused;
}

.cta-concept-website {
    animation: cta-phase-website 8s ease-in-out infinite;
    animation-play-state: paused;
}

.cta-contact.is-in-view .cta-concept-draft,
.cta-contact.is-in-view .cta-concept-code,
.cta-contact.is-in-view .cta-concept-website {
    animation-play-state: running;
}

@keyframes cta-phase-draft {
    0% { opacity: 1; transform: scale(1); }
    22% { opacity: 1; transform: scale(1); }
    28% { opacity: 0; transform: scale(0.98); }
    30%, 100% { opacity: 0; transform: scale(0.98); }
}

@keyframes cta-phase-code {
    0%, 22% { opacity: 0; transform: scale(0.95); }
    28% { opacity: 1; transform: scale(1); }
    48% { opacity: 1; transform: scale(1); }
    54% { opacity: 0; transform: scale(0.98); }
    56%, 100% { opacity: 0; transform: scale(0.98); }
}

@keyframes cta-phase-website {
    0%, 50% { opacity: 0; transform: scale(0.6); }
    58% { opacity: 1; transform: scale(1); }
    65%, 100% { opacity: 1; transform: scale(1); }
}

/* Phase 1: brouillon (note écrite à l'ordi) */
.cta-draft-note {
    background: var(--linen);
    color: var(--mauve-dark);
    padding: 1.25rem 1.5rem;
    border-radius: 6px;
    border: 1px solid rgba(194, 107, 117, 0.2);
    box-shadow: 0 2px 12px rgba(61, 42, 45, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
    max-width: 85%;
    font-size: 0.8rem;
    line-height: 1.4;
}

.cta-draft-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.cta-draft-line {
    display: block;
    padding-left: 0.25rem;
}

/* Phase 2: code – réutilise .code-editor du hero */
.cta-screen-content .code-editor {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.cta-screen-content .code-content {
    flex: 1;
    min-height: 100px;
    font-size: 0.6rem;
    padding: 0.75rem 1rem;
}

.cta-screen-content .cursor-blink {
    position: absolute;
    bottom: 0.75rem;
    left: 1rem;
    width: 6px;
    height: 12px;
    background: var(--corail);
    animation: blink 1s step-end infinite;
}

/* Phase 3: mini site web */
.cta-mini-website {
    width: 100%;
    height: 100%;
    background: var(--bg-cream);
    display: flex;
    flex-direction: column;
    font-size: 0.65rem;
}

.cta-mini-nav {
    background: var(--dusty-rose);
    color: #fff;
    padding: 0.5rem 0.75rem;
    font-weight: 600;
    text-align: center;
    flex-shrink: 0;
}

.cta-mini-hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
}

.cta-mini-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1em;
    color: var(--text-dark);
}

.cta-mini-cta {
    display: inline-block;
    background: var(--blush);
    color: var(--text-dark);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-weight: 500;
}

.cta-contact-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    border: 1px solid rgba(194, 107, 117, 0.25);
    box-shadow: 0 4px 20px rgba(61, 42, 45, 0.08);
    color: var(--dusty-rose);
    font-size: var(--text-xl);
    transition: transform 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.cta-contact:hover .cta-contact-icon {
    transform: scale(1.08);
    color: var(--text-red-hover);
    box-shadow: 0 8px 28px rgba(194, 107, 117, 0.2);
}

.title-deux-col {
    font-family: 'DM Serif Display', serif;
    font-size: var(--fluid-title);
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-align: center;
    padding-bottom: 2rem;
}

.title-line-deux-col {
    width: 60px;
    height: 3px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(90deg, var(--blush) 0%, var(--dusty-rose) 100%);
    border-radius: 2px;
}

.cta-contact-text {
    font-size: var(--text-md);
    color: var(--mauve-dark);
    line-height: var(--leading-relaxed);
    margin-bottom: 1.75rem;
}

.cta-contact-btn {
    display: inline-block;
}

/* ========== INDEX ========== */

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 5.5rem);
    align-items: center;
    justify-items: center;
    max-width: 1240px;
    margin: 0 auto;
    padding-top: 5rem;
    position: relative;
    z-index: 1;
    width: 100%;
    flex: 1 0 auto;
}

.hero-col {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-col--visual {
    justify-content: center;
    min-width: 0;
    max-width: 100%;
}

.hero-col--text {
    justify-content: flex-start;
    align-items: flex-start;
    min-width: 0;
    max-width: 100%;
}

/* === Laptop mockup dans le hero === */
.hero .cta-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    overflow: hidden;
}

.hero .mockup {
    position: relative;
    width: min(580px, 100%);
    max-width: 100%;
    aspect-ratio: 4 / 3;
    z-index: 1;
    background: var(--bg-cream, #faf8f5);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.06);
    /* Rester dans la colonne, jamais déborder sur le texte */
    margin-inline: auto;
    box-sizing: border-box;
}

.hero .mockup img,
.hero .mockup video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.hero-text {
    text-align: left;
    width: 100%;
}

/* Footer hero : stats en bas de la section */
.hero-footer {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    margin-top: auto;
    padding: 6rem 1.5rem 0;
    position: relative;
    z-index: 1;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(2.5rem, 5vw, 4rem);
    flex-wrap: wrap;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.hero-stat-value {
    font-family: 'DM Serif Display', serif;
    font-size: var(--fluid-title);
    color: var(--blue-border);
    font-weight: 400;
    line-height: var(--leading-none);
}

.hero-stat-label {
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mauve-dark);
}

/* ========== INDEX - ABOUT========== */
.about {
    position: relative;
    padding: 5rem 1.5rem 6rem;
    max-width: none;
    background: linear-gradient(180deg, var(--blush) 0%, var(--bg-cream) 100%);
    overflow: hidden;
}


/* ========== INDEX - PROJECTS ========== */
.projects {
    position: relative;
    padding: 5rem 1.5rem 6rem;
    max-width: none;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--blush-light) 0%, var(--blush) 100%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 280px));
    gap: 2rem;
    align-items: stretch;
    justify-content: center;
    margin: 0 auto;
    max-width: 960px;
}

.projects-view-all {
    text-align: center;
    margin-top: 2.5rem;
}

.projects-view-all .btn-primary {
    display: inline-block;
}

.project-card {
    position: relative;
    aspect-ratio: 1;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(212, 145, 154, 0.12);
    overflow: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.35s ease;
    opacity: 0;
    transform: translateY(28px);
    perspective: 1000px;
}

.project-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Survol = bureau / souris uniquement (pas de hover sur tactile) */
@media (hover: hover) and (pointer: fine) {
    .project-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 32px rgba(212, 145, 154, 0.22);
    }

    .project-card:hover .project-card-inner {
        transform: rotateY(180deg);
    }
}

.project-card-inner {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

/* Tactile : retournement quand la carte entre à l’écran (classe JS) */
.project-card.project-card--mobile-flipped .project-card-inner {
    transform: rotateY(180deg);
}

.project-card.project-card--mobile-flipped {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(212, 145, 154, 0.22);
}

.project-card.is-visible.project-card--mobile-flipped {
    transform: translateY(-4px);
}

.project-card-front,
.project-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 16px;
    padding: 2rem 1.75rem;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

.project-card-front {
    background: 
    linear-gradient(135deg, rgba(255,255,255,0.9) 0%, transparent 50%),
    linear-gradient(315deg, var(--blush-light) 0%, var(--blush) 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotateY(0deg);
}

.project-card-back {
    background: var(--blush-light);
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
}

.project-card-back::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(0, 0, 0, 0.35); /* assombrit un peu le screenshot */
    z-index: 0.5;
}

.project-card-screenshot {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.project-card-back-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    padding: 1rem 0.5rem;
    text-align: center;
    transform-style: preserve-3d;
    transform: translateZ(1px);
}

.project-card-front .project-card-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'DM Serif Display', serif;
    font-size: clamp(3.5rem, 12vw, 5rem);
    font-weight: 400;
    color: var(--rose-medium);
    opacity: 0.2;
    pointer-events: none;
    line-height: 1;
    z-index: 0;
}

.project-card-front .project-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    width: 100%;
    text-align: center;
}

.project-card-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.5rem, 4.5vw, 1.85rem);
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.25;
    margin: 0;
    max-width: 100%;
    padding: 0 0.5rem;
    letter-spacing: 0.02em;
}

.project-card-excerpt {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--mauve-dark);
    margin: 0;
    max-width: 90%;
    opacity: 0.9;
}

.project-card-flip-hint {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--rose-medium);
    font-size: 1rem;
    opacity: 0.7;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.project-card-flip-hint i {
    display: block;
    transition: transform 0.6s ease;
}

@media (hover: hover) and (pointer: fine) {
    .project-card:hover .project-card-flip-hint i {
        transform: rotate(180deg);
    }

    .project-card:hover .project-card-flip-hint {
        opacity: 1;
    }
}

.project-card.project-card--mobile-flipped .project-card-flip-hint i {
    transform: rotate(180deg);
}

.project-card.project-card--mobile-flipped .project-card-flip-hint {
    opacity: 1;
}

.project-card-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--mauve-dark);
    margin: 0;
    flex: 1;
}

.project-card-back .project-card-desc {
    display: none; /* descriptions au hover désactivées */
}

.project-card-back .btn-primary {
    padding: 0.75rem 1.5rem;
    min-height: 44px;
    font-size: 0.9rem;
}

/* ========== INDEX - SKILLS ========== */
.skills {
    position: relative;
    padding: 5rem 1.5rem 6rem;
    max-width: none;
    background: linear-gradient(180deg, var(--blue-slate) 0%, var(--bg-cream) 100%);
    overflow: hidden;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: 680px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 2;
    list-style: none;
}

.skill-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    border: 1px solid rgba(194, 107, 117, 0.2);
    box-shadow: 0 4px 16px rgba(61, 42, 45, 0.06);
    cursor: default;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.skill-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.skill-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--blush-light) 0%, var(--blue-whisper) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.skill-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 28px rgba(194, 107, 117, 0.2);
    border-color: var(--dusty-rose);
}

.skill-card:hover::before {
    opacity: 0.4;
}

.skill-card-icon {
    position: relative;
    z-index: 1;
    font-size: 2rem;
    color: var(--text-red);
    transition: transform 0.35s ease, color 0.35s ease;
}

.skill-card:hover .skill-card-icon {
    transform: scale(1.15);
    color: var(--text-red-hover);
}

.skill-card-name {
    position: relative;
    z-index: 1;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    letter-spacing: 0.02em;
}

.skill-card-hint {
    position: relative;
    z-index: 1;
    font-size: 0.7rem;
    color: var(--mauve-dark);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, max-height 0.4s ease;
    text-align: center;
    line-height: 1.4;
}

.skill-card:hover .skill-card-hint {
    opacity: 1;
    max-height: 8em;
}

.skills-view-all {
    text-align: center;
    position: relative;
    z-index: 2;
}

.skills-view-all .btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    min-height: 48px;
    font-size: 1rem;
}



/* ========== ABOUT PAGE - HERO  ========== */

.about-page-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    justify-items: center;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.about-page-hero-col {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.about-page-hero-col--visual {
    flex-direction: column;
}

.about-page-hero-photo-wrap {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 56px rgba(61, 42, 45, 0.14), 0 0 0 1px rgba(194, 107, 117, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    perspective: 1000px;
}

.about-page-hero-photo-wrap:hover {
    transform: scale(1.03);
    box-shadow: 0 32px 64px rgba(61, 42, 45, 0.18), 0 0 0 1px rgba(194, 107, 117, 0.2);
}

.about-page-hero-photo-wrap::before {
    content: "";
    position: absolute;
    inset: -10px;
    z-index: -1;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--blush) 0%, var(--blue-mist) 50%, var(--rose-medium) 100%);
    opacity: 0.4;
}

.about-page-hero-photo-inner {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.about-page-hero.is-aventure .about-page-hero-photo-inner {
    transform: rotateY(180deg);
}

.about-page-hero-photo-front,
.about-page-hero-photo-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 24px;
    overflow: hidden;
}

.about-page-hero-photo-front {
    transform: rotateY(0deg);
    z-index: 1;
}

.about-page-hero-photo-back {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    z-index: 0;
}

.about-page-hero-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    transition: filter 0.35s ease;
}

.about-page-hero-photo-wrap:hover .about-page-hero-photo {
    filter: brightness(1.05);
}

.about-page-hero-text {
    text-align: left;
    max-width: 540px;
    position: relative;
}

.about-page-hero-content {
    transition: opacity 0.35s ease;
}

.about-page-hero-content--aventure {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.about-page-hero.is-aventure .about-page-hero-content--pro {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.about-page-hero.is-aventure .about-page-hero-content--aventure {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.about-page-hero-traits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1.75rem;
}

.about-page-hero-trait {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--mauve-dark);
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2rem;
    border: 1px solid rgba(194, 107, 117, 0.2);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.about-page-hero-trait:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(194, 107, 117, 0.4);
    color: var(--text-red-hover);
}

.about-page-hero-trait i {
    color: var(--dusty-rose);
    transition: transform 0.25s ease, color 0.25s ease;
}

.about-page-hero-trait:hover i {
    color: var(--text-red);
    transform: scale(1.15);
}

.about-page-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Toggle aventure : sous l'image, discret */
.about-page-hero-photo-aside {
    margin-top: 1rem;
    text-align: center;
}

.about-page-hero-photo-aside .about-page-hero-toggle {
    margin-top: 0;
    font-size: 0.8rem;
    padding: 0.4rem 0.85rem;
    color: var(--mauve-dark);
    background: transparent;
    border-color: rgba(194, 107, 117, 0.2);
}

.about-page-hero-photo-aside .about-page-hero-toggle:hover {
    color: var(--text-red);
    border-color: rgba(194, 107, 117, 0.4);
    background: rgba(255, 255, 255, 0.5);
}

/* Toggle pro / aventure (bouton générique) */
.about-page-hero-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--mauve-dark);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(194, 107, 117, 0.25);
    border-radius: 2rem;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.about-page-hero-toggle:hover {
    color: var(--text-red);
    border-color: var(--dusty-rose);
    background: rgba(255, 255, 255, 0.95);
}

.about-page-hero-toggle-icon {
    margin-right: 0.35rem;
    font-size: 0.9em;
    opacity: 0.9;
}

.about-page-hero-toggle-text--pro {
    display: none;
}

.about-page-hero.is-aventure .about-page-hero-toggle-text--aventure {
    display: none;
}

.about-page-hero.is-aventure .about-page-hero-toggle-text--pro {
    display: inline;
}

/* ========== ABOUT PAGE – MON PARCOURS (timeline) ========== */
.about-parcours {
    position: relative;
    padding: 5rem 1.5rem 6rem;
    background: linear-gradient(180deg, var(--bg-cream) 0%, rgba(248, 246, 243, 0.98) 50%, var(--blush-light) 100%);
    overflow: hidden;
}

.about-parcours-intro {
    max-width: 520px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--mauve-dark);
    position: relative;
    z-index: 2;
    font-weight: 400;
    opacity: 0.92;
}

/* Layout : timeline à gauche, polaroids à droite – une ligne = une étape + sa polaroid */
.parcours-layout {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
    gap: 0;
    position: relative;
}

@media (min-width: 1024px) {
    .parcours-layout {
        max-width: 1120px;
        grid-template-columns: minmax(0, 600px) 1fr;
        grid-template-rows: repeat(5, auto);
        gap: 0 3rem;
        align-items: center;
    }
    .parcours-polaroid {
        display: block;
    }
}

/* Ligne verticale (piste) – à gauche, span toute la hauteur */
.parcours-line {
    position: absolute;
    left: 1.25rem;
    top: 0;
    bottom: 0;
    width: 2px;
    margin-left: 0;
    background: rgba(194, 107, 117, 0.2);
    border-radius: 1px;
    z-index: 0;
}


/* Chaque ligne du grid = une étape + sa polaroid (display: contents = enfants deviennent des cellules) */
.parcours-row {
    display: contents;
}

.parcours-line-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, var(--dusty-rose) 0%, var(--text-red) 100%);
    border-radius: inherit;
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Étapes : première colonne, avec marge pour la ligne */
.parcours-step {
    position: relative;
    z-index: 1;
    padding-left: 2.5rem;
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0.75rem;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.parcours-step:not(:last-child) {
    margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
    .parcours-step:not(:last-child) {
        margin-bottom: 0;
    }
}

.parcours-step--left .parcours-step-card,
.parcours-step--right .parcours-step-card {
    grid-column: 1;
}

.parcours-step .parcours-step-dot {
    position: absolute;
    left: calc(1.25rem - 2.5rem);
    top: 0;
    transform: translateX(-50%);
    grid-column: unset;
}

.parcours-step.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.parcours-step-dot {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    z-index: 1;
    transition: transform 0.35s ease, filter 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.parcours-step-dot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.parcours-step:hover .parcours-step-dot {
    transform: translateX(-50%) scale(1.2);
}

.parcours-step-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 2px 20px rgba(61, 42, 45, 0.04), 0 0 0 1px rgba(61, 42, 45, 0.06);
    transition: box-shadow 0.35s ease, background 0.35s ease;
    backdrop-filter: blur(8px);
}

/* Ajustements du parcours sur mobile */
@media (max-width: 768px) {
    .parcours-step-dot {
        width: 20px;
        height: 20px;
    }

    .parcours-step .parcours-step-dot {
        left: -0.5rem;
        transform: translateX(0);
    }

    .parcours-step:hover .parcours-step-dot {
        transform: translateX(0) scale(1.1);
    }
}

.parcours-step-card:hover {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 32px rgba(61, 42, 45, 0.06), 0 0 0 1px rgba(194, 107, 117, 0.08);
}

.parcours-step-year {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dusty-rose);
    margin-bottom: 0.5rem;
}

.parcours-step-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

.parcours-step-teaser {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--mauve-dark);
    opacity: 0.9;
    margin: 0 0 0.5rem 0;
}

.parcours-step-detail {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.parcours-step-detail .parcours-step-text {
    margin: 0;
    padding-top: 0.5rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--mauve-dark);
    opacity: 0.9;
}

.parcours-step-card.is-expanded .parcours-step-detail {
    max-height: 500px;
    opacity: 1;
}

.parcours-step-card.is-expanded .parcours-step-teaser {
    display: none;
}

.parcours-step-toggle {
    display: inline-block;
    background: none;
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dusty-rose);
    cursor: pointer;
    padding: 0.25rem 0;
    margin-top: 0.25rem;
    font-family: inherit;
}

.parcours-step-toggle:hover {
    text-decoration: underline;
}

.parcours-step-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--mauve-dark);
    opacity: 0.9;
}

.parcours-polaroid-inner {
    width: 220px;
    background: #fff;
    padding: 8px 8px 32px;
    box-shadow: 0 4px 20px rgba(61, 42, 45, 0.12), 0 0 0 1px rgba(61, 42, 45, 0.06);
    border-radius: 2px;
    transform: rotate(-2deg);
    transition: box-shadow 0.35s ease;
}

.parcours-polaroid:nth-child(even) .parcours-polaroid-inner {
    transform: rotate(2deg);
}

.parcours-polaroid.is-visible .parcours-polaroid-inner {
    box-shadow: 0 8px 28px rgba(61, 42, 45, 0.15), 0 0 0 1px rgba(194, 107, 117, 0.12);
}

.parcours-polaroid-inner img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 1px;
    background: rgba(248, 246, 243, 0.9);
}

.parcours-polaroid-caption {
    display: block;
    margin-top: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--dusty-rose);
    text-align: center;
    opacity: 0.9;
}

/* Polaroids : une par ligne, centrée avec l’étape, décalées gauche/droite pour s’empiler */
.parcours-polaroid {
    display: none;
    opacity: 0.4;
    transition: opacity 0.45s ease, transform 0.45s ease;
    flex-shrink: 0;
    justify-self: center;
}


.parcours-polaroid.is-visible {
    opacity: 1;
}

/* Desktop : polaroids visibles + grille colonne 1 = steps, colonne 2 = polaroids (après la base pour la cascade) */
@media (min-width: 1024px) {
    .parcours-step {
        grid-column: 1;
    }
    .parcours-polaroid {
        display: block;
        grid-column: 2;
    }
}

.about-parcours-quote {
    padding: 1rem 1.5rem;
    background: linear-gradient(180deg, var(--blush-light) 0%, var(--blush) 100%);
    position: relative;
    overflow: hidden;
}

/* ========== ABOUT PAGE – MA PHILOSOPHIE RENDUE ICI!!!!!!!! ========== */
.about-philosophy {
    position: relative;
    padding: 4rem 1.5rem 6rem;
    background: linear-gradient(180deg, var(--blush) 0%, var(--blush-light) 50%, var(--blush) 100%);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 2;
}

.about-philosophy-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    box-shadow: 0 2px 20px rgba(61, 42, 45, 0.04), 0 0 0 1px rgba(61, 42, 45, 0.06);
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.45s ease,
        transform 0.45s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
    backdrop-filter: blur(8px);
}

.about-philosophy-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-philosophy-card:hover {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 32px rgba(61, 42, 45, 0.06), 0 0 0 1px rgba(194, 107, 117, 0.08);
}

.about-philosophy:hover .about-philosophy-card.is-visible {
    transform: translateY(-6px);
}

.about-philosophy-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(194, 107, 117, 0.2) 0%, rgba(194, 107, 117, 0.12) 100%);
    border-radius: 14px;
    margin-bottom: 1.25rem;
    color: var(--dusty-rose);
    font-size: 1.1rem;
}

.about-philosophy-card-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

.about-philosophy-card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--mauve-dark);
    opacity: 0.9;
}

.about-philosophy-cta {
    text-align: center;
    position: relative;
    z-index: 2;
}


/* ========== CONTACT PAGE ========== */

.contact-hero {
    position: relative;
    padding: 12rem 1.5rem 6rem;
    background: linear-gradient(160deg, var(--blush-light) 0%, var(--blue-whisper) 35%, var(--bg-cream) 60%, var(--blush-light) 100%);
    overflow: hidden;
}


.contact-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Bloc formulaire (dans la même section que le hero) */
.contact-form-block {
    position: relative;
    z-index: 2;
    margin-top: 3rem;
}

.contact-form-heading {
    font-family: 'DM Serif Display', serif;
    font-size: var(--fluid-title);
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.contact-form-title-line {
    width: 60px;
    height: 3px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(90deg, var(--blush) 0%, var(--dusty-rose) 100%);
    border-radius: 2px;
    position: relative;
    z-index: 2;
}

.contact-form-container {
    position: relative;
    z-index: 2;
    max-width: 640px;
    margin: 0 auto;
    padding: 2.5rem;
    background: var(--bg-cream);
    border-radius: 24px;
    border: 2px solid rgba(194, 107, 117, 0.2);
    box-shadow: 0 12px 40px rgba(61, 42, 45, 0.1), 0 0 0 1px rgba(194, 107, 117, 0.08);
}

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

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form-group label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    background: #fff;
    border: 1px solid rgba(61, 42, 45, 0.15);
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--mauve-dark);
    opacity: 0.7;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--dusty-rose);
    box-shadow: 0 0 0 3px rgba(194, 107, 117, 0.15);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form-submit {
    width: 100%;
    margin-top: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.contact-form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(194, 107, 117, 0.35);
}


.contact-connect-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-connect-col--photo {
    display: flex;
    justify-content: center;
}

.contact-connect-col--content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-connect-photo-wrap {
    flex-shrink: 0;
    width: 300px;
    height: 360px;
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid var(--blush);
    box-shadow: 0 6px 20px rgba(61, 42, 45, 0.12);
}

.contact-connect-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-connect-heading-block {
    text-align: left;
}


.contact-connect-title-block {
    width: 100%;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.contact-connect-title-block .contact-connect-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

.contact-connect-title-block .contact-connect-title-line {
    margin-left: auto;
    margin-right: auto;
}

.contact-connect-subtitle {
    text-align: center;
    color: var(--mauve-dark);
    font-size: 1.125rem;
    margin: 0;
    position: relative;
    z-index: 2;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.contact-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    padding: 0.75rem 1.25rem;
    min-height: 56px;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    border: 2px solid;
    box-shadow: 0 6px 24px rgba(61, 42, 45, 0.08);
    text-decoration: none;
    color: var(--text-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(194, 107, 117, 0.18);
}

.contact-card-icon-wrap {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    min-width: 0;
}

.contact-card-icon-wrap--instagram {
    background: var(--blush-light);
    border: 1px solid var(--blush);
}

.contact-card--instagram {
    border-color: var(--blush);
}

.contact-card--instagram:hover {
    border-color: var(--dusty-rose);
}

.contact-card-icon-wrap--instagram .contact-card-icon {
    color: var(--dusty-rose);
}

.contact-card--instagram .contact-card-value {
    color: var(--dusty-rose);
}

.contact-card-icon-wrap--linkedin {
    background: var(--blue-whisper);
    border: 1px solid var(--blue-mist);
}

.contact-card--linkedin {
    border-color: var(--blue-mist);
}

.contact-card--linkedin:hover {
    border-color: var(--blue-slate);
}

.contact-card-icon-wrap--linkedin .contact-card-icon {
    color: var(--blue-slate);
}

.contact-card--linkedin .contact-card-value {
    color: var(--blue-slate);
}

.contact-card-icon-wrap--email {
    background: var(--linen);
    border: 1px solid var(--taupe-rose);
}

.contact-card--email {
    border-color: var(--taupe-rose);
}

.contact-card--email:hover {
    border-color: var(--mauve-dark);
}

.contact-card-icon-wrap--email .contact-card-icon {
    color: var(--mauve-dark);
}

.contact-card--email .contact-card-value {
    color: var(--mauve-dark);
}

.contact-card-icon {
    font-size: 1.5rem;
}

.contact-card-label {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    display: block;
}

.contact-card-value {
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
}

/* Scroll reveal – contact page */
.contact-scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.contact-scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-connect { 
    position: relative;
    padding: 4rem 1.5rem 6rem;
    background: linear-gradient(180deg, var(--blush-light) 0%, rgba(248, 246, 243, 0.98) 50%, var(--blush) 100%);
    overflow: hidden;
}

.contact-connect .faq-inner {
    margin-top: 2rem;
}

/* ========== PROJET PAGE ========== */

.projet-list {
    position: relative;
    padding: 0 0 4rem;
    background-color: var(--bg-cream);
    overflow: hidden;
    z-index: 1;
}

.projet-block {
    position: relative;
    padding: 4rem 1.5rem;
    overflow: hidden;
    scroll-margin-top: 6rem;
}

.projet-block-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

.projet-block-shape img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.projet-block-shape--tl { width: 100px; height: 100px; top: 1rem; left: 1rem; }
.projet-block-shape--br { width: 80px; height: 80px; bottom: 1rem; right: 1rem; }

.projet-block-inner {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.projet-block-visual {
    position: relative;
}

.projet-block-image-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(61, 42, 45, 0.12), 0 0 0 1px rgba(194, 107, 117, 0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.projet-block-image-wrap:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 28px 60px rgba(61, 42, 45, 0.16), 0 0 0 1px rgba(194, 107, 117, 0.15);
}

.projet-block-image-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.projet-block-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.projet-block-number {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    line-height: 1;
}

.projet-block-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.projet-block-type {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dusty-rose);
}

.projet-block-title {
    font-family: 'DM Serif Display', serif;
    font-size: var(--fluid-title);
    font-weight: 400;
    color: var(--text-dark);
    margin: 0;
    line-height: var(--leading-tight);
}

.projet-block-excerpt {
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--mauve-dark);
    margin: 0;
}

.projet-block-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.projet-block-tag {
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--blush);
    border-radius: 2rem;
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--mauve-dark);
}

.projet-block-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.projet-block-cta i {
    font-size: 0.85em;
    transition: transform 0.25s ease;
}

.projet-block-cta:hover i {
    transform: translateX(4px);
}

/* Section "D'autres projets en cours" */
.projet-en-cours {
    position: relative;
    padding: 4rem 1.5rem 5rem;
    background-color: var(--bg-cream);
    overflow: hidden;
}

.projet-en-cours-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.projet-en-cours-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.projet-en-cours-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--dusty-rose);
    animation: projet-wip-bounce 1.4s ease-in-out infinite both;
}

.projet-en-coursp-dot:nth-child(1) { animation-delay: 0s; }
.projet-en-cours-dot:nth-child(2) { animation-delay: 0.2s; }
.projet-en-cours-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes projet-wip-bounce {
    0%, 80%, 100% { transform: scale(0.75); opacity: 0.6; }
    40% { transform: scale(1.2); opacity: 1; }
}


/* ========== SERVICES PAGE  ========== */
.services-problems {
    position: relative;
    padding: 6rem 1.5rem 2rem;
    background: linear-gradient(180deg, var(--bg-cream) 0%, rgba(250, 248, 245, 0.98) 50%, var(--blush) 100%);
    overflow: hidden;
}


.ease-in-label.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ease-in-label {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.ease-in-title {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.ease-in-title.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ease-in-line {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.ease-in-line.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.services-problems-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.services-problems-card {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 20px rgba(61, 42, 45, 0.04), 0 0 0 1px rgba(61, 42, 45, 0.06);
    transition: box-shadow 0.35s ease, background 0.35s ease, transform 0.35s ease, opacity 0.5s ease;
    backdrop-filter: blur(8px);
    width: 100%;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(24px);
}

.services-problems-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.services-problems-card:hover {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 40px rgba(61, 42, 45, 0.08), 0 0 0 1px rgba(194, 107, 117, 0.15);
    transform: translateY(-2px);
}

.services-problems-card-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(194, 107, 117, 0.2) 0%, rgba(194, 107, 117, 0.12) 100%);
    border-radius: 14px;
    color: var(--dusty-rose);
    font-size: 1.1rem;
}

.services-problems-card-icon img {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-problems-card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--mauve-dark);
    opacity: 0.9;
    margin: 0;
    padding-top: 0.25rem;
}

.services-problems-outro {
    text-align: center;
    margin-top: 2.5rem;
    margin-bottom: 0;
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--dusty-rose);
    position: relative;
    z-index: 2;
}

/* ========== SERVICES PAGE – Mes offres (suite des problèmes) ========== */
.mes-services {
    position: relative;
    padding: 2rem 1.5rem 2rem;
    background: linear-gradient(180deg, var(--blush) 0%, var(--bg-cream) 30%, var(--blush-light) 100%);
    overflow: hidden;
}


.mes-services-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto 3rem;
}

.mes-services-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 2px 20px rgba(61, 42, 45, 0.04), 0 0 0 1px rgba(61, 42, 45, 0.06);
    transition: box-shadow 0.35s ease, background 0.35s ease, transform 0.35s ease;
    backdrop-filter: blur(8px);
    text-align: center;
}

.mes-services-card:hover {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 40px rgba(61, 42, 45, 0.08), 0 0 0 1px rgba(194, 107, 117, 0.15);
    transform: translateY(-2px);
}

.mes-services-card--featured {
    border: 2px solid rgba(194, 107, 117, 0.35);
    box-shadow: 0 4px 24px rgba(61, 42, 45, 0.06), 0 0 0 1px rgba(194, 107, 117, 0.12);
    padding: 2rem 1.75rem;
}

.mes-services-card--featured .mes-services-card-title {
    font-size: var(--fluid-title);
}

.mes-services-card--featured:hover {
    border-color: rgba(194, 107, 117, 0.5);
    box-shadow: 0 12px 40px rgba(61, 42, 45, 0.08), 0 0 0 1px rgba(194, 107, 117, 0.2);
}

.mes-services-card-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(194, 107, 117, 0.2) 0%, rgba(194, 107, 117, 0.12) 100%);
    border-radius: 14px;
    color: var(--dusty-rose);
    font-size: 1.1rem;
}

.mes-services-card-title {
    font-family: 'DM Serif Display', serif;
    font-size: var(--fluid-title);
    font-weight: 400;
    color: var(--blue-border);
    margin: 0;
    line-height: var(--leading-tight);
}

.mes-services-card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--mauve-dark);
    opacity: 0.9;
    margin: 0;
    flex-grow: 1;
}

.mes-services-card-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    flex-grow: 1;
    min-height: 7.5em;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--mauve-dark);
    opacity: 0.9;
}

.mes-services-card-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.35rem;
}

.mes-services-card-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 0.6em;
    height: 0.6em;
    background: url("images/fleur-fond.png") no-repeat center;
    background-size: contain;
}

.mes-services-card-list li:last-child {
    margin-bottom: 0;
}

.mes-services-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    min-height: 44px;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--dusty-rose);
    text-decoration: none;
    background: transparent;
    border: 2px solid var(--dusty-rose);
    border-radius: 50px;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, gap 0.25s ease, transform 0.25s ease;
    margin-top: auto;
}

.mes-services-card-cta:hover {
    color: var(--bg-cream);
    background: var(--dusty-rose);
    border-color: var(--dusty-rose);
    gap: 0.65rem;
    transform: translateY(-2px);
}

.mes-services-card-cta i {
    font-size: 0.85em;
    transition: transform 0.25s ease;
}

.mes-services-card-cta:hover i {
    transform: translateX(4px);
}

.mes-services-cta-wrap {
    display: flex;
    justify-content: center;
    margin: 2.5rem 0;
}

.mes-services-discovery {
    position: relative;
    z-index: 2;
    max-width: 640px;
    margin: 0 auto;
    padding: 2rem 2rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(194, 107, 117, 0.25);
    border-radius: 20px;
    box-shadow: 0 2px 20px rgba(61, 42, 45, 0.04);
    backdrop-filter: blur(8px);
}

.mes-services-discovery-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.mes-services-discovery-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(194, 107, 117, 0.25) 0%, rgba(194, 107, 117, 0.15) 100%);
    border-radius: 14px;
    color: var(--dusty-rose);
    font-size: 1.25rem;
}

.mes-services-discovery-title {
    font-family: 'DM Serif Display', serif;
    font-size: var(--fluid-title);
    font-weight: 400;
    color: var(--blue-border);
    margin: 0;
    line-height: var(--leading-tight);
}

.mes-services-discovery-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--mauve-dark);
    margin: 0;
    opacity: 0.9;
}

.mes-services-discovery-cta {
    margin-top: 0.5rem;
}

/* ========== PLAN D'ACTION PAGE ========== */
.hero-plan-action {
    max-height: 100vh;
}

.tagline-action {
    padding: 2rem 0 0;
    font-size: 2rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.fond-creme {
    position: relative;
    padding: 5rem 1.5rem 6rem;
    max-width: none;
    overflow: hidden;
    background-color: var(--bg-cream);
}

.service-wrap .btn-primary,
.service-wrap .btn-secondary {
    padding: 1rem 1.75rem;
    max-height: 60px;
    min-height: 40px;
    font-size: 1rem;
}

.service-wrap {
    padding: 4rem 0 0;
}

/* Mini cards preuves sociales (plan-action about) */
.social-proof-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    
}

.social-proof-card {
    flex: 1;
    min-width: 100px;
    max-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: left;
    text-align: center;
    padding: 1rem 0.75rem;
    background: transparent;
 }


.social-proof-card-value {
    font-weight: 700;
    font-size: var(--text-lg);
    color: var(--text-red);
    line-height: var(--leading-tight);
}

.social-proof-card-label {
    font-size: var(--text-xs);
    color: var(--text-dark);
    line-height: var(--leading-snug);
    margin-top: 0.15rem;
}

#plan-action-hero .handwriting-label .handwriting-label-icon {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
    flex-shrink: 0;
}

#plan-action-hero .secondary-hero-inner {
    max-width: 800px;
}

#plan-action-hero .hero-title {
    max-width: 100%;
}

@media (min-width: 1024px) {
    #plan-action-hero {
        padding-top: 11rem;
        padding-bottom: 7rem;
    }
}

/* Section problème plan-action (alignée sur services-problems) */
.plan-action-probleme {
    position: relative;
    padding: 6rem 1.5rem 4rem;
    background: var(--blush-light);
    overflow: hidden;
}

.text-question {
    font-family: 'DM Serif Display', serif;
    color: var(--text-dark);
    font-style: italic;
    font-size: 1.5rem;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 2rem;
    display: block;
  }

  .text-question strong {
    color: var(--blue-border);
  }
  
  .text-explication {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.9;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .text-explication p {
    margin-bottom: 1.4rem;
  }
  
  .text-explication strong {
    font-weight: 600;
  }

  .text-explication-strong {
    padding-top: 1rem;
    font-size: 1.5rem;
    max-width: 750px;
  }

  /* Bulles de questions + rythme (section problème plan-action) */
  .plan-action-probleme-questions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
  }

  .plan-action-question-bubble {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    max-width: 775px;
    width: 100%;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.25s ease, background 0.25s ease;
  }

  .plan-action-question-bubble.is-visible {
    opacity: 0.9;
    transform: translateY(0);
  }

  .plan-action-question-bubble:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.85);
  }

  /* Révélation progressive du texte dans la section problème (plan-action) */
  .plan-action-probleme-explication,
  .plan-action-probleme .text-explication-strong {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .plan-action-probleme-explication.is-visible,
  .plan-action-probleme .text-explication-strong.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .plan-action-question-bubble .text-question {
    margin-bottom: 0;
  }

  .plan-action-question-icon {
    flex-shrink: 0;
    line-height: 0;
  }

  .plan-action-question-icon img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
  }

  /* Explication (bloc après les questions) */
  .plan-action-probleme-explication {
    margin-bottom: 1.5rem;

  }

  .text-align-left{
    text-align: left;
  }

  /* Centrage du texte sur mobile pour les sections "about" des pages services */
  @media (max-width: 768px) {
    #about .text-question.text-align-left,
    #about .text-explication.text-align-left {
      text-align: center;
    }
  }

  .text-large {
    font-size: 2rem;
  }

  .text-cta {
    font-size: 2rem;
    color: var(--bg-cream);
  }

  /* Section plan du service en 3 cards (zigzag: 1 gauche, 2 droite, 3 gauche) */
  .plan-service-etapes {
    position: relative;
    padding: 5rem 1.5rem 3rem;
    background: var(--blush);
    overflow: hidden;
  }
  .plan-service-etapes-btn-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3.5rem 1.5rem 3.5rem;
    gap: 1.5rem;
  }
  .plan-service-etapes-conclusion {
    max-width: none;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--text-dark, #3d2a2d);
    padding-bottom: 1rem;
  }
  .plan-service-etapes-btn-wrap .btn {
    padding: 1.25rem 2.25rem;
    font-size: 1rem;
    max-height: 60px;
    min-height: 40px;
  }
  .plan-service-etapes-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 2rem 3rem;
    align-items: start;
  }
  .plan-service-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    gap: 0 1rem;
    align-items: start;
    background: var(--bg-cream);
    padding: 2rem 2.25rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(61, 42, 45, 0.08);
    border: 1px solid rgba(237, 200, 205, 0.6);
    position: relative;
    opacity: 0;
    transform: translateY(24px);
    transition: transform 0.4s ease, box-shadow 0.25s ease, border 0.25s ease, border-color 0.25s ease, opacity 0.4s ease;
  }
  .plan-service-card.is-visible {
    opacity: 0.9;
    transform: translateY(0);
  }
  .plan-service-card.is-visible:hover {
    opacity: 1;
  }
  .plan-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(61, 42, 45, 0.12);
    border-color: var(--blue-border);
    opacity: 1;
  }
  .plan-service-card--1 { grid-column: 1; grid-row: 1; }
  .plan-service-card--2 { grid-column: 2; grid-row: 2; }
  .plan-service-card--3 { grid-column: 1; grid-row: 3; }
  .plan-service-card--4 { grid-column: 2; grid-row: 4; }
  .plan-service-fleche {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
  }
  .plan-service-fleche img {
    width: 96px;
    height: auto;
    object-fit: contain;
  }
  .plan-service-fleche--1 {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    justify-self: start;
    padding-bottom: 0;
  }
  /* Flèche de l’étape 1 vers l’étape 2 : pointe vers le bas-droite */
  .plan-service-fleche--1 img {
    max-width: 95px;
    transform: rotate(45deg);
  }
  .plan-service-fleche--2 {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    justify-self: end;
    padding-bottom: 0;
  }
  /* Flèche de l’étape 2 vers l’étape 3 : pointe vers le bas-gauche */
  .plan-service-fleche--2 img {
    max-width: 95px;
    transform: scaleX(-1) rotate(45deg);
  }
  .plan-service-fleche--3 {
    grid-column: 2;
    grid-row: 3;
    align-self: end;
    justify-self: start;
    padding-bottom: 0;
  }
  /* Flèche de l’étape 3 vers l’étape 4 : pointe vers la droite */
  .plan-service-fleche--3 img {
    max-width: 95px;
    transform: rotate(45deg);
  }
  .plan-service-card-num {
    grid-column: 1;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    min-width: 3.25rem;
    min-height: 3.25rem;
    color: var(--bg-cream);
    background: var(--blue-border);
    font-family: 'DM Serif Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
    margin: 0;
    flex-shrink: 0;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(78, 114, 130, 0.25);
  }
  .plan-service-card-title {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    font-family: 'DM Serif Display', serif;
    color: var(--text-dark);
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.25;
    margin: 0 0 0.75rem 0;
  }
  .plan-service-card-text {
    grid-column: 1 / -1;
    grid-row: 2;
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0;
    opacity: 0.7;
  }
  .plan-service-card-quote {
    grid-column: 1 / -1;
    grid-row: 3;
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin: 1rem 0 0;
    padding: 0 0 0 0.75rem;
    border-left: 3px solid var(--blue-border);
    color: var(--blue-border);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.5;
  }
  .plan-service-card-quote em {
    font-style: italic;
  }

/* ========== CTA PLAN D'ACTION ========== */
.plan-action-cta {
  position: relative;
  background: var(--blue-whisper);
  color: var(--blue-border);
  padding: clamp(4rem, 10vw, 6rem) clamp(1.5rem, 5vw, 2.5rem);
  text-align: center;
}
.plan-action-cta-shape {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  opacity: 0.15;
}
.plan-action-cta-shape img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.plan-action-cta-shape--tl { width: 200px; height: 200px; top: 1.5rem; left: -30px; }
.plan-action-cta-shape--br { width: 150px; height: 150px; bottom: 2rem; right: -25px; }
.plan-action-cta-shape--tr { width: 90px; height: 90px; top: 20%; right: 10%; }
.plan-action-cta-shape--bl { width: 75px; height: 75px; bottom: 25%; left: 8%; }
.plan-action-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 2.5rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(61, 42, 45, 0.08);
  border: 1px solid rgba(220, 232, 239, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.plan-action-cta .btn-primary {
  background: var(--blush-light);
  color: var(--blue-border);
  border-radius: 1.5rem;
}
.plan-action-cta .btn-primary:hover {
  background: var(--blush);
  color: var(--blue-border);
}
.plan-action-cta-text {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  line-height: 1.4;
  font-weight: 600;
  margin: 0;
}

.plan-action-cta-subtitle {
  font-size: 0.95rem;
  font-style: italic;
  opacity: 0.7;
  margin: 0;
  text-align: center;
}

.plan-action-imagine {
    position: relative;
    padding: 6rem 1.5rem 4rem;
    background: var(--bg-cream);
    overflow: hidden;
}

.plan-action-imagine-list {
    list-style: none;
    margin: 1.75rem auto 0;
    padding: 0;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.plan-action-imagine-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.plan-action-imagine-icon {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    background: var(--blue-whisper);
    color: var(--blue-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.plan-action-imagine-icon i {
    font-size: 0.9rem;
}

.plan-action-imagine-text {
    display: block;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.plan-action-inaction-quote {
    max-width: 44rem;
    margin: 2.25rem auto 0;
    padding: 1.25rem 1.5rem 1.25rem 1.25rem;
    border-left: 3px solid var(--blue-border);
    background: rgba(220, 232, 239, 0.3);
    border-radius: 0 12px 12px 0;
    color: var(--text-dark);
    font-size: 0.98rem;
}

.plan-action-inaction-quote p {
    margin: 0;
}

/* ========== CTA FINALE (PLAN D'ACTION) ========== */
.cta-final {
    position: relative;
    padding: clamp(3rem, 8vw, 5rem) 1.5rem;
    background: linear-gradient(180deg, var(--blush) 0%, var(--blue-whisper) 50%, var(--blush) 100%);
    overflow: hidden;
}
.cta-final-frame {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    box-shadow: none;
    z-index: 2;
}
.cta-final-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}
.cta-final .btn-primary {
    padding-inline: 2.75rem;
    min-width: min(100%, 320px);
}
.cta-final .plan-action-cta-subtitle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--mauve-dark);
    opacity: 0.85;
    margin: 0;
}
.cta-final .plan-action-cta-subtitle i {
    font-size: 0.95rem;
    color: var(--dusty-rose);
}
.cta-final .plan-action-cta-subtitle span {
    display: inline-block;
}

/* CTA finale – mise en page deux colonnes (texte + image) */
.cta-final-frame--two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: center;
    max-width: 1000px;
}

.cta-final-frame--two-col .cta-final-inner {
    text-align: left;
    align-items: flex-start;
}

.cta-final-frame--two-col .plan-action-cta-subtitle {
    justify-content: flex-start;
}

.cta-final-visual {
    position: relative;
    z-index: 2;
}

.cta-final-img-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(61, 42, 45, 0.15), 0 0 0 1px rgba(194, 107, 117, 0.12);
}

.cta-final-img-wrap::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--blush) 0%, var(--blue-whisper) 50%, var(--blush) 100%);
    opacity: 0.35;
    z-index: -1;
    filter: blur(16px);
}

.cta-final-img {
    display: block;
    width: 100%;
    height: auto;
}

/* ========== RETOUR EN HAUT DE PAGE ========== */
.back-to-top {
    position: fixed;
    bottom: max(1.5rem, env(safe-area-inset-bottom));
    right: max(1.5rem, env(safe-area-inset-right));
    z-index: 90;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dusty-rose);
    color: var(--bg-cream);
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(194, 107, 117, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.back-to-top:hover {
    background: var(--text-red);
    color: var(--bg-cream);
}

.back-to-top:focus {
    outline: 2px solid var(--text-red);
    outline-offset: 3px;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top i {
    font-size: 1.1rem;
}

/* ========== PROCESSUS PAGE ========== */
.processus-etapes {
    position: relative;
    padding: 5rem 1.5rem 4rem;
    background: linear-gradient(180deg, var(--bg-cream) 0%, var(--blush-light) 35%, var(--blush) 100%);
    overflow: hidden;
}

.processus-etapes-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 2;
}

.processus-etapes-header .title-line {
    margin: 0 auto 0;
}

.processus-etapes-inner {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Timeline : ligne verticale entre les numéros */
.processus-etapes-inner::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 2.5rem;
    bottom: 2.5rem;
    width: 2px;
    background: linear-gradient(180deg, var(--blue-border) 0%, var(--blush) 100%);
    opacity: 0.4;
    border-radius: 2px;
}

.processus-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem 2rem;
    align-items: start;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(194, 107, 117, 0.12);
    transition: transform 0.25s ease, background 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}

.processus-step:last-child {
    border-bottom: none;
}

/* Hover uniquement sur appareils avec souris (évite le hover collant au tactile) */
@media (hover: hover) {
    .processus-step:hover {
        background: rgba(255, 255, 255, 0.4);
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        border-radius: 12px;
    }
    .processus-inclus-item:hover {
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 12px 40px rgba(61, 42, 45, 0.08), 0 0 0 1px rgba(194, 107, 117, 0.12);
        transform: translateY(-3px);
    }
}

.processus-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    min-height: 3rem;
    color: var(--bg-cream);
    background: var(--text-red);
    font-family: 'DM Serif Display', serif;
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(183, 67, 78, 0.3);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.processus-step-content {
    min-width: 0;
}

.processus-step-title {
    font-family: 'DM Serif Display', serif;
    font-size: var(--fluid-subtitle);
    font-weight: 400;
    color: var(--text-dark);
    margin: 0 0 0.35rem 0;
    line-height: 1.25;
}

.processus-step-subtitle {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--dusty-rose);
    letter-spacing: 0.02em;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.processus-step-text {
    font-size: var(--text-base);
    line-height: 1.65;
    color: var(--mauve-dark);
    margin: 0 0 0.5rem 0;
}

.processus-step-text:last-of-type {
    margin-bottom: 0;
}

.processus-step-note {
    font-size: var(--text-sm);
    line-height: 1.5;
    color: var(--blue-border);
    font-style: italic;
    margin: 0.75rem 0 0;
    padding-left: 0.75rem;
    border-left: 3px solid var(--blue-mist);
}

.processus-etapes-cta {
    text-align: center;
    margin: 3rem auto 0;
    padding-top: 2rem;
    position: relative;
    z-index: 2;
    max-width: 560px;
}

.processus-etapes-cta .btn {
    padding: 1rem 2.5rem;
    font-size: var(--text-base);
}

/* ========== PROCESSUS – Ce qui est inclus ========== */
.processus-inclus {
    position: relative;
    padding: 5rem 1.5rem 4rem;
    background: linear-gradient(180deg, var(--blush-light) 0%, var(--blush) 50%, var(--blush-light) 100%);
    overflow: hidden;
}

.processus-inclus-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.processus-inclus-header .title-line {
    margin: 0 auto 0;
}

.processus-inclus-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.processus-inclus-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 20px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 2px 20px rgba(61, 42, 45, 0.04), 0 0 0 1px rgba(61, 42, 45, 0.06);
    transition: box-shadow 0.35s ease, background 0.35s ease, transform 0.35s ease;
    backdrop-filter: blur(8px);
    -webkit-tap-highlight-color: transparent;
}

.processus-inclus-icon {
    font-size: 2.25rem;
    line-height: 1;
    margin-bottom: 1rem;
    display: block;
}

.processus-inclus-title {
    font-family: 'DM Serif Display', serif;
    font-size: var(--text-lg);
    font-weight: 400;
    color: var(--blue-border);
    margin: 0 0 0.5rem;
    line-height: var(--leading-tight);
}

.processus-inclus-text {
    font-size: var(--text-sm);
    line-height: 1.6;
    color: var(--mauve-dark);
    margin: 0;
    flex-grow: 1;
}

/* Bloc citation « Ma promesse » dans la section inclus */
.processus-inclus .processus-promesse-inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 3.5rem auto 0;
}

.processus-inclus .processus-promesse-inner .processus-promesse-block {
    text-align: center;
}

/* ========== PROCESSUS – Ma promesse ========== */


.processus-promesse-block {
    margin: 0;
    padding: 4rem 2rem;
}

.processus-promesse-quote {
    font-family: 'Authentique', cursive;
    font-size: 1.5rem;
    line-height: 1.65;
    color: var(--text-dark);
    margin: 0 0 1.25rem;
}


/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .navbar {
        padding: 1rem 1.25rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav-left,
    .nav-right {
        gap: 1.25rem;
    }

    .hero {
        padding: 7rem 2rem 6rem;
    }

    .hero-inner {
        gap: 4.5rem;
        max-width: 100%;
    }

    .hero-shape--tl {
        width: 160px;
        height: 160px;
        top: 10px;
        left: -20px;
    }

    .hero-shape--br {
        width: 120px;
        height: 120px;
    }

    .hero-shape--tr,
    .hero-shape--mc {
        width: 70px;
        height: 70px;
    }

    .hero-shape--bl {
        width: 60px;
        height: 60px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }

    .projects {
        padding: 4rem 1.25rem 5rem;
    }

    .about-page-hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-page-hero-text {
        text-align: center;
        max-width: 100%;
    }

    .about-page-hero .hero-label {
        text-align: center;
    }

    .about-page-hero-traits {
        justify-content: center;
    }

    .about-page-hero-buttons {
        justify-content: center;
    }

    .about-page-hero-photo-wrap {
        max-width: 300px;
    }
    .parcours-polaroid {
        display: block;
        transform: translateX(0) scale(0.95);
    }
    /* Impairs (étapes 1, 3, 5) : décalées vers la gauche pour s’empiler */
    .parcours-layout .parcours-row:nth-child(2n+2) .parcours-polaroid {
        transform: translateX(-48px) scale(0.95);
        z-index: 1;
    }
    /* Pairs (étapes 2, 4) : décalées vers la droite pour s’empiler */
    .parcours-layout .parcours-row:nth-child(2n+3) .parcours-polaroid {
        transform: translateX(48px) scale(0.95);
        z-index: 2;
    }
    .parcours-polaroid.is-visible {
        transform: translateX(0) scale(1);
    }
    .parcours-layout .parcours-row:nth-child(2n+2) .parcours-polaroid.is-visible {
        transform: translateX(-48px) scale(1);
    }
    .parcours-layout .parcours-row:nth-child(2n+3) .parcours-polaroid.is-visible {
        transform: translateX(48px) scale(1);
    }
    .projet-block-inner {
        gap: 2rem;
    }
    .mes-services-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ========== RESPONSIVE – Mobile ========== */
@media (max-width: 768px) {
    .navbar {
        display: flex;
        justify-content: space-between;
        max-width: none;
        padding: 0.75rem 1rem;
        padding-top: max(0.75rem, env(safe-area-inset-top));
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    .nav-logo {
        grid-column: auto;
        grid-row: auto;
        position: relative;
        transform: none;
        padding: 0 0.5rem;
        z-index: 1001;
    }

    .nav-logo img {
        height: 40px;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
    }

    .nav-menu {
        grid-column: auto;
        grid-row: auto;
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        min-height: 100dvh;
        min-height: 100vh;
        background: var(--bg-cream);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    .navbar.nav-open .nav-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-left,
    .nav-right {
        flex-direction: column;
        gap: 0;
        flex: none;
        width: 280px;
        max-width: calc(100vw - 2rem);
        align-items: stretch;
        padding: 0;
        margin: 0;
    }

    .nav-left {
        margin-bottom: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 1.25rem;
        text-align: center;
        display: block;
        border-radius: 12px;
    }

    .nav-dropdown {
        position: static;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        min-width: auto;
        margin: 0.25rem 0 1rem;
        padding: 0.5rem 0 0.5rem 1.5rem;
        border: none;
        box-shadow: none;
        background: transparent;
        opacity: 1;
        visibility: visible;
        border-left: 2px solid var(--blush);
    }

    .nav-dropdown-menu a {
        font-size: 0.95rem;
        padding: 0.5rem 0;
        text-align: left;
    }

    /* Hero */
    .hero {
        padding: 4rem 1rem 3rem;
        padding-top: max(4rem, calc(env(safe-area-inset-top) + 3.15rem));
        padding-bottom: max(3rem, env(safe-area-inset-bottom));
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
        padding-top: 3.25rem;
    }

    /* Laptop en haut, puis texte et boutons (ordre DOM naturel) */
    .hero-col--visual {
        order: -1;
    }
    .hero-col--text {
        order: 0;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-billie {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    .hero-welcome {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
        margin-bottom: 1.5rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .projects-view-all .btn-primary {
        width: auto;
    }

    .skills-view-all .btn-secondary {
        width: 40%;
        text-align: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        min-height: 48px;
    }

    .hero .cta-visual {
        height: auto;
    }

    .laptop-mockup {
        width: min(280px, 85vw);
    }

    .hero-footer {
        padding: 3rem 1rem 0;
    }

    .hero-stats {
        gap: 2.25rem;
        padding: 1.25rem 0.5rem;
    }

    .hero-stat-value {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
    }

    .hero-stat-label {
        font-size: 0.7rem;
    }

    .hero-tech-stack {
        margin-bottom: 2rem;
    }

    .hero-tech-item i {
        font-size: 1.5rem;
    }

    /* Parcours – espacement pour placer les polaroids au milieu entre deux cards */
    .parcours-step:not(:last-child) {
        margin-bottom: 4rem;
    }

    /* Parcours – polaroids en mobile : carrés centrés, sans rotation ni décalage,
       visuellement au centre entre la card précédente et la suivante */
    .parcours-polaroid {
        display: block;
        transform: none;
        justify-self: center;
        margin-top: -2.5rem;   /* remonte la photo vers la card précédente */
        margin-bottom: 1.5rem; /* garde de l’espace avant la card suivante */
    }

    .parcours-polaroid-inner {
        transform: none;
    }

    .parcours-polaroid:nth-child(even) .parcours-polaroid-inner {
        transform: none;
    }

    .parcours-layout .parcours-row:nth-child(2n+2) .parcours-polaroid,
    .parcours-layout .parcours-row:nth-child(2n+3) .parcours-polaroid,
    .parcours-polaroid.is-visible,
    .parcours-layout .parcours-row:nth-child(2n+2) .parcours-polaroid.is-visible,
    .parcours-layout .parcours-row:nth-child(2n+3) .parcours-polaroid.is-visible {
        transform: none;
    }

    /* Formes plus petites sur mobile */
    .hero-shape--tl {
        width: 100px;
        height: 100px;
        top: 5px;
        left: -15px;
    }

    .hero-shape--br {
        width: 80px;
        height: 80px;
        bottom: 10px;
        right: -20px;
    }

    .hero-shape--tr,
    .hero-shape--mc {
        width: 50px;
        height: 50px;
    }

    .hero-shape--bl {
        width: 45px;
        height: 45px;
    }

    .about {
        padding: 3.5rem 1rem 4rem;
    }

    .about-page-hero-buttons .btn-primary,
    .about-page-hero-buttons .btn-secondary {
        width: auto;
    }

    .structure-deux-col {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .cta-final-frame--two-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-final-frame--two-col .cta-final-inner {
        text-align: center;
        align-items: center;
    }

    .cta-final-frame--two-col .plan-action-cta-subtitle {
        justify-content: center;
    }

    .about-col--visual {
        order: -1;
    }

    .content-deux-col {
        text-align: center;
        max-width: 100%;
    }

    .content-deux-col .btn-primary {
        width: auto;
    }

    .social-proof-cards {
        justify-content: center;
    }

    .social-proof-card {
        min-width: 90px;
        max-width: 120px;
    }

    .photo-wrap {
        max-width: 280px;
    }

    .plan-service-etapes-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        position: relative;
        padding-left: 0.25rem;
    }
    /* Ligne verticale pointillée entre les cartes sur mobile (remplace les flèches) */
    .plan-service-etapes-inner::before {
        content: '';
        position: absolute;
        left: 1.625rem;
        top: 1.5rem;
        bottom: 1.5rem;
        width: 0;
        border-left: 2px dashed var(--blue-border);
        opacity: 0.4;
        pointer-events: none;
        z-index: 0;
    }
    .plan-service-etapes-inner .plan-service-card {
        position: relative;
        z-index: 1;
    }
    .plan-service-card--1,
    .plan-service-card--2,
    .plan-service-card--3,
    .plan-service-card--4 {
        grid-column: 1;
        grid-row: auto;
    }
    .plan-service-fleche {
        display: none;
    }
    .plan-service-etapes {
        padding: 3rem 1rem 2.5rem;
    }

    .plan-action-imagine {
        padding: 3.5rem 1rem 3rem;
    }

    .plan-action-cta {
        padding: 3.5rem 1rem 4rem;
    }
    .plan-action-cta-inner {
        padding: 1.5rem 1.25rem;
        gap: 1.5rem;
    }

    .cta-contact {
        padding: 3.5rem 1rem 4rem;
    }

    .cta-contact .hero-shape {
        display: none;
    }

    .cta-contact-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .arrow {
        display: none;
    }

    .cta-contact-col--visual {
        min-height: 240px;
        order: -1;
    }

    .cta-concept {
        max-width: 280px;
        margin: 0 auto;
    }

    .cta-contact .cta-laptop-mockup {
        width: 100%;
        max-width: 280px;
    }

    .cta-contact .laptop-screen {
        min-height: 180px;
    }


    .cta-contact-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .cta-contact-btn {
        width: auto;
    }

    .projects {
        padding: 3.5rem 1rem 4rem;
    }

    .skills {
        padding: 3.5rem 1rem 4rem;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }

    .skill-card {
        padding: 1.25rem 0.75rem;
    }

    .skill-card-icon {
        font-size: 1.75rem;
    }

    .projects-title-line {
        margin-bottom: 2.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .project-card-front,
    .project-card-back {
        padding: 1.75rem 1.5rem;
    }

    .about-page-hero {
        padding: 6.75rem 1rem 3rem;
        padding-top: max(6.75rem, calc(env(safe-area-inset-top) + 5.25rem));
    }

    .about-page-hero-title {
        font-size: clamp(1.6rem, 7vw, 2rem);
    }

    .hero-tagline {
        font-size: 0.95rem;
    }

    .about-page-hero-photo-wrap {
        max-width: 260px;
    }
    .about-parcours {
        padding: 4rem 1rem 0;
    }


    .about-parcours-intro {
        font-size: 0.9375rem;
        margin-bottom: 2.25rem;
    }

    .parcours-steps {
        gap: 1.75rem;
    }

    .parcours-step-card {
        padding: 1.5rem 1.25rem;
    }

    .parcours-step-title {
        font-size: 1.2rem;
    }
    .about-parcours-quote {
        padding: 0 1.25rem 3rem;
        margin-top: 0;
    }

    .quote-text {
        font-size: 1.15rem;
    }

    /* About – section "Mes valeurs de travail" alignée sur le look de "Toujours inclus" en mobile */
    .about-philosophy {
        padding: 3.5rem max(1.25rem, env(safe-area-inset-left)) 3.75rem max(1.25rem, env(safe-area-inset-right));
    }

    .about-philosophy-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2.75rem;
    }

    .about-philosophy-intro {
        font-size: 0.9375rem;
        margin-bottom: 2.25rem;
    }

    .about-philosophy-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.9rem;
        padding: 1.25rem 1.5rem;
        border-radius: 1.5rem;
        background: rgba(240, 235, 227, 0.85);
        box-shadow: 0 10px 28px rgba(61, 42, 45, 0.06);
    }

    .about-philosophy-card-icon {
        width: 44px;
        height: 44px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(237, 200, 205, 0.45);
        color: var(--text-red);
        flex-shrink: 0;
        font-size: 1.15rem;
        margin-bottom: 0;
    }

    .about-philosophy-card-title {
        font-size: var(--text-xl);
        line-height: var(--leading-tight);
        margin-bottom: 0.15rem;
    }

    .about-philosophy-card-text {
        font-size: var(--text-md);
        line-height: var(--leading-relaxed);
    }
    .contact-hero {
        padding: 6rem 1rem 2rem;
    }

    .contact-hero-inner {
        display: none;
    }

    .contact-hero-shape--tl {
        width: 130px;
        height: 130px;
    }
    .contact-hero-shape--br {
        width: 100px;
        height: 100px;
    }

    .contact-hero .contact-hero-response-time {
        padding: 0.5rem 0 0;
    }

    .contact-connect {
        padding: 2rem 1rem 4rem;
    }

    .contact-connect-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 0.5rem;
    }

    .contact-connect-col--content {
        gap: 1.5rem;
    }

    .contact-connect-heading-block {
        text-align: center;
    }

    .contact-connect-subtitle {
        text-align: center;
    }

    .contact-cards {
        gap: 1rem;
    }

    .contact-card {
        width: 100%;
    }

    .contact-response-time-inner {
        flex-direction: column;
        gap: 0.5rem;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 1.75rem 1.25rem;
        border-radius: 20px;
    }
    .secondary-hero {
        padding: 8rem 1rem 4rem;
    }
    /* Hero Processus – meilleure lisibilité tablette */
    #plan-action-hero .secondary-hero-inner {
        max-width: 100%;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    #plan-action-hero .hero-title {
        font-size: clamp(var(--text-2xl), 4vw + 0.5rem, var(--text-4xl));
    }
    #plan-action-hero .tagline-action {
        padding: 1.5rem 0 0;
    }
    #plan-action-hero .hero-btn-wrap.service-wrap {
        padding: 2.5rem 0 0;
    }

    .arrow-inverse {
        display: none;
    }

    .secondary-hero-shape--tl { width: 120px; height: 120px; }
    .secondary-hero-shape--br { width: 100px; height: 100px; }
    .secondary-hero-shape--tr,
    .secondary-hero-shape--bl,
    .secondary-hero-shape--mc { width: 45px; height: 45px; }

    /* Services – épurer sans tout cacher en mobile */
    /* Hero services : garder toutes les fleurs mais plus petites et plus discrètes */
    #services-hero .secondary-hero-shape--tl,
    #services-hero .secondary-hero-shape--br {
        width: 120px;
        height: 120px;
        opacity: 0.35;
    }

    #services-hero .secondary-hero-shape--tr,
    #services-hero .secondary-hero-shape--bl,
    #services-hero .secondary-hero-shape--mc {
        width: 55px;
        height: 55px;
        opacity: 0.35;
    }

    /* Section "Tu te reconnais ?" : réduire toutes les fleurs plutôt que les cacher */
    #problemes .secondary-hero-shape--tl,
    #problemes .secondary-hero-shape--br {
        width: 110px;
        height: 110px;
        opacity: 0.35;
    }

    #problemes .secondary-hero-shape--tr,
    #problemes .secondary-hero-shape--bl {
        width: 55px;
        height: 55px;
        opacity: 0.35;
    }

    /* Section "Mes services" : toutes les fleurs visibles mais plus petites */
    #services .secondary-hero-shape--tl,
    #services .secondary-hero-shape--br {
        width: 120px;
        height: 120px;
        opacity: 0.35;
    }

    #services .secondary-hero-shape--tr,
    #services .secondary-hero-shape--bl {
        width: 55px;
        height: 55px;
        opacity: 0.35;
    }

    /* CTA finale des services : réduire les fleurs de fond */
    #contact .hero-shape--tl {
        width: 160px;
        height: 160px;
    }

    #contact .hero-shape--br {
        width: 120px;
        height: 120px;
    }
    
    .page-processus .processus-etapes .secondary-hero-shape--bl {
        display: none;
    }

    .projet-block {
        padding: 3rem 1rem;
    }

    .projet-block-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .projet-en-cours {
        padding: 1rem 1rem 3.5rem;
    }

    /* Cacher les fleurs de fond dans la section "projet-en-cours" sur mobile */
    .projet-en-cours .secondary-hero-shape {
        display: none;
    }
    .services-problems {
        padding: 4rem 1rem 4.5rem;
    }

    .services-problems-grid {
        max-width: 100%;
        gap: 1rem;
    }

    .services-problems-card {
        padding: 1.25rem 1.5rem;
        gap: 1rem;
    }
    .mes-services {
        padding: 4rem 1rem 5rem;
    }

    .mes-services-header {
        margin-bottom: 2.5rem;
    }

    .mes-services-grid {
        gap: 1.25rem;
        margin-bottom: 2.5rem;
    }

    .mes-services-card {
        padding: 1.5rem 1.25rem;
    }

    .mes-services-discovery {
        padding: 1.75rem 1.5rem;
    }

    .mes-services-shape--tl {
        width: 80px;
        height: 80px;
    }

    .mes-services-shape--br {
        width: 60px;
        height: 60px;
    }

    /* Page Services : espace entre « Tu te reconnais ? » et « Mes offres » (mobile) */
    .services-problems:has(+ .mes-services) {
        padding-bottom: 2.75rem;
    }
    .services-problems + .mes-services {
        padding-top: 2.75rem;
    }

    .plan-action-probleme {
        padding: 4rem 1rem 3.5rem;
    }

    /* Processus – Comment ça se passe */
    .processus-etapes {
        padding: 3.5rem max(1rem, env(safe-area-inset-left)) 4rem max(1rem, env(safe-area-inset-right));
    }

    .processus-etapes-header {
        margin-bottom: 2.5rem;
    }
    .processus-etapes-header .title {
        font-size: clamp(var(--text-xl), 3vw + 0.5rem, var(--text-3xl));
    }

    .processus-etapes-inner::before {
        left: 1.25rem;
        top: 2rem;
        bottom: 2rem;
    }

    .processus-step {
        grid-template-columns: auto 1fr;
        gap: 1.25rem 1.5rem;
        padding: 1.5rem 0;
    }

    .processus-step-num {
        width: 2.75rem;
        height: 2.75rem;
        min-width: 2.75rem;
        min-height: 2.75rem;
        font-size: 1.2rem;
    }

    .processus-step-title {
        font-size: var(--text-xl);
    }

    .processus-step-subtitle {
        font-size: var(--text-sm);
    }

    .processus-step-text {
        font-size: var(--text-base);
    }

    .processus-step-note {
        font-size: var(--text-md);
    }

    .processus-etapes-cta {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .processus-etapes-cta .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Processus – Inclus */
    .processus-inclus {
        padding: 4rem max(1rem, env(safe-area-inset-left)) 3.5rem max(1rem, env(safe-area-inset-right));
    }

    .processus-inclus-header {
        margin-bottom: 2.5rem;
    }
    .processus-inclus-header .title {
        font-size: clamp(var(--text-xl), 3vw + 0.5rem, var(--text-3xl));
    }

    .processus-inclus-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .processus-inclus .processus-promesse-inner {
        margin-top: 2.5rem;
    }

    .processus-promesse {
        padding: 4rem 1rem 3.5rem;
    }

    .processus-promesse-block {
        padding: 1.75rem 1.5rem;
    }

    .processus-promesse-quote {
        font-size: var(--text-md);
    }
}

/* Masquer les fleurs de fond dans les FAQ sur mobile */
@media (max-width: 768px) {
    #contact-faq .section-shape,
    #services-faq .section-shape,
    #processus-faq .section-shape {
        display: none;
    }

    /* Masquer les deux fleurs du bas dans la section contact-connect */
    #contact-connect .hero-shape--br,
    #contact-connect .hero-shape--bl {
        display: none;
    }

    /* Masquer la photo dans la section contact-connect sur mobile */
    .contact-connect-col--photo {
        display: none;
    }

    /* Cacher la promesse dans la section inclus sur mobile */
    .processus-inclus .processus-promesse-inner {
        display: none;
    }

    /* Masquer la ligne verticale du processus sur mobile */
    .processus-etapes-inner::before {
        display: none;
    }
}

/* ========== RESPONSIVE – Petit mobile ========== */
@media (max-width: 480px) {
    .hero {
        padding: 3.75rem 0.75rem 2.5rem;
        padding-top: max(3.75rem, calc(env(safe-area-inset-top) + 2.85rem));
    }

    /* Masquer les fleurs de fond dans la section "Mes services" sur petit mobile */
    #services .secondary-hero-shape {
        display: none;
    }

    /* Réduire la hauteur du secondary-hero sur mobile */
    .secondary-hero {
        min-height: auto;
        padding: 5.5rem 1rem 2.5rem;
    }

    .secondary-hero-inner {
        margin: 3rem auto 2rem;
    }

    .hero .cta-visual {
        height: auto;
    }

    .laptop-mockup {
        width: min(240px, 90vw);
    }

    .laptop-screen {
        border-width: 2px;
    }

    .code-content {
        font-size: 0.55rem;
        padding: 0.75rem;
        min-height: 100px;
    }

    .editor-header {
        padding: 0.4rem 0.6rem;
    }

    .file-name {
        font-size: 0.55rem;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .hero-footer {
        padding: 2.25rem 0.75rem 0;
    }

    .hero-stats {
        gap: 1.5rem;
        padding: 0.875rem 0.5rem;
    }

    .about {
        padding: 2.5rem 0.75rem 3rem;
    }

    .title-line {
        margin-bottom: 2.5rem;
    }

    .structure-deux-col{
        gap: 2rem;
    }

    .photo-wrap {
        max-width: 240px;
    }
    .services-problems {
        padding: 3.5rem 1rem 4rem;
    }

    .services-problems-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.9rem;
    }

    .services-problems-card-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-inline: auto;
    }

    .services-problems-card-text {
        padding-top: 0;
    }
    .mes-services {
        padding: 3.5rem 1rem 4rem;
    }

    .mes-services-discovery-inner {
        gap: 0.75rem;
    }

    .mes-services-discovery-text {
        font-size: 0.95rem;
    }

    .services-problems:has(+ .mes-services) {
        padding-bottom: 2.25rem;
    }
    .services-problems + .mes-services {
        padding-top: 2.25rem;
    }

    .plan-action-probleme {
        padding: 3.5rem 1rem 3rem;
    }

    /* Hero Processus – mobile */
    #plan-action-hero {
        min-height: auto;
        padding: 6rem max(1rem, env(safe-area-inset-right)) 3rem max(1rem, env(safe-area-inset-left));
    }
    #plan-action-hero .hero-title {
        font-size: var(--text-2xl);
        line-height: 1.25;
        overflow-wrap: break-word;
    }
    #plan-action-hero .tagline-action {
        padding: 1rem 0 0;
        font-size: 1.1rem;
    }
    #plan-action-hero .hero-btn-wrap.service-wrap .btn-primary {
        width: 100%;
        max-width: 100%;
        min-height: 48px;
    }
    #plan-action-hero .hero-btn-wrap.service-wrap {
        padding: 1.75rem 0 0;
        width: 100%;
    }

    /* Espacer les éléments dans le hero des pages services sur mobile */
    #plan-action-hero .secondary-hero-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    #plan-action-hero .hero-label {
        margin-bottom: 0.25rem;
    }
    #plan-action-hero .hero-title {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
    #plan-action-hero .hero-tagline {
        margin-top: 0.25rem;
        margin-bottom: 0.75rem;
    }

    .processus-etapes {
        padding: 1.75rem max(0.75rem, env(safe-area-inset-left)) 3.5rem max(0.75rem, env(safe-area-inset-right));
    }

    .processus-etapes-header .title {
        max-width: 18ch;
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(var(--text-2xl), 5vw + 0.25rem, var(--text-3xl));
    }

    .processus-etapes-header .hero-label {
        font-size: var(--text-sm);
    }

    .processus-step {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1.25rem 0;
        text-align: left;
    }

    .processus-step-num {
        margin: 0 auto 0 0;
    }

    .processus-etapes-inner::before {
        left: 1.375rem;
        top: 1.5rem;
        bottom: 1.5rem;
    }

    .processus-etapes-cta .btn {
        min-height: 48px;
        width: 100%;
        max-width: 100%;
    }

    .processus-inclus {
        padding: 3rem max(0.75rem, env(safe-area-inset-left)) 3.5rem max(0.75rem, env(safe-area-inset-right));
    }

    .processus-inclus-header {
        margin-bottom: 2rem;
    }

    .processus-inclus-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .processus-inclus-item {
        padding: 1.5rem 1.25rem;
        min-height: 120px;
    }

    .processus-inclus-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .processus-inclus-title {
        font-size: var(--text-md);
    }

    .processus-inclus .processus-promesse-inner {
        margin-top: 2rem;
    }

    .processus-promesse {
        padding: 3rem 0.75rem 3.5rem;
    }

    .processus-promesse-header {
        margin-bottom: 2rem;
    }

    .processus-promesse-block {
        padding: 1.5rem 1.25rem;
    }

    .processus-promesse-quote {
        font-size: var(--text-base);
    }

    /* FAQ Processus – zones de toucher confortables */
    .processus-faq .faq-question {
        min-height: 48px;
        padding: 1rem 1.25rem;
    }
    .processus-faq .faq-answer {
        padding: 0 1.25rem 1rem;
    }
    .processus-faq.contact-connect {
        padding: 2rem max(0.75rem, env(safe-area-inset-left)) 4rem max(0.75rem, env(safe-area-inset-right));
    }

    /* CTA finale – mobile */
    .cta-final {
        padding: 2.5rem max(1rem, env(safe-area-inset-left)) 3rem max(1rem, env(safe-area-inset-right));
    }
    .cta-final-frame--two-col .cta-final-visual {
        order: -1;
    }
    .cta-final .btn-primary {
        min-height: 48px;
    }
    .cta-final .plan-action-cta-subtitle {
        margin-top: 0.75rem;
        margin-bottom: 0;
        font-size: 0.7rem;
        color: rgba(61, 42, 45, 0.45);
        font-style: italic;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        max-width: 18rem;
        text-align: center;
    }
    .cta-final .plan-action-cta-subtitle i {
        display: none;
    }
    .cta-final .plan-action-cta-subtitle span {
        display: inline-block;
    }
}

@media (max-width: 360px) {
    .nav-logo img {
        height: 36px;
    }

    .hero-billie {
        font-size: 1.5rem;
    }

    .hero-welcome {
        font-size: 1.15rem;
    }

    .laptop-mockup {
        width: min(220px, 92vw);
    }

    .hero .cta-visual {
        height: auto;
    }

    .code-content {
        font-size: 0.5rem;
    }
}

/* ───────── Processus – section "Toujours inclus" (mobile) ───────── */
@media (max-width: 768px) {
    .processus-inclus {
        padding: 3.5rem max(1.25rem, env(safe-area-inset-left)) 3.75rem max(1.25rem, env(safe-area-inset-right));
    }

    .processus-inclus-header {
        max-width: 32rem;
        margin-inline: auto;
        text-align: center;
    }

    .processus-inclus-header .hero-label {
        font-size: var(--text-sm);
        letter-spacing: 0.18em;
    }

    .processus-inclus-header .title {
        font-size: var(--fluid-subtitle);
        line-height: var(--leading-snug);
    }

    .processus-inclus-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2.25rem;
    }

    .processus-inclus-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.9rem;
        padding: 1.25rem 1.5rem;
        border-radius: 1.5rem;
        background: rgba(240, 235, 227, 0.85);
        box-shadow: 0 10px 28px rgba(61, 42, 45, 0.06);
    }

    .processus-inclus-icon {
        width: 44px;
        height: 44px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(237, 200, 205, 0.45);
        color: var(--text-red);
        flex-shrink: 0;
        font-size: 1.15rem;
    }

    .processus-inclus-title {
        font-size: var(--text-xl);
        line-height: var(--leading-tight);
        margin-bottom: 0.15rem;
    }

    .processus-inclus-text {
        font-size: var(--text-md);
        line-height: var(--leading-relaxed);
    }

    .processus-promesse-inner {
        margin-top: 2.75rem;
    }

    .processus-promesse-block {
        max-width: 34rem;
        margin-inline: auto;
        padding: 1.75rem 1.5rem 1.5rem;
        border-radius: 1.75rem;
        border: 1px solid rgba(212, 145, 154, 0.55);
        background: rgba(250, 248, 245, 0.9);
    }

    .processus-promesse-quote {
        font-size: var(--text-lg);
        line-height: var(--leading-relaxed);
    }
}

@media (max-width: 768px) {
    .mes-services-header .intro {
        display: none;
    }

    .line-break-mobile {
        display: block;
    }
}