/* ================================
   VARIABLES CSS
   ================================ */
:root {
    /* Couleurs de base */
    --color-green: #6A7D69;
    --color-rose: #b69ab7;
    --color-beige: #efe6dc;
    
    /* Couleurs vives pour les accents */
    --color-green-bright: #8FA88E;
    --color-green-vibrant: #5A6D59;
    --color-rose-bright: #D4A4D8;
    --color-rose-vibrant: #9E749F;
    --color-accent-coral: #E8A598;
    
    /* Texte et fond */
    --color-text: #5A6D59;
    --color-white: #ffffff;
    --color-dark: #1a1a1a;
    
    --font-body: 'Be Vietnam Pro', sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    --transition: all 0.3s ease;
}

/* ================================
   RESET & BASE
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: linear-gradient(135deg, #f5ede4 0%, var(--color-beige) 50%, #f0dfd0 100%);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Polices personnalisées */
/* Dx Sillage appliquée aux titres */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Dx Sillage', var(--font-body);
    font-weight: 700;
    line-height: 1.2;
}

/* Pour utiliser Quildge Demo pour le corps de texte (au lieu de Be Vietnam Pro) : */
/* body {
    font-family: 'Quildge Demo', var(--font-body);
} */

/* ================================
   HEADER
   ================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 230, 220, 0.95) 100%);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(106, 125, 105, 0.15), 0 2px 8px rgba(182, 154, 183, 0.1);
    border-bottom: 1px solid rgba(182, 154, 183, 0.2);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.logo {
    justify-self: start;
}

.logo img {
    height: 65px;
    width: auto;
}

.nav {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    justify-self: center;
}

.nav-link {
    color: var(--color-green-vibrant);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    position: relative;
}

.nav-link:hover {
    color: var(--color-rose-vibrant);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--color-rose-bright);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

/* Menu déroulant */
.nav-dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    padding: var(--spacing-sm);
    margin-top: 0.5rem;
}

.nav-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    color: var(--color-green-vibrant);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
    font-weight: 500;
}

.dropdown-content a:hover {
    background-color: rgba(212, 164, 216, 0.15);
    color: var(--color-rose-vibrant);
    transform: translateX(5px);
}

.btn-contact {
    background: linear-gradient(135deg, var(--color-rose-bright), var(--color-rose-vibrant));
    color: var(--color-white) !important;
    border-radius: 25px;
    padding: 0.75rem 1.5rem !important;
    box-shadow: 0 4px 15px rgba(182, 154, 183, 0.4);
}

.btn-contact:hover {
    background: linear-gradient(135deg, var(--color-green-bright), var(--color-green-vibrant));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(106, 125, 105, 0.5);
}

.btn-contact::after {
    display: none;
}

/* ================================
   RÉSEAUX SOCIAUX SIDEBAR
   ================================ */
.social-sidebar {
    position: fixed;
    right: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    z-index: 1001;
}

.social-sidebar a {
    color: var(--color-white);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--color-green-bright), var(--color-green));
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(106, 125, 105, 0.4);
}

.social-sidebar a:hover {
    background: linear-gradient(135deg, var(--color-rose-bright), var(--color-rose-vibrant));
    transform: scale(1.2) rotate(5deg);
    box-shadow: 0 8px 30px rgba(182, 154, 183, 0.6);
}

/* ================================
   SECTION HERO
   ================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
    background: 
        linear-gradient(135deg, rgba(245, 237, 228, 0.7) 0%, rgba(239, 230, 220, 0.7) 50%, rgba(240, 223, 208, 0.7) 100%),
        url('images/digital-tablet-stylus-pen-laptop-desktop-close-up.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* --- Décorations géométriques --- */
.hero-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(182, 154, 183, 0.2);
}

.hero-ring--1 {
    width: 420px;
    height: 420px;
    top: -80px;
    right: -100px;
    animation: hero-spin 40s linear infinite;
}

.hero-ring--2 {
    width: 280px;
    height: 280px;
    bottom: 60px;
    left: -60px;
    border-color: rgba(106, 125, 105, 0.15);
    animation: hero-spin 30s linear infinite reverse;
}

.hero-dot {
    position: absolute;
    border-radius: 50%;
}

.hero-dot--1 {
    width: 10px;
    height: 10px;
    background: var(--color-rose);
    opacity: 0.35;
    top: 22%;
    left: 12%;
    animation: hero-float 6s ease-in-out infinite;
}

.hero-dot--2 {
    width: 6px;
    height: 6px;
    background: var(--color-green);
    opacity: 0.3;
    top: 35%;
    right: 18%;
    animation: hero-float 8s ease-in-out infinite 1s;
}

.hero-dot--3 {
    width: 8px;
    height: 8px;
    background: var(--color-rose-bright);
    opacity: 0.25;
    bottom: 28%;
    right: 10%;
    animation: hero-float 7s ease-in-out infinite 2s;
}

.hero-curve {
    position: absolute;
    bottom: 15%;
    left: 5%;
    width: 40%;
    height: auto;
    opacity: 0.6;
}

@keyframes hero-spin {
    to { transform: rotate(360deg); }
}

@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

/* --- Conteneur hero --- */
.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100vh - 100px);
    justify-content: center;
}

.hero-content {
    padding: var(--spacing-lg);
}

/* --- Eyebrow (surtitre) --- */
.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-rose-vibrant);
    margin-bottom: 1.8rem;
    opacity: 0;
    transform: translateY(12px);
    animation: hero-fade-up 0.8s ease forwards 0.3s;
}

/* --- Titre --- */
.hero-title {
    font-size: 4.5rem;
    color: var(--color-green-vibrant);
    margin-bottom: 0;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.5);
}

.hero-title-line {
    display: block;
    opacity: 0;
    transform: translateY(20px);
}

.hero-title-line:nth-child(1) {
    animation: hero-fade-up 0.9s ease forwards 0.5s;
}

.hero-title-line:nth-child(2) {
    animation: hero-fade-up 0.9s ease forwards 0.75s;
}

.hero-title-line:nth-child(3) {
    animation: hero-fade-up 0.9s ease forwards 1s;
}

.hero-title em {
    font-style: normal;
    color: var(--color-rose-vibrant);
    position: relative;
}

.hero-title em::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-rose), var(--color-rose-bright));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    animation: hero-underline 0.6s ease forwards 1.6s;
}

/* --- Divider --- */
.hero-divider {
    display: flex;
    justify-content: center;
    margin: 1.8rem 0;
    opacity: 0;
    animation: hero-fade-up 0.6s ease forwards 1.3s;
}

.hero-divider span {
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-green), var(--color-rose));
    border-radius: 2px;
}

/* --- Sous-titre --- */
.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--color-green);
    opacity: 0;
    transform: translateY(12px);
    animation: hero-fade-up 0.8s ease forwards 1.5s;
}

/* --- Scroll indicator --- */
.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--color-green);
    opacity: 0;
    animation: hero-fade-up 0.6s ease forwards 2s;
    transition: color 0.3s ease;
}

.hero-scroll:hover {
    color: var(--color-rose-vibrant);
}

.hero-scroll-text {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-scroll-icon {
    display: flex;
}

.hero-scroll-dot {
    animation: hero-scroll-bounce 2s ease-in-out infinite;
}

@keyframes hero-fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-underline {
    to { transform: scaleX(1); }
}

@keyframes hero-scroll-bounce {
    0%, 100% { cy: 10; opacity: 1; }
    50% { cy: 20; opacity: 0.3; }
}

/* ================================
   SECTION PRÉSENTATION
   ================================ */
.presentation {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
}

.presentation-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.presentation-image {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-photo {
    text-align: center;
}

.photo-placeholder {
    width: 300px;
    height: 300px;
    background-image: url('images/profile-photo.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    margin-bottom: var(--spacing-md);
    box-shadow: 0 15px 40px rgba(182, 154, 183, 0.3);
    border: 3px solid var(--color-rose-bright);
}

.profile-info {
    margin-top: var(--spacing-md);
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-rose-vibrant);
    margin-bottom: 0.5rem;
}

.profile-title {
    font-size: 1.1rem;
    color: var(--color-rose-bright);
    font-weight: 500;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-rose-vibrant);
    margin-bottom: var(--spacing-md);
}

.presentation-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.presentation-text p {
    margin-bottom: 1rem;
}

/* ================================
   SECTION SERVICES
   ================================ */
.services {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(160deg, #ede4da 0%, #e5d9cf 50%, #dbd0c6 100%);
    position: relative;
    overflow: hidden;
}

/* Ambiance lumineuse */
.services::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(182, 154, 183, 0.18) 0%, transparent 65%);
    top: -150px;
    right: -150px;
    pointer-events: none;
}

.services::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(106, 125, 105, 0.12) 0%, transparent 65%);
    bottom: -80px;
    left: -100px;
    pointer-events: none;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 1;
}

/* En-tête section */
.services-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.services-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-rose-vibrant);
    background: rgba(182, 154, 183, 0.15);
    padding: 0.45rem 1.3rem;
    border-radius: 20px;
    margin-bottom: var(--spacing-sm);
    border: 1px solid rgba(182, 154, 183, 0.35);
}

.services-subtitle {
    font-size: 1.15rem;
    color: var(--color-text);
    max-width: 580px;
    margin: 0.8rem auto 0;
    line-height: 1.65;
    opacity: 0.82;
    position: relative;
    z-index: 2;
}

/* Barre tagline */
.services-tagline-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    padding: 1rem 0;
    border-top: 1px solid rgba(182, 154, 183, 0.25);
    border-bottom: 1px solid rgba(182, 154, 183, 0.25);
}

.services-tagline-bar span {
    font-size: 0.88rem;
    color: var(--color-text);
    opacity: 0.6;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.tbar-dot {
    color: var(--color-rose-bright) !important;
    opacity: 1 !important;
    font-size: 1.1rem;
}

/* Grille */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 1100px;
    gap: 2rem;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ---- CARTE ---- */
.service-card {
    position: relative;
    height: 430px;
    perspective: 1200px;
    -webkit-perspective: 1200px;
    animation: fadeInUp 0.8s ease-out both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

.service-card-inner {
    width: 100%;
    height: 100%;
    transition: transform 0.75s cubic-bezier(0.4, 0.2, 0.2, 1);
    -webkit-transition: -webkit-transform 0.75s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    will-change: transform;
}

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

/* Faces communes */
.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 24px;
    /* overflow:hidden désactive backface-visibility sur Safari/WebKit.
       On utilise mask-image pour préserver le border-radius sans ce bug. */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
}

/* ---- FACE AVANT ---- */
.service-card-front {
    background: #1e1e1e;
    cursor: pointer;
}

/* Image de fond */
.service-card-front::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.75;
    z-index: 0;
    transition: transform 0.75s ease, opacity 0.5s ease;
}

.service-card:hover .service-card-front::before {
    transform: scale(1.06);
    opacity: 0.65;
}

/* Gradient bas */
.service-card-front::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.05) 0%,
        rgba(0,0,0,0.1) 35%,
        rgba(0,0,0,0.65) 70%,
        rgba(0,0,0,0.88) 100%
    );
    z-index: 1;
}

/* Images par carte */
#services-cm .service-card-front::before         { background-image: url('images/community.jpg'); }
#services-graphisme .service-card-front::before  { background-image: url('images/graphisme.jpg'); }
#services-photo .service-card-front::before      { background-image: url('images/photographie.jpg'); }
#services-formations .service-card-front::before { background-image: url('images/formation.jpg'); }

/* Grand numéro déco top-right */
.service-number {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    font-size: 5.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.12);
    line-height: 1;
    z-index: 2;
    font-family: 'Dx Sillage', var(--font-body);
    letter-spacing: -0.04em;
    pointer-events: none;
    transition: color 0.4s ease;
}

.service-card:hover .service-number {
    color: rgba(255, 255, 255, 0.22);
}

/* Contenu positionné en bas */
.service-card-front-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.8rem 2rem;
    z-index: 2;
}

.service-icon-small {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.service-card-front-content h3 {
    font-size: 1.65rem;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 0.35rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.service-front-tagline {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 400;
    letter-spacing: 0.05em;
    margin: 0;
}

/* ---- FACE ARRIÈRE ---- */
.service-card-back {
    background: var(--color-white);
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 2.5rem 2rem;
    box-shadow: inset 0 0 0 1px rgba(182, 154, 183, 0.2);
    position: relative;
}

/* Barre accent gauche */
.service-card-back::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18%;
    bottom: 18%;
    width: 4px;
    background: linear-gradient(to bottom, var(--color-rose-bright), var(--color-green-bright));
    border-radius: 0 4px 4px 0;
}

/* Grand numéro watermark */
.service-back-number {
    position: absolute;
    bottom: 1rem;
    right: 1.8rem;
    font-size: 7rem;
    font-weight: 800;
    color: rgba(182, 154, 183, 0.08);
    line-height: 1;
    font-family: 'Dx Sillage', var(--font-body);
    pointer-events: none;
    letter-spacing: -0.04em;
}

.service-card-back h3 {
    font-size: 1.4rem;
    color: var(--color-rose-vibrant);
    margin-bottom: 0.9rem;
    position: relative;
    z-index: 1;
}

.service-card-back p {
    font-size: 0.97rem;
    line-height: 1.75;
    color: var(--color-text);
    margin-bottom: 1.8rem;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, var(--color-rose-vibrant), var(--color-green-vibrant));
    color: var(--color-white);
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(158, 116, 159, 0.3);
    width: fit-content;
}

.service-card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(158, 116, 159, 0.45);
}

/* Lien "Afficher plus" (caché sur desktop) */
.service-card-toggle {
    display: none;
}

/* ================================
   SECTION PORTFOLIO

/* ================================
   SECTION PORTFOLIO
   ================================ */
.portfolio {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
}

.portfolio-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    text-align: center;
}

.portfolio-subtitle {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Filtres */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background-color: var(--color-white);
    color: var(--color-green-vibrant);
    border: 2px solid var(--color-green-vibrant);
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.filter-btn:hover {
    background-color: var(--color-green-bright);
    color: var(--color-white);
    border-color: var(--color-green-bright);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--color-rose-bright), var(--color-green-bright));
    color: var(--color-white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(182, 154, 183, 0.3);
}

/* Grille Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: var(--spacing-lg);
}

@media (min-width: 769px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 2rem;
    }
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    aspect-ratio: 4/3;
    will-change: transform;
    transform: translateZ(0);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    will-change: transform;
    transform: translateZ(0);
}

.portfolio-item:hover {
    transform: translateY(-5px) translateZ(0);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-item:hover img {
    transform: scale(1.05) translateZ(0);
}

/* Overlay */
.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, 
        rgba(90, 109, 89, 0.95) 0%, 
        rgba(90, 109, 89, 0.8) 50%,
        transparent 100%);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    color: var(--color-white);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* Animation d'apparition */
.portfolio-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.portfolio-item:nth-child(1) { animation-delay: 0.1s; }
.portfolio-item:nth-child(2) { animation-delay: 0.2s; }
.portfolio-item:nth-child(3) { animation-delay: 0.3s; }
.portfolio-item:nth-child(4) { animation-delay: 0.4s; }
.portfolio-item:nth-child(5) { animation-delay: 0.5s; }
.portfolio-item:nth-child(6) { animation-delay: 0.6s; }

/* Hidden class pour les filtres */
.portfolio-item.hidden {
    display: none;
}

/* ================================
   LIGHTBOX
   ================================ */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    padding: 2rem;
}

.lightbox-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 95%;
    max-height: 90vh;
    gap: 0;
}

.lightbox-content {
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.4s ease;
    display: block;
    margin: 0 auto;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-caption {
    position: relative;
    color: white;
    text-align: left;
    padding: 1.2rem 1.8rem;
    background: rgba(30, 30, 30, 0.75);
    backdrop-filter: blur(10px);
    border-radius: 0 0 10px 10px;
    max-width: 100%;
    width: 100%;
    margin-top: 0;
    box-sizing: border-box;
}

.lightbox-caption strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-beige);
    font-family: var(--font-body);
    font-weight: 600;
}

.lightbox-caption p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-weight: 300;
}

/* Boutons prev/next */
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

/* Version desktop : texte à côté de l'image */
@media (min-width: 1024px) {
    .lightbox-wrapper {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        max-width: 1200px;
        gap: 0;
    }
    
    .lightbox-content {
        max-width: 70%;
        max-height: 80vh;
        border-radius: 10px 0 0 10px;
        object-position: center;
    }
    
    .lightbox-caption {
        max-width: 30%;
        width: 30%;
        height: auto;
        margin-top: 0;
        padding: 2rem 1.5rem;
        border-radius: 0 10px 10px 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        background: rgba(30, 30, 30, 0.85);
    }
    
    .lightbox-caption strong {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .lightbox-caption p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* ================================
   GOOGLE REVIEWS
   ================================ */
.google-reviews {
    padding: var(--spacing-lg) var(--spacing-md);
    background: var(--color-beige);
}

.google-reviews__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto 2rem;
}

.google-reviews__google-logo {
    flex-shrink: 0;
}

.google-reviews__title {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.google-reviews__summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.google-reviews__score {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
}

.google-reviews__stars {
    display: flex;
    gap: 1px;
}

.google-reviews__count {
    font-size: 0.85rem;
    color: var(--color-text);
    opacity: 0.6;
}

.google-reviews__belt {
    overflow: hidden;
    /* Fondu sur les bords */
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
}

.google-reviews__track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: reviews-scroll 22s linear infinite;
}

.google-reviews__belt:hover .google-reviews__track {
    animation-play-state: paused;
}

@keyframes reviews-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.google-reviews__card {
    width: 320px;
    flex-shrink: 0;
    background: var(--color-white);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.google-reviews__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.google-reviews__card-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.google-reviews__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.google-reviews__name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text);
}

.google-reviews__date {
    display: block;
    font-size: 0.78rem;
    color: var(--color-text);
    opacity: 0.5;
}

.google-reviews__card-stars {
    display: flex;
    gap: 1px;
    margin-bottom: 0.6rem;
}

.google-reviews__text {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--color-text);
    margin: 0;
}

/* ================================
   SECTION CONTACT
   ================================ */
.contact {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, 
        var(--color-beige) 0%, 
        rgba(212, 164, 216, 0.1) 50%,
        var(--color-beige) 100%);
}

.contact-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    align-items: start;
}

/* Informations de contact */
.contact-info {
    animation: slideInLeft 0.8s ease-out;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-intro {
    margin-bottom: var(--spacing-md);
}

.contact-intro h3 {
    font-size: 2rem;
    color: var(--color-rose-vibrant);
    margin-bottom: var(--spacing-sm);
}

.contact-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--color-white);
    border-radius: 15px;
    transition: var(--transition);
    animation: fadeIn 0.8s ease-out;
    box-shadow: 0 5px 20px rgba(182, 154, 183, 0.2);
}

.contact-item:nth-child(1) { animation-delay: 0.2s; opacity: 0; animation-fill-mode: forwards; }
.contact-item:nth-child(2) { animation-delay: 0.4s; opacity: 0; animation-fill-mode: forwards; }
.contact-item:nth-child(3) { animation-delay: 0.6s; opacity: 0; animation-fill-mode: forwards; }

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(182, 154, 183, 0.3);
}

.contact-icon {
    font-size: 2rem;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-green-bright), var(--color-rose-bright));
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(182, 154, 183, 0.25);
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    transform: scale(1.05);
}

.contact-item h4 {
    font-size: 1.1rem;
    color: var(--color-rose-vibrant);
    margin-bottom: 0.3rem;
}

.contact-item p,
.contact-item a {
    font-size: 1rem;
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
}

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

.contact-social {
    padding: 1.5rem;
    background-color: var(--color-white);
    border-radius: 15px;
    animation: fadeIn 0.8s ease-out 0.8s;
    animation-fill-mode: forwards;
    opacity: 0;
    box-shadow: 0 5px 20px rgba(182, 154, 183, 0.2);
}

.contact-social h4 {
    font-size: 1.1rem;
    color: var(--color-rose-vibrant);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-green-bright), var(--color-rose-bright));
    color: var(--color-white);
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(182, 154, 183, 0.3);
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(182, 154, 183, 0.4);
}

/* Formulaire de contact */
.contact-form-wrapper {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(182, 154, 183, 0.2);
    animation: slideInRight 0.8s ease-out;
}

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

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

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-rose-vibrant);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 1rem 1.5rem;
    border: 2px solid rgba(182, 154, 183, 0.3);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: #fafafa;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--color-rose-bright);
    background-color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(182, 154, 183, 0.25);
}

.contact-form select {
    cursor: pointer;
}

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

/* Checkbox RGPD */
.form-group--rgpd {
    margin-bottom: 0.5rem;
}

.rgpd-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-text);
    opacity: 0.8;
}

.rgpd-label input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--color-rose-vibrant);
    cursor: pointer;
}

.rgpd-label a {
    color: var(--color-rose-vibrant);
    text-decoration: underline;
}

.rgpd-label a:hover {
    opacity: 0.8;
}

.btn-submit {
    padding: 1.2rem 2rem;
    background-color: var(--color-rose-bright);
    color: var(--color-white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(182, 154, 183, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(182, 154, 183, 0.4);
    background-color: var(--color-green-bright);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit svg {
    transition: transform 0.3s ease;
}

.btn-submit:hover svg {
    transform: translateX(5px);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* ================================
   FOOTER
   ================================ */
.footer {
    background: linear-gradient(135deg, var(--color-green-vibrant), var(--color-rose-vibrant));
    color: var(--color-white);
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
}

/* ================================
   PAGES DE SERVICES
   ================================ */
/* ================================
   SERVICE PAGES — NEW DESIGN (sp-*)
   ================================ */

/* ---------- HERO ---------- */
.sp-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px var(--spacing-md) 60px;
    overflow: hidden;
    background: linear-gradient(160deg, #f5ede4 0%, var(--color-beige) 40%, rgba(182,154,183,0.12) 100%);
}

.sp-hero__deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.sp-hero__ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(182,154,183,0.18);
}
.sp-hero__ring--1 {
    width: 380px; height: 380px;
    top: -60px; right: -80px;
    animation: hero-spin 50s linear infinite;
}
.sp-hero__ring--2 {
    width: 240px; height: 240px;
    bottom: 40px; left: -50px;
    border-color: rgba(106,125,105,0.12);
    animation: hero-spin 35s linear infinite reverse;
}

.sp-hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: auto;
}

.sp-hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
}

.sp-hero__eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-rose-vibrant);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(10px);
    animation: hero-fade-up 0.7s ease forwards 0.2s;
}

.sp-hero__title {
    font-size: 3.8rem;
    line-height: 1.12;
    color: var(--color-green-vibrant);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 12px rgba(255,255,255,0.7);
    opacity: 0;
    transform: translateY(18px);
    animation: hero-fade-up 0.9s ease forwards 0.4s;
}

.sp-manifesto__intro {
    font-size: 1.55rem;
    line-height: 1.5;
    font-weight: 600;
    color: var(--color-green-vibrant);
    padding-bottom: 2rem;
    letter-spacing: -0.01em;
}

/* ---------- MANIFESTO (quote + image) ---------- */
.sp-manifesto {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--color-white);
}

.sp-manifesto__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.sp-manifesto__mark {
    color: var(--color-rose);
    opacity: 0.35;
    margin-bottom: 1rem;
    display: block;
}

.sp-manifesto__quote blockquote {
    margin: 0;
    padding: 0;
}

.sp-manifesto__quote blockquote p {
    font-size: 1.12rem;
    line-height: 1.85;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.sp-manifesto__quote blockquote p:last-child {
    margin-bottom: 0;
    font-weight: 500;
    color: var(--color-green-vibrant);
}

.sp-manifesto__image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.1);
    position: relative;
}

.sp-manifesto__image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    box-shadow: inset 0 0 0 1px rgba(182,154,183,0.15);
    pointer-events: none;
}

.sp-manifesto__image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.sp-manifesto__image:hover img {
    transform: scale(1.03);
}

/* ---------- PROCESS (numbered cards) ---------- */
.sp-process {
    padding: var(--spacing-xl) var(--spacing-md);
    background: linear-gradient(180deg, var(--color-beige) 0%, rgba(239,230,220,0.4) 100%);
}

.sp-process__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.sp-process__title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--color-green-vibrant);
    margin-bottom: var(--spacing-lg);
}

.sp-process__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.sp-step {
    position: relative;
    background: var(--color-white);
    border-radius: 20px;
    padding: 2.5rem 2rem 2rem;
    box-shadow: 0 6px 24px rgba(0,0,0,0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
}

.sp-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.1);
}

.sp-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-rose), var(--color-green));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.sp-step:hover::before {
    opacity: 1;
}

.sp-step__num {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    font-size: 4rem;
    font-weight: 800;
    font-family: 'Dx Sillage', var(--font-body);
    color: rgba(182,154,183,0.08);
    line-height: 1;
    pointer-events: none;
}

.sp-step__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(182,154,183,0.12), rgba(106,125,105,0.08));
    color: var(--color-rose-vibrant);
    margin-bottom: 1.2rem;
}

.sp-step h3 {
    font-size: 1.25rem;
    color: var(--color-green-vibrant);
    margin-bottom: 0.6rem;
}

.sp-step p {
    font-size: 0.96rem;
    line-height: 1.7;
    color: var(--color-text);
    opacity: 0.9;
}

/* ---------- STATS BAND ---------- */
.sp-stats {
    padding: 3.5rem var(--spacing-md);
    background: linear-gradient(160deg, var(--color-green-vibrant), #4a5d49);
}

.sp-stats__inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.sp-stats__item {
    position: relative;
}

.sp-stats__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255,255,255,0.2);
}

.sp-stats__number {
    font-family: 'Dx Sillage', var(--font-body);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
}

.sp-stats__suffix {
    font-family: 'Dx Sillage', var(--font-body);
    font-size: 1.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
}

.sp-stats__item p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    margin-top: 0.5rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ---------- GALLERY ---------- */
.sp-gallery {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--color-beige);
}

.sp-gallery__inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.sp-gallery__title {
    font-size: 2rem;
    color: var(--color-green-vibrant);
    margin-bottom: 0.5rem;
}

.sp-gallery__subtitle {
    font-size: 1.05rem;
    color: var(--color-text);
    opacity: 0.75;
    margin-bottom: 2.5rem;
}

.sp-gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

@media (min-width: 769px) {
    .sp-gallery__grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

.sp-gallery__grid--photo {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
}

.sp-gallery__item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.sp-gallery__item--tall {
    grid-row: span 2;
}

.sp-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.sp-gallery__item:hover img {
    transform: scale(1.06);
}

.sp-gallery__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(106,125,105,0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.2rem;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.sp-gallery__item:hover .sp-gallery__overlay {
    opacity: 1;
}

.sp-gallery__overlay span {
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.sp-gallery__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    color: var(--color-green-vibrant);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: gap 0.3s ease, color 0.3s ease;
}

.sp-gallery__link:hover {
    gap: 0.9rem;
    color: var(--color-rose-vibrant);
}

/* ---------- TESTIMONIALS ---------- */
.sp-testimonials {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--color-beige);
}

.sp-testimonials__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.sp-testimonials__title {
    text-align: center;
    font-size: 2rem;
    color: var(--color-green-vibrant);
    margin-bottom: var(--spacing-lg);
}

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

.sp-testimonial {
    background: var(--color-white);
    border-radius: 20px;
    padding: 2.2rem 1.8rem;
    margin: 0;
    border: 1px solid rgba(182,154,183,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sp-testimonial:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.sp-testimonial p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.sp-testimonial footer {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.sp-testimonial footer strong {
    font-size: 0.95rem;
    color: var(--color-green-vibrant);
    font-style: normal;
}

.sp-testimonial footer span {
    font-size: 0.82rem;
    color: var(--color-text);
    opacity: 0.6;
    font-style: normal;
}

/* ---------- MARQUEE ---------- */
.sp-marquee {
    padding: 1.8rem 0;
    background: var(--color-white);
    overflow: hidden;
    border-top: 1px solid rgba(182,154,183,0.12);
    border-bottom: 1px solid rgba(182,154,183,0.12);
}

.sp-marquee__track {
    display: flex;
    overflow: hidden;
}

.sp-marquee__content {
    display: flex;
    align-items: center;
    gap: 2rem;
    white-space: nowrap;
    animation: sp-scroll 25s linear infinite;
    will-change: transform;
}

.sp-marquee__content span {
    font-family: 'Dx Sillage', var(--font-body);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-green);
    opacity: 0.55;
    flex-shrink: 0;
}

.sp-marquee__dot {
    width: 6px !important;
    height: 6px;
    border-radius: 50%;
    background: var(--color-rose) !important;
    opacity: 0.4 !important;
    font-size: 0 !important;
    display: inline-block;
    flex-shrink: 0;
}

@keyframes sp-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------- CTA ---------- */
.sp-cta {
    padding: var(--spacing-xl) var(--spacing-md);
    background: linear-gradient(160deg, var(--color-green-vibrant), var(--color-rose-vibrant));
}

.sp-cta__inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.sp-cta h2 {
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.sp-cta p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.sp-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-white);
    color: var(--color-green-vibrant);
    padding: 1rem 2.4rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.sp-cta__btn:hover {
    background: var(--color-beige);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* ---------- WHY (formations only) ---------- */
.sp-why {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--color-white);
}

.sp-why__inner {
    max-width: 1000px;
    margin: 0 auto;
}

.sp-why__title {
    text-align: center;
    font-size: 2rem;
    color: var(--color-green-vibrant);
    margin-bottom: var(--spacing-lg);
}

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

.sp-why__card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(239,230,220,0.5) 0%, rgba(182,154,183,0.08) 100%);
    border: 1px solid rgba(182,154,183,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sp-why__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.sp-why__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-rose-vibrant);
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.sp-why__card h3 {
    font-size: 1.15rem;
    color: var(--color-green-vibrant);
    margin-bottom: 0.5rem;
}

.sp-why__card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text);
    opacity: 0.85;
}

/* ---------- SERVICE PAGES RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .sp-hero__title {
        font-size: 2.8rem;
    }
    .sp-manifesto__inner {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    .sp-manifesto__image {
        order: -1;
    }
    .sp-manifesto__image img {
        height: 300px;
    }
    .sp-stats__inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 2rem;
    }
    .sp-stats__item:nth-child(2)::after {
        display: none;
    }
    .sp-gallery__grid--photo {
        grid-template-columns: repeat(2, 1fr);
    }
    .sp-testimonials__grid {
        grid-template-columns: 1fr;
        max-width: 540px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .sp-hero {
        min-height: 40vh;
        padding-top: 120px;
    }
    .sp-hero__title {
        font-size: 2rem;
    }
    .sp-hero__ring--1,
    .sp-hero__ring--2 {
        display: none;
    }
    .sp-process__grid {
        grid-template-columns: 1fr;
    }
    .sp-why__grid {
        grid-template-columns: 1fr;
    }
    .sp-cta h2 {
        font-size: 1.8rem;
    }
    .sp-stats__inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .sp-stats__number {
        font-size: 2.2rem;
    }
    .sp-stats__item::after {
        display: none;
    }
    .sp-gallery__grid--photo {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 180px;
    }
    .sp-gallery__item--tall {
        grid-row: span 1;
    }
    .sp-manifesto__intro {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .sp-hero__title {
        font-size: 1.6rem;
    }
    .sp-hero__eyebrow {
        font-size: 0.72rem;
    }
    .sp-step {
        padding: 1.8rem 1.4rem 1.5rem;
    }
    .sp-marquee__content span {
        font-size: 1.2rem;
    }
}

/* ================================
   BURGER MENU
   ================================ */
/* ================================
   BURGER MENU
   ================================ */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
    justify-self: end;
}

.burger-line {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-green-vibrant);
    margin: 6px 0;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger.active .burger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger.active .burger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Overlay mobile */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ================================
   RESPONSIVE — TABLETTE (max 1024px)
   ================================ */
@media (max-width: 1024px) {
    /* Présentation */
    .presentation-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-lg);
    }

    /* Hero */
    .hero-title {
        font-size: 3.2rem;
    }

    .hero-ring--1 { width: 280px; height: 280px; }
    .hero-ring--2 { width: 180px; height: 180px; }

    /* Contact */
    .contact-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    /* Services */
    .services-grid {
        max-width: 100%;
    }

    .service-card {
        height: 380px;
        perspective: none;
        -webkit-perspective: none;
    }

    .service-card-inner {
        transform-style: flat;
        -webkit-transform-style: flat;
        transition: none;
    }

    .service-card:hover .service-card-inner {
        transform: none;
        -webkit-transform: none;
    }

    .service-card-front,
    .service-card-back {
        backface-visibility: visible;
        -webkit-backface-visibility: visible;
        -webkit-mask-image: none;
        mask-image: none;
        overflow: hidden;
    }

    .service-card:hover .service-card-front::before {
        transform: none;
        opacity: 0.75;
    }

    .service-card-back {
        transform: none;
        -webkit-transform: none;
        display: none;
    }

    .service-card-toggle {
        display: inline-block;
        position: absolute;
        bottom: 1rem;
        right: 1.2rem;
        margin-bottom: 12px;
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.8rem;
        font-weight: 500;
        text-decoration: none;
        letter-spacing: 0.04em;
        z-index: 3;
        transition: color 0.2s;
    }

    .service-card-toggle:hover {
        color: rgba(255, 255, 255, 0.9);
    }

    .service-front-tagline {
        padding-right: 6rem;
    }

    /* Google reviews — pas de surcharge, le belt gère le layout */
    .google-reviews__card {
        padding: 1.2rem;
    }

    /* Lightbox */
    .lightbox-wrapper {
        flex-direction: column;
    }

    .lightbox-content {
        max-width: 100%;
        border-radius: 10px 10px 0 0;
    }

    .lightbox-caption {
        max-width: 100%;
        width: 100%;
        border-radius: 0 0 10px 10px;
    }
}

/* ================================
   RESPONSIVE — MOBILE (max 768px)
   ================================ */
@media (max-width: 768px) {
    /* --- HEADER & BURGER --- */
    .header {
        padding: 0.8rem 0;
    }

    .header-container {
        grid-template-columns: 1fr auto;
        padding: 0 1rem;
    }

    .logo img {
        height: 45px;
    }

    .burger {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 340px;
        height: 100vh;
        height: 100dvh;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.3rem;
        padding: var(--spacing-lg) var(--spacing-md);
        box-shadow: -8px 0 30px rgba(0,0,0,0.12);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        overflow-y: auto;
    }

    .nav.open {
        right: 0;
    }

    .nav-link {
        font-size: 1.15rem;
        padding: 0.75rem 1.5rem;
        width: 100%;
        text-align: center;
        border-radius: 12px;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(182, 154, 183, 0.12);
    }

    .nav-link::after {
        display: none;
    }

    .btn-contact {
        margin-top: 0.8rem;
        width: auto;
    }

    /* Dropdown mobile */
    .nav-dropdown {
        width: 100%;
        text-align: center;
    }

    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(182, 154, 183, 0.08);
        border-radius: 10px;
        margin-top: 0.2rem;
        padding: 0.4rem;
        min-width: auto;
    }

    .dropdown-content a {
        padding: 0.5rem 1rem;
        font-size: 0.92rem;
        text-align: center;
    }

    /* --- SOCIAL SIDEBAR : masquée sur mobile --- */
    .social-sidebar {
        display: none;
    }

    /* --- HERO --- */
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        padding-top: 80px;
        background-attachment: scroll;
    }

    .hero-container {
        padding: 0 1.2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-eyebrow {
        font-size: 0.72rem;
        letter-spacing: 0.15em;
        margin-bottom: 1.2rem;
    }

    .hero-subtitle {
        font-size: 0.88rem;
        letter-spacing: 0.1em;
    }

    .hero-content {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .hero-ring--1,
    .hero-ring--2 {
        display: none;
    }

    .hero-curve {
        display: none;
    }

    .hero-dot--1,
    .hero-dot--2,
    .hero-dot--3 {
        display: none;
    }

    .hero-scroll {
        bottom: 1.5rem;
    }

    /* --- TITRES --- */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }

    /* --- PRÉSENTATION --- */
    .presentation {
        padding: var(--spacing-lg) 0;
    }

    .presentation-container {
        padding: 0 1.2rem;
    }

    .photo-placeholder {
        width: 220px;
        height: 220px;
    }

    .profile-name {
        font-size: 1.3rem;
    }

    .presentation-text {
        font-size: 0.98rem;
        line-height: 1.75;
    }

    /* --- SERVICES --- */
    .services {
        padding: var(--spacing-lg) 0;
    }

    .services-container {
        padding: 0 1.2rem;
    }

    .services-header {
        margin-bottom: 1.2rem;
    }

    .services-eyebrow {
        font-size: 0.7rem;
    }

    .services-subtitle {
        font-size: 0.95rem;
    }

    .services-tagline-bar {
        gap: 0.5rem;
        margin-bottom: var(--spacing-md);
        padding: 0.75rem 0;
    }

    .services-tagline-bar span {
        font-size: 0.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    /* Désactivation du flip 3D sur mobile */
    .service-card {
        height: 280px;
        perspective: none;
        -webkit-perspective: none;
    }

    .service-card-inner {
        transform-style: flat;
        -webkit-transform-style: flat;
        transition: none;
    }

    .service-card:hover .service-card-inner {
        transform: none;
        -webkit-transform: none;
    }

    /* Rétablir overflow:hidden pour le border-radius (plus besoin du mask-image workaround) */
    .service-card-front,
    .service-card-back {
        backface-visibility: visible;
        -webkit-backface-visibility: visible;
        -webkit-mask-image: none;
        mask-image: none;
        overflow: hidden;
    }

    /* Désactiver le zoom image au hover */
    .service-card:hover .service-card-front::before {
        transform: none;
        opacity: 0.75;
    }

    .service-card-back {
        transform: none;
        -webkit-transform: none;
        display: none;
    }

    /* Petit lien discret en bas à droite de la carte */
    .service-card-toggle {
        display: inline-block;
        position: absolute;
        bottom: 1rem;
        right: 1.2rem;
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.75rem;
        font-weight: 500;
        text-decoration: none;
        letter-spacing: 0.04em;
        z-index: 3;
        transition: color 0.2s;
    }

    .service-card-toggle:hover {
        color: rgba(255, 255, 255, 0.9);
    }

    .service-front-tagline {
        padding-right: 6rem;
    }

    .service-number {
        font-size: 4rem;
    }

    .service-card-front-content h3 {
        font-size: 1.4rem;
    }

    /* --- PORTFOLIO --- */
    .portfolio {
        padding: var(--spacing-lg) 0;
    }

    .portfolio-container {
        padding: 0 1.2rem;
    }

    .portfolio-subtitle {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-md);
    }

    .portfolio-filters {
        gap: 0.4rem;
        margin-bottom: var(--spacing-md);
    }

    .filter-btn {
        padding: 0.55rem 0.9rem;
        font-size: 0.82rem;
        border-width: 1.5px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        margin-top: var(--spacing-md);
    }

    .portfolio-item {
        border-radius: 10px;
    }

    .portfolio-overlay {
        padding: 1rem;
    }

    .portfolio-overlay h3 {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }

    .portfolio-overlay p {
        font-size: 0.78rem;
    }

    /* --- LIGHTBOX --- */
    .lightbox.active {
        padding: 0;
    }

    .lightbox-wrapper {
        max-width: 100%;
        max-height: 100vh;
        max-height: 100dvh;
        border-radius: 0;
        flex-direction: column;
    }

    .lightbox-content {
        max-height: 55vh;
        max-width: 100%;
        border-radius: 0;
    }

    .lightbox-caption {
        border-radius: 0;
        padding: 1rem 1.2rem;
        max-width: 100%;
        width: 100%;
    }

    .lightbox-prev,
    .lightbox-next {
        padding: 0.5rem 0.8rem;
        font-size: 1.2rem;
        border-radius: 8px;
    }

    .lightbox-prev { left: 6px; }
    .lightbox-next { right: 6px; }

    .lightbox-close {
        top: 8px;
        right: 8px;
        font-size: 32px;
        width: 40px;
        height: 40px;
    }

    /* --- GOOGLE REVIEWS --- */
    .google-reviews {
        padding: var(--spacing-md) 0;
    }

    .google-reviews__card {
        padding: 1.2rem;
        width: 280px;
    }

    /* --- CONTACT --- */
    .contact {
        padding: var(--spacing-lg) 0;
    }

    .contact-container {
        padding: 0 1.2rem;
    }

    .contact-layout {
        margin-top: var(--spacing-md);
    }

    .contact-intro h3 {
        font-size: 1.4rem;
    }

    .contact-intro p {
        font-size: 1rem;
    }

    .contact-item {
        padding: 1.1rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        padding: 0.85rem 1rem;
        font-size: 0.95rem;
        border-radius: 10px;
    }

    .btn-submit {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: 10px;
    }

    /* --- FOOTER --- */
    .footer {
        padding: var(--spacing-md) 1rem;
        font-size: 0.88rem;
    }
}

/* ================================
   RESPONSIVE — PETIT MOBILE (max 480px)
   ================================ */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.65rem;
    }

    .hero-content {
        padding: var(--spacing-sm) 0.5rem;
    }

    .hero-eyebrow {
        font-size: 0.65rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .hero-divider {
        margin: 1.2rem 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .photo-placeholder {
        width: 180px;
        height: 180px;
    }

    .profile-name {
        font-size: 1.15rem;
    }

    .profile-title {
        font-size: 0.95rem;
    }

    .presentation-text {
        font-size: 0.92rem;
    }

    .service-card {
        height: 240px;
    }

    .service-card-front-content {
        padding: 1rem 1.2rem;
    }

    .service-card-front-content h3 {
        font-size: 1.2rem;
    }

    .service-front-tagline {
        font-size: 0.8rem;
    }

    .service-card-back {
        padding: 1.5rem 1.2rem 1.2rem;
    }

    .service-card-back h3 {
        font-size: 1.1rem;
    }

    .service-card-back p {
        font-size: 0.88rem;
        margin-bottom: 1rem;
        line-height: 1.6;
    }

    .service-card-link {
        padding: 0.65rem 1.2rem;
        font-size: 0.82rem;
    }

    .service-back-number {
        font-size: 5rem;
    }

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

    .portfolio-item {
        aspect-ratio: 4/3;
    }

    .filter-btn {
        padding: 0.45rem 0.7rem;
        font-size: 0.78rem;
    }

    .lightbox-content {
        max-height: 50vh;
    }

    .lightbox-caption strong {
        font-size: 0.9rem;
    }

    .lightbox-caption p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .google-reviews__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .google-reviews__text {
        font-size: 0.85rem;
    }

    .contact-intro h3 {
        font-size: 1.2rem;
    }

    .contact-item {
        padding: 0.9rem;
        gap: 0.7rem;
    }

    .contact-icon {
        min-width: 40px;
        height: 40px;
        font-size: 1.3rem;
        border-radius: 10px;
    }

    .contact-form-wrapper {
        padding: 1rem;
    }

    .contact-social {
        padding: 1.1rem;
    }

    .social-links a {
        width: 42px;
        height: 42px;
    }
}

/* ================================
   RESPONSIVE — TRÈS PETIT (max 360px)
   ================================ */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.4rem;
    }

    .hero-eyebrow {
        font-size: 0.6rem;
    }

    .photo-placeholder {
        width: 160px;
        height: 160px;
    }

    .service-card-front {
        height: 220px;
    }

    .service-card {
        height: 220px;
    }

    .nav {
        width: 90%;
        max-width: none;
    }
}
