@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif&family=Nunito+Sans:opsz@6..12&display=swap');

:root {
    /* COLORS */
    --primary: #5B5DF0;
    --secondary: #8B5CF6;
    --accent: #FF4D8D;
    --cyan: #3DD9FF;
    --bg: #F5F7FC;
    --surface: rgba(255, 255, 255, .72);
    --surface-solid: #ffffff;
    --text: #121826;
    --muted: #70788F;
    --success: #34D399;
    --warning: #FBBF24;
    --danger: #EF4444;
    /* Radius */
    --radius-xs: 12px;
    --radius-sm: 18px;
    --radius: 24px;
    --radius-lg: 34px;
    --radius-xl: 48px;
    /* Shadows */
    --shadow-xs:
        0 2px 6px rgba(0, 0, 0, .05);
    --shadow:
        0 20px 60px rgba(16, 24, 40, .08);
    --shadow-lg:
        0 40px 120px rgba(16, 24, 40, .18);
    --shadow-glow:
        0 0 60px rgba(91, 93, 240, .30);
    /* Blur */
    --blur: 18px;
    /* Fonts */
    --font-titre: 'Instrument Serif', sans-serif;
    --font-corps: 'Nunito Sans', sans-serif;
    /* Transition */
    --transition:
        all .45s cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: -20%;
    background:
        radial-gradient(circle at 10% 20%, #5B5DF022, transparent 25%),
        radial-gradient(circle at 90% 10%, #FF4D8D22, transparent 25%),
        radial-gradient(circle at 70% 90%, #3DD9FF22, transparent 25%),
        radial-gradient(circle at 30% 80%, #8B5CF622, transparent 20%);
    animation: aurora 18s linear infinite;
    z-index: -2;
}

@keyframes aurora {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.2);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-title);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.1;
}

h1 {
    font-size: clamp(3rem, 6vw, 6rem);
}

h2 {
    font-size: clamp(2.2rem, 4vw, 4rem);
}

h3 {
    font-size: 2rem;
}

p {
    font-size: 1.08rem;
    line-height: 1.9;
    color: var(--muted);
}

.card {
    background: var(--surface);
    backdrop-filter: blur(var(--blur));
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform:
        translateY(-14px) scale(1.02);
    box-shadow:
        var(--shadow-lg);
}

.btn {
    padding: 18px 34px;
    border-radius: 999px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg,
            var(--primary),
            var(--accent));
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary::before {
    content: "";
    position: absolute;
    left: -120%;
    top: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, .55),
            transparent);
    transition: 1s;
}

.btn-primary:hover::before {
    left: 140%;
}

.btn-primary:hover {
    transform:
        translateY(-8px) scale(1.04);
}

section {
    padding:
        120px 0;
    position: relative;
}

.container {
    position: relative;
    z-index: 2;
}

.fade-up {
    opacity: 0;
    transform:
        translateY(80px);
    animation:
        fadeUp .9s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: none;
    }
}

.float {
    animation:
        floating 5s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #eef2ff;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,
            var(--primary),
            var(--accent));
    border-radius: 999px;
}

/*==============================================================
HEADER 2.0
==============================================================*/
.site-header {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: min(92%, 1400px);
    padding: 14px 26px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .60);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, .45);
    box-shadow:
        0 12px 40px rgba(20, 20, 30, .08);
    transition: .45s cubic-bezier(.22, 1, .36, 1);
    z-index: 9999;
}

.site-header.scrolled {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0);
    box-shadow:
        0 24px 80px rgba(20, 20, 30, .18);
    transform:
        translateX(-50%) translateY(-4px);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    transition: .4s;
}

.navbar-brand img {
    height: 52px;
    transition: .5s;
}

.navbar-brand:hover img {
    transform:
        rotate(-6deg) scale(1.08);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-nav .nav-link {
    position: relative;
    padding: 14px 22px;
    font-weight: 700;
    font-size: .95rem;
    border-radius: 999px;
    color: var(--text);
    transition: .35s;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 0;
    height: 3px;
    background:
        linear-gradient(90deg,
            var(--primary),
            var(--accent));
    border-radius: 999px;
    transform: translateX(-50%);
    transition: .35s;
}

.navbar-nav .nav-link:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.navbar-nav .nav-link:hover::before {
    width: 60%;
}

.current-menu-item>a.nav-link {
    background: #f8f9fa;
    color: var(--primary);
}

.dropdown-menu {
    margin-top: 18px;
    padding: 14px;
    border: none;
    border-radius: 24px;
    background:
        rgba(255, 255, 255, .82);
    backdrop-filter: blur(30px);
    box-shadow:
        0 30px 90px rgba(0, 0, 0, .12);
    animation:
        dropdown .35s;
}

@keyframes dropdown {
    from {
        opacity: 0;
        transform:
            translateY(20px) scale(.95);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.dropdown-item {
    padding: 14px 18px;
    border-radius: 14px;
    transition: .3s;
}

.dropdown-item:hover {
    padding-left: 28px;
    /*background:*/
    /*    linear-gradient(90deg,*/
    /*        rgba(91, 93, 240, .08),*/
    /*        rgba(255, 77, 141, .08));*/
}

.section-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.section-hero::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    background:
        radial-gradient(circle,
            rgba(91, 93, 240, .35),
            transparent 70%);
    top: -180px;
    left: -180px;
    filter: blur(80px);
    animation:
        blob1 14s infinite alternate;
}

.section-hero::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background:
        radial-gradient(circle,
            rgba(255, 77, 141, .30),
            transparent 70%);
    right: -120px;
    bottom: -120px;
    filter: blur(90px);
    animation:
        blob2 12s infinite alternate;
}

@keyframes blob1 {
    to {
        transform:
            translate(120px, 100px) scale(1.3);
    }
}

@keyframes blob2 {
    to {
        transform:
            translate(-150px, -120px) scale(1.25);
    }
}

.hero-titre {
    font-size:
        clamp(4rem, 9vw, 7rem);
    font-weight: 800;
    line-height: .95;
    letter-spacing: -.05em;
    max-width: 900px;
}

.hero-titre span {
    background:
        linear-gradient(135deg,
            var(--primary),
            var(--accent),
            var(--cyan));
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation:
        gradientText 8s linear infinite;
}

@keyframes gradientText {
    0% {
        background-position: 0%;
    }

    100% {
        background-position: 300%;
    }
}

.hero-description {
    font-size: 1.25rem;
    max-width: 650px;
    margin-top: 32px;
    line-height: 2;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: .5;
    animation: floating 8s infinite ease-in-out;
}

.hero-circle.one {
    width: 180px;
    height: 180px;
    background: #5B5DF0;
    top: 20%;
    right: 10%;
}

.hero-circle.two {
    width: 120px;
    height: 120px;
    background: #FF4D8D;
    bottom: 15%;
    left: 8%;
    animation-delay: 2s;
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    width: 34px;
    height: 60px;
    border-radius: 30px;
    border: 2px solid rgba(0, 0, 0, .2);
}

.scroll-indicator::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 0;
        transform:
            translate(-50%, 0);
    }

    70% {
        opacity: 1;
        transform:
            translate(-50%, 24px);
    }

    100% {
        opacity: 0;
        transform:
            translate(-50%, 34px);
    }
}

/*==============================================================
CARD 2.0
==============================================================*/
.card {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 30px;
    background:
        linear-gradient(160deg,
            rgba(255, 255, 255, .92),
            rgba(255, 255, 255, .65));
    backdrop-filter: blur(20px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, .08);
    transition:
        all .55s cubic-bezier(.22, 1, .36, 1);
}

.card:hover {
    transform:
        translateY(-16px) rotateX(4deg) rotateY(-4deg);
    box-shadow:
        0 40px 120px rgba(0, 0, 0, .18);
}

.card img {
    transition: 1s;
}

.card:hover img {
    transform:
        scale(1.05)
}

.step-item {
    position: relative;
    padding: 70px;
    border-radius: 32px;
    background: white;
    transition: .45s;
    overflow: hidden;
}

.step-item:hover {
    transform:
        translateX(20px);
}

.step-number {
    font-size: 8rem;
    font-weight: 900;
    position: absolute;
    right: 40px;
    top: 25px;
    opacity: .05;
    line-height: 1;
    color: var(--primary);
    transition: .5s;
}

.step-item:hover .step-number {
    transform: scale(1.15);
    opacity: .10;
}

.aa-slider {
    border-radius: 34px;
    overflow: hidden;
    box-shadow:
        0 30px 90px rgba(0, 0, 0, .15);
    transition: .5s;
}

.aa-slider:hover {
    transform:
        scale(1.015);
}

.aa-handle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: white;
    box-shadow:
        0 15px 50px rgba(0, 0, 0, .25);
    border: none;
    transition: .4s;
}

.aa-handle:hover {
    transform:
        translate(-50%, -50%) scale(1.15);
}

.aa-label {
    padding:
        10px 18px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: .12em;
    backdrop-filter: blur(16px);
    background:
        rgba(255, 255, 255, .75);
    color: #111;
}

.cta-bloc {
    position: relative;
    padding: 90px;
    border-radius: 40px;
    overflow: hidden;
    background:
        linear-gradient(135deg,
            var(--primary),
            var(--secondary),
            var(--accent));
    color: white;
    box-shadow:
        0 50px 120px rgba(91, 93, 240, .30);
}

.cta-bloc::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    background:
        radial-gradient(circle,
            rgba(255, 255, 255, .25),
            transparent);
    right: -120px;
    top: -120px;
    animation:
        floating 8s infinite;
}

.cta-bloc .btn {
    background: white;
    color: var(--primary);
    font-weight: 800;
}

.cta-bloc .btn:hover {
    background: #111;
    color: white;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .25;
    pointer-events: none;
    animation: floating 10s ease-in-out infinite;
}

.bg-shape.one {
    width: 300px;
    height: 300px;
    background: #5B5DF0;
    top: 10%;
    left: -100px;
}

.bg-shape.two {
    width: 220px;
    height: 220px;
    background: #FF4D8D;
    right: -60px;
    bottom: 20%;
    animation-delay: 2s;
}

.bg-shape.three {
    width: 260px;
    height: 260px;
    background: #3DD9FF;
    left: 45%;
    bottom: -120px;
    animation-delay: 4s;
}

.projet-capture {
    border-radius: 26px;
    overflow: hidden;
    transition: .6s;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, .08);
}

.projet-capture:hover {
    transform:
        translateY(-14px) scale(1.03);
}

.projet-capture img {
    transition: 1.2s;
}

.projet-capture:hover img {
    transform:
        scale(1.12);
}

.section-titre {
    position: relative;
    display: inline-block;
    margin-bottom: 50px;
}

.reveal {
    opacity: 0;
    transform:
        translateY(60px);
    transition:
        1s cubic-bezier(.22, 1, .36, 1);
}

.reveal.active {
    opacity: 1;
    transform: none;
}

.pulse {
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.gradient-ball {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .35;
    pointer-events: none;
    animation: floating 9s ease-in-out infinite;
}

.gradient-ball.primary {
    background: #5B5DF0;
    width: 240px;
    height: 240px;
}

.gradient-ball.pink {
    background: #FF4D8D;
    width: 180px;
    height: 180px;
}

.gradient-ball.cyan {
    background: #3DD9FF;
    width: 220px;
    height: 220px;
}

@media(max-width:991px) {
    .site-header {
        width: 95%;
        top: 10px;
        border-radius: 24px;
    }

    .hero-titre {
        font-size: clamp(3rem, 11vw, 4.5rem);
    }

    .hero-actions {
        flex-direction: column;
    }

    .card {
        border-radius: 24px;
    }

    section {
        padding: 90px 0;
    }
}

* {
    transition:
        background-color .35s,
        color .35s,
        border-color .35s,
        box-shadow .45s,
        transform .45s;
}

::selection {
    background: var(--primary);
    color: white;
}

html {
    scroll-padding-top: 120px;
}

* {
    margin: 0 !important;
}

/* ── Base ────────────────────────────────────────────────── */
body {
    font-family: var(--font-corps);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

p {
    margin-block-end: 16px !important;
}

h1,
h2,
h3,
h4,
.section-titre,
.hero-titre {
    font-family: var(--font-titre);
}

/* ── Couleurs Bootstrap surchargées ─────────────────────── */
a,
a:hover,
a:focus {
    color: var(--primary);
}

.btn-primary {
    background-color: var(--php-accent) !important;
    border-color: var(--php-accent) !important;
    font-weight: bold;
    transform: translateY(0);
    transition: all ease-in-out .2s;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    transform: translateY(-4px);
}

.btn-outline-primary {
    color: var(--text);
    border-color: var(--text);
}

.btn-outline-primary:hover,
.btn-outline-primary:active {
    background-color: var(--text) !important;
    border-color: var(--text) !important;
}

.bg-primaire {
    background-color: var(--primary) !important;
}

.bg-secondaire {
    background-color: var(--php-secondaire) !important;
}

.bg-pink {
    background-color: var(--pink) !important;
}

.bg-gradient {
    background: linear-gradient(to right, #EEF1FA, #FCE7EA) !important;
}

.bg-soft {
    background-color: rgb(57 73 171 / 8%);
    border-left: 4px solid var(--primary);
}

.text-hard {
    color: var(--primary);
}

/* ── En-tête ─────────────────────────────────────────────── */
img.custom-logo {
    max-width: 150px;
    height: auto;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
    box-shadow: 0 1px 12px rgba(0, 0, 0, .04);
}

.navbar-brand-text {
    font-family: var(--font-titre);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.01em;
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: .93rem;
    color: var(--text);
    padding-inline: 1rem;
    transition: color .2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--text);
}

/* ── Surtitre / chapeau ──────────────────────────────────── */
.surtitre {
    color: var(--text);
    font-size: .85rem;
    font-family: var(--font-corps);
}

.ls-wide {
    letter-spacing: var(--ls-wide);
}

/* ── Numéros processus ───────────────────────────────────── */
.processus-numero {
    background-color: var(--primary);
    color: #fff;
}

/* ── Prix tarifs ─────────────────────────────────────────── */
.tarif-prix {
    color: var(--primary);
}

p.tarif-description {
    max-width: 80%;
}

/* ── Hover image réalisation ─────────────────────────────── */
.card:hover .realisation-img {
    transform: scale(1.04);
}

/* ── Contact ────────────────────────────────────────── */
.map {
    border: 24px solid white;
}

/* ── Pied de page ────────────────────────────────────────── */
.site-footer {
    background: linear-gradient(135deg, #151a3d, #1c2470 55%, var(--primary));
    color: rgba(255, 255, 255, .75);
}

.site-footer__nom {
    color: #fff;
    font-family: var(--font-titre);
}

.site-footer__nav .menu-item a {
    color: rgba(255, 255, 255, .6);
    font-size: .9rem;
    transition: color .2s;
    text-decoration: none;
}

.site-footer__nav .menu-item a:hover {
    color: #fff;
}

/* ── Sections espacement vertical ───────────────────────── */
.py-lg-7 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

@media (min-width: 992px) {
    .py-lg-7 {
        padding-top: 7rem !important;
        padding-bottom: 7rem !important;
    }
}

@media (min-width: 768px) {
    .w-md-50 {
        width: 50% !important;
    }
}

/* ═══════════════════════════════════════════════════
HEADER — Pigment Hair Paris
═══════════════════════════════════════════════════ */
.site-header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, .07);
    box-shadow: 0 1px 24px rgba(0, 0, 0, .05);
    transition: box-shadow .3s, background .3s;
    padding-block: 0;
    z-index: 1030;
}

.site-header.scrolled {
    box-shadow: 0 4px 32px rgba(0, 0, 0, .10);
}

/* Conteneur nav */
.site-header .container {
    min-height: 72px;
    display: flex;
    align-items: center;
}

/* ── Logo ─────────────────────────────────────────── */
.navbar-brand {
    padding: 0;
    margin-right: 2.5rem;
    flex-shrink: 0;
}

.navbar-brand img {
    height: 44px;
    width: auto;
}

.navbar-brand-text {
    font-family: var(--font-titre);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.01em;
    line-height: 1;
}

/* ── Nav links ────────────────────────────────────── */
.navbar-nav {
    gap: 0.15rem;
}

.navbar-nav>li>a.nav-link {
    font-family: var(--font-corps);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    padding: 0.5rem 0.9rem;
    transition: color .18s, background .18s;
    position: relative;
    white-space: nowrap;
}

.navbar-nav>li>a.nav-link:hover,
.navbar-nav>li>a.nav-link:focus,
.navbar-nav>li.current-menu-item>a.nav-link,
.navbar-nav>li.current-menu-ancestor>a.nav-link {
    color: var(--php-sombre);
}

@media screen and (max-width:767px) {
    .navbar-nav>li.current-menu-item>a.nav-link::after {
        left: 10%;
    }
}

/* ── Dropdown (sous-menu) ─────────────────────────── */
.navbar-nav .dropdown-toggle::after {
    border: none;
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 4px;
    vertical-align: -2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C2C2C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    transition: transform .2s;
}

.navbar-nav .dropdown.show>a.dropdown-toggle::after {
    transform: rotate(180deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8445A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

.dropdown-menu {
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
    padding: 0.5rem;
    min-width: 220px;
    margin-top: 0.5rem !important;
    animation: dropdown-in .18s ease;
}

@keyframes dropdown-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text);
    padding: 0.55rem 0.9rem;
    border-radius: 6px;
    transition: background .15s, color .15s;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: var(--text);
}

.dropdown-item.active,
.dropdown-item:active {
    background: var(--text);
    color: #fff;
}

/* Séparateur dans le dropdown */
.dropdown-divider {
    border-color: rgba(0, 0, 0, .07);
    margin: 0.35rem 0.5rem;
}

/* ── Burger (mobile) ──────────────────────────────── */
.navbar-toggler {
    border: none;
    padding: 0.4rem;
    border-radius: 8px;
    background: transparent;
    transition: background .2s;
}

.navbar-toggler:hover {
    background: #f8f9fa;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%232C2C2C' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    width: 24px;
    height: 24px;
}

/* ── Dropdown hover desktop ───────────────────────── */
@media (min-width: 992px) {

    /* Le parent reste cliquable et visible — le menu s'ouvre au survol */
    .php-dropdown {
        position: relative;
    }

    .php-dropdown>.dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(6px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
        pointer-events: none;
        /* Écrase Bootstrap qui utilise display:none via JS */
        display: block !important;
    }

    .php-dropdown:hover>.dropdown-menu,
    .php-dropdown:focus-within>.dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* Supprime le caret Bootstrap — on a notre propre SVG */
    .php-dropdown>a.dropdown-toggle::after {
        transition: transform .2s;
    }

    .php-dropdown:hover>a.dropdown-toggle::after {
        transform: rotate(180deg);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8445A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    }

    /* Pont invisible pour ne pas perdre le hover entre le lien et le menu */
    .php-dropdown>.dropdown-menu::before {
        content: '';
        position: absolute;
        top: -10px;
        left: 0;
        right: 0;
        height: 10px;
    }
}

@media (max-width: 991.98px) {
    .mobile-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }

    .mobile-scroll .row {
        width: max-content;
        margin-inline: 0;
    }

    .mobile-scroll .col-sm-6 {
        width: 280px;
        flex: 0 0 auto;
    }

    .mobile-scroll::-webkit-scrollbar {
        display: none;
    }

    .navbar-collapse {
        background: transparent;
        border-top: 1px solid rgba(0, 0, 0, .07);
        margin-top: 0.75rem;
        padding: 1rem 0;
        border-radius: 0 0 12px 12px;
    }

    .navbar-nav>li>a.nav-link {
        padding: 0.65rem 1rem;
        border-radius: 8px;
    }

    .navbar-nav>li>a.nav-link::after {
        display: none;
    }

    .dropdown-menu {
        box-shadow: none;
        border: none;
        background: rgba(232, 68, 90, .04);
        border-radius: 8px;
        margin: 0.25rem 0 0.25rem 1rem !important;
        padding: 0.25rem;
        animation: none;
    }

    .dropdown-item {
        font-size: 0.875rem;
    }
}

/* ── Section Avant/Après ──────────────────────────────────── */
.section-avant-apres {
    overflow: hidden;
}

section.text-white .text-muted,
section.text-white .aa-legende__titre,
section.text-white .aa-legende__desc {
    color: var(--bs-body-bg) !important;
}

.aa-grille {
    display: grid;
    gap: 2rem;
}

.aa-grille.cols-1 {
    grid-template-columns: minmax(320px, 720px);
    justify-content: center;
}

.aa-grille.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.aa-grille.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 991px) {
    .aa-grille {
        grid-template-columns: 1fr !important;
    }
}

/* Slider wrapper */
.aa-slider {
    position: relative;
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(0, 0, 0, .14);
    background: #f3f4f6;
    user-select: none;
    touch-action: pan-y;
}

.aa-slider__img {
    display: block;
    width: 100%;
    /*aspect-ratio: 4 / 3;*/
    object-fit: cover;
}

/* Image "après" clippée par-dessus l'avant */
.aa-slider__apres {
    position: absolute;
    inset: 0;
    overflow: hidden;
    clip-path: inset(0 50% 0 0);
}

.aa-slider__apres img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Labels */
.aa-label {
    position: absolute;
    bottom: 0.75rem;
    background: rgba(0, 0, 0, .65);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.75rem;
    border-radius: 9999px;
    pointer-events: none;
    z-index: 10;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.aa-label--avant {
    left: 0.75rem;
}

.aa-label--apres {
    right: 0.75rem;
}

/* Séparateur vertical */
.aa-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .1);
    z-index: 20;
    pointer-events: none;
}

/* Bouton circulaire */
.aa-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #fff;
    border: 2px solid rgba(0, 0, 0, .12);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.aa-handle__dot {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: var(--php-accent, #e8445a);
}

/* Range input invisible */
.aa-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: col-resize;
    z-index: 40;
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
}

/* Légende */
.aa-legende {
    padding-top: 1.25rem;
    text-align: center;
}

.aa-legende__titre {
    font-family: var(--font-titre);
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 0.35rem;
}

.aa-legende__desc {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT FORM 7 — Pigment Hair Paris
   ═══════════════════════════════════════════════════════════ */
.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.wpcf7-form .hidden-fields-container {
    display: none;
}

.wpcf7-form label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    width: 100%;
}

.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-select,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-corps);
    font-size: 0.95rem;
    color: var(--text);
    background: #fff;
    border: 1.5px solid #e2e2e2;
    border-radius: var(--php-rayon);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    appearance: none;
    -webkit-appearance: none;
}

.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-email:focus,
.wpcf7-form-control.wpcf7-tel:focus,
.wpcf7-form-control.wpcf7-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 68, 90, .12);
}

.wpcf7-form-control.wpcf7-textarea {
    resize: vertical;
    min-height: 140px;
}

.wpcf7-form-control.wpcf7-file {
    width: 100%;
    font-size: 0.875rem;
    color: var(--php-muet);
    padding: 0.6rem 0;
    cursor: pointer;
}

.wpcf7-form-control.wpcf7-file::file-selector-button {
    font-family: var(--font-corps);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.4rem 0.9rem;
    margin-right: 0.75rem;
    border: 1.5px solid var(--primary);
    border-radius: 9999px;
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    transition: background .2s, color .2s;
}

.wpcf7-form-control.wpcf7-file::file-selector-button:hover {
    background: var(--primary);
    color: #fff;
}

.wpcf7-form-control.wpcf7-submit {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    font-family: var(--font-corps);
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: var(--php-accent);
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: background .2s, box-shadow .2s, transform .15s;
}

.wpcf7-form-control.wpcf7-submit:hover {
    background: var(--primary);
    box-shadow: 0 4px 16px rgba(57, 73, 171, .3);
    transform: translateY(-1px);
}

.wpcf7-form-control.wpcf7-submit:active {
    transform: translateY(0);
}

.wpcf7-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(232, 68, 90, .25);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: cf7-spin .7s linear infinite;
    vertical-align: middle;
    margin-left: 0.5rem;
}

@keyframes cf7-spin {
    to {
        transform: rotate(360deg);
    }
}

.wpcf7-not-valid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, .1) !important;
}

.wpcf7-not-valid-tip {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.8rem;
    color: #dc3545;
}

.wpcf7-response-output {
    padding: 0.85rem 1.1rem;
    border-radius: var(--php-rayon);
    font-size: 0.9rem;
    font-weight: 500;
    border: none !important;
    margin: 0 !important;
}

.wpcf7-form.sent .wpcf7-response-output {
    background: #d1fae5;
    color: #065f46;
}

.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output {
    background: #fee2e2;
    color: #991b1b;
}

.wpcf7-form.invalid .wpcf7-response-output {
    background: #fef3c7;
    color: #92400e;
}

.wpcf7-form-control-wrap {
    display: block;
}

.wpcf7-form>p {
    margin: 0;
}

/* ── Pied de page ────────────────────────────────────────── */
.site-footer {
    background: linear-gradient(135deg, #151a3d, #1c2470 55%, var(--primary));
    color: var(--php-white);
    font-size: .9rem;
}

.site-footer a {
    color: var(--php-white);
}

.site-footer a:hover {
    color: var(--php-accent);
}

.site-footer__brand .custom-logo {
    height: 40px;
    width: auto;
    filter: brightness(1) invert(1);
}

.site-footer__nom {
    font-family: var(--font-titre);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--php-white);
    margin: 0 0 .5rem;
}

.site-footer__baseline {
    font-size: .85rem;
    color: var(--php-white);
    margin: .5rem 0 0;
    line-height: 1.5;
}

.site-footer__col-titre {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--php-white);
    margin: 0 0 1rem;
}

.site-footer__liste {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.site-footer__liste a {
    color: var(--php-white);
    text-decoration: none;
    font-size: .875rem;
    transition: color .18s;
}

.site-footer__barre-basse {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.site-footer__copy {
    font-size: .8rem;
    color: var(--php-white);
    margin: 0;
}

.site-footer__copy a {
    color: var(--php-white);
    text-decoration: none;
}

.site-footer__legale {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1.25rem;
}

.site-footer__legale a {
    font-size: .8rem;
    color: var(--php-white);
    text-decoration: none;
    transition: color .18s;
}

@media (max-width: 575px) {
    .site-footer__barre-basse {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ── Fade in up — animation d'apparition ────────────────── */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fade-in-up 0.6s ease forwards;
    opacity: 0;
}

/* Délais échelonnés pour les enfants d'une liste */
.fade-in-up:nth-child(1) {
    animation-delay: 0.05s;
}

.fade-in-up:nth-child(2) {
    animation-delay: 0.15s;
}

.fade-in-up:nth-child(3) {
    animation-delay: 0.25s;
}

.fade-in-up:nth-child(4) {
    animation-delay: 0.35s;
}

.fade-in-up:nth-child(5) {
    animation-delay: 0.45s;
}

.fade-in-up:nth-child(6) {
    animation-delay: 0.55s;
}

/* Variantes de durée */
.fade-in-up--slow {
    animation-duration: 0.9s;
}

.fade-in-up--fast {
    animation-duration: 0.35s;
}

/* Respect des préférences système */
@media (prefers-reduced-motion: reduce) {
    .fade-in-up {
        animation: none;
        opacity: 1;
    }
}

body.home .problemes-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    user-select: none;
    cursor: grab;
}

body.home .problemes-slider.dragging {
    cursor: grabbing;
}

body.home .problemes-slider:active {
    cursor: grabbing;
}

body.home .problemes-slider::-webkit-scrollbar {
    height: 8px;
}

body.home .problemes-slider::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .2);
    border-radius: 999px;
}

/*
|--------------------------------------------------------------------------
| Desktop → 3.5 cards
|--------------------------------------------------------------------------
*/
body.home .probleme-slide {
    flex: 0 0 calc((100% / 3.5) - 1rem);
    min-width: 0;
    scroll-snap-align: start;
}

/*
|--------------------------------------------------------------------------
| Mobile → 1.25 cards
|--------------------------------------------------------------------------
*/
@media (max-width: 767px) {
    body.home .probleme-slide {
        flex: 0 0 80%;
    }
}

/* ── Dropdown desktop (hover) ────────────────────────────── */
@media (min-width: 992px) {
    .php-dropdown {
        position: relative;
    }

    .php-dropdown>.dropdown-menu {
        display: block !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(6px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
        pointer-events: none;
    }

    .php-dropdown:hover>.dropdown-menu,
    .php-dropdown:focus-within>.dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* Pont invisible entre le lien et le menu */
    .php-dropdown>.dropdown-menu::before {
        content: '';
        position: absolute;
        top: -10px;
        left: 0;
        right: 0;
        height: 10px;
    }
}

/* ── Dropdown mobile (click Bootstrap JS) ────────────────── */
@media (max-width: 991.98px) {
    .php-dropdown>.dropdown-menu {
        display: none;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
        position: static !important;
        box-shadow: none;
        border: none;
        background: rgba(232, 68, 90, .05);
        border-radius: 8px;
        margin: 0.25rem 0 0.25rem 1rem !important;
        padding: 0.25rem;
        animation: none;
    }

    .php-dropdown>.dropdown-menu.show {
        display: block;
    }
}

/* ── Bouton toggle dropdown séparé ──────────────────────── */
.php-dropdown {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* Le lien parent prend tout l'espace disponible */
.php-dropdown>.nav-link {
    flex: 1;
}

/* Bouton chevron */
.php-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 37px;
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    border-radius: 6px;
    transition: background .18s, color .18s, transform .2s;
    padding: 0;
}

li.php-dropdown:hover .php-dropdown-toggle,
.php-dropdown-toggle:hover {
    background: rgba(232, 68, 90, .1);
    color: var(--primary);
}

.php-dropdown-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.php-dropdown-toggle svg {
    transition: transform .2s;
    pointer-events: none;
}

/* Le dropdown-menu prend toute la largeur sous le flex parent */
.php-dropdown>.dropdown-menu {
    flex-basis: 100%;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .dropdown-menu {
        position: absolute;
        top: 30px;
    }
}

.google-reviews-header,
.google-reviews-score,
.score-stars,
.google-reviews-avatars {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.google-reviews-inner {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    background: var(--php-white);
    padding: 1rem 2rem;
    border-radius: var(--php-rayon);
    box-shadow: 1px 4px 10px 0px rgba(0, 0, 0, 0.1), 0px 0px 2px 0px rgba(0, 0, 0, 0.05);
}

.ratio-16x9 {
    max-width: 1000px;
}

/* ═══════════════════════════════════════════════════════════
   SECTION HÉRO — image de fond + dégradé overlay
   ═══════════════════════════════════════════════════════════ */
.section-hero {
    position: relative;
}

.section-hero--bg-image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.section-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* Couleurs de marque : dégradé diagonal bleu → rose */
.section-hero--overlay.overlay-marque .section-hero__overlay {
    background: linear-gradient(135deg,
            color-mix(in srgb, var(--primary) calc(var(--hero-overlay-opacite, 70%)), transparent) 0%,
            color-mix(in srgb, var(--php-accent, #e8445a) calc(var(--hero-overlay-opacite, 70%)), transparent) 100%);
}

/* Sombre : assombrit fortement pour un texte blanc lisible */
.section-hero--overlay.overlay-sombre .section-hero__overlay {
    background: color-mix(in srgb, #0c0c14 calc(var(--hero-overlay-opacite, 70%)), transparent);
}

/* Léger : assombrissement neutre seul, sans teinte de marque */
.section-hero--overlay.overlay-leger .section-hero__overlay {
    background: color-mix(in srgb, #000000 calc(var(--hero-overlay-opacite, 70%) * 0.5), transparent);
}

.section-hero .container {
    z-index: 1;
}

.section-hero--overlay.text-white .hero-description {
    color: rgba(255, 255, 255, .88);
}

.section-hero--overlay.text-white .surtitre {
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   FICHE PROJET — héro plein cadre teinté
   ═══════════════════════════════════════════════════════════ */
.projet-hero-cover {
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-block: 6rem;
    overflow: hidden;
}

.projet-hero-cover__overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(160deg,
            color-mix(in srgb, var(--projet-accent) 55%, transparent) 0%,
            color-mix(in srgb, var(--projet-accent) 85%, transparent) 100%);
}

.projet-hero-cover .container {
    z-index: 1;
}

.projet-hero-cover .surtitre {
    color: #fff;
    opacity: .85;
}

.projet-hero-cover .lead {
    color: rgba(255, 255, 255, .9);
}

/* Galerie projet — masonry en colonnes CSS
   Mobile : 2 colonnes · Tablette (≥768px) : 3 colonnes · Desktop (≥992px) : 4 colonnes */
.projet-galerie-masonry {
    column-count: 2;
    column-gap: 1.5rem;
}

@media (min-width: 768px) {
    .projet-galerie-masonry {
        column-count: 3;
    }
}

@media (min-width: 992px) {
    .projet-galerie-masonry {
        column-count: 4;
    }
}

.projet-galerie-masonry__item {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin-bottom: 1.5rem;
}

.projet-capture {
    display: block;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, .07);
}

/* Bandeau CTA de fin de fiche projet */
.cta-bloc {
    box-shadow: 0 20px 60px rgba(57, 73, 171, .25);
}

/* Bouton "voir le site" — reprend la couleur d'accent du projet
   (retombe sur le rose de marque si aucune couleur n'est définie) */
.btn-projet-accent {
    background-color: var(--projet-accent, var(--php-accent, #e8445a)) !important;
    border-color: var(--projet-accent, var(--php-accent, #e8445a)) !important;
    color: #fff !important;
    font-weight: bold;
    transform: translateY(0);
    transition: all ease-in-out .2s;
}

.btn-projet-accent:hover,
.btn-projet-accent:focus {
    background-color: var(--projet-accent) !important;
    border-color: var(--projet-accent) !important;
    transform: translateY(-4px);
}

/* Repère visuel de couleur — héro projet et cartes projet */
.projet-accent-dot {
    display: inline-block;
    width: 0.55em;
    height: 0.55em;
    border-radius: 50%;
    background-color: var(--projet-accent, var(--php-accent, #e8445a));
    flex-shrink: 0;
}