/* ===== L'DERMA - Style principal ===== */
/* Design inspiré Maison Lutetia - Luxe, épuré, élégant */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');

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

:root {
    --primary: #2D3B2D;
    --primary-light: #3d5a3d;
    --primary-dark: #1a251a;
    --accent: #c9a96e;
    --accent-light: #d4bc8e;
    --rose: #c4a08a;
    --rose-bg: #b8908a;
    --white: #ffffff;
    --off-white: #f8f7f4;
    --cream: #f5f3ee;
    --gray-100: #f0efe9;
    --gray-200: #e5e3dc;
    --gray-300: #ccc;
    --gray-500: #888;
    --gray-700: #555;
    --gray-900: #222;
    --black: #111;
    --font-heading: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-elegant: 'Cormorant Garamond', Georgia, serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 400; line-height: 1.2; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ===== HEADER / NAVIGATION ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 40px;
    min-height: 100px;
}

.header-logo img {
    height: 150px;
    width: auto;
}

.header-logo-mobile {
    display: none;
}

.header-navs {
    width: min(1320px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 64px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-left {
    justify-content: flex-end;
}

.nav-right {
    justify-content: flex-start;
}

.main-nav a {
    padding: 22px 14px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    color: var(--gray-700);
    transition: color 0.3s;
    position: relative;
    white-space: nowrap;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 18px;
    right: 18px;
    height: 1px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.nav-item {
    position: relative;
}

.submenu {
    position: absolute;
    top: calc(100% - 8px);
    left: 0;
    min-width: 220px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1001;
}

.submenu a {
    display: block;
    padding: 12px 16px;
    font-size: 11px;
    letter-spacing: 1.5px;
}

.submenu a::after {
    display: none;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-cta {
    margin-left: 14px;
}

.nav-cta a {
    display: inline-block;
    padding: 12px 28px;
    background: var(--primary);
    color: var(--white) !important;
    border-radius: 30px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-cta a:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.nav-cta a::after { display: none; }

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-900);
    margin: 5px 0;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-media video,
.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 30px;
}

.hero-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    font-weight: 400;
    opacity: 0.9;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-text {
    font-size: 16px;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 36px;
    font-weight: 300;
    opacity: 0.9;
}

.hero-cta {
    display: inline-block;
    padding: 16px 40px;
    border: 2px solid var(--white);
    color: var(--white);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
    transition: var(--transition);
}

.hero-cta:hover {
    background: var(--white);
    color: var(--primary);
}

/* ===== SECTIONS COMMUNES ===== */
.section {
    padding: 100px 0;
}

.section.section-no-padding {
    padding: 0;
}

.section-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gray-500);
    margin-bottom: 8px;
    font-weight: 400;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    color: var(--gray-900);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-700);
    max-width: 600px;
    font-weight: 300;
}

.section-text strong {
    font-weight: 600;
    color: var(--gray-900);
}

/* ===== TWO COLUMN LAYOUT ===== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 600px;
}

.two-col-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 60px;
}

.two-col-image {
    overflow: hidden;
}

.two-col-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.two-col:hover .two-col-image img {
    transform: scale(1.03);
}

/* ===== TRAITEMENTS SLIDER ===== */
.treatments-section {
    padding: 100px 0;
    text-align: center;
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.treatments-grid-6 {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.treatment-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 3/4;
    cursor: pointer;
}

.treatment-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.treatment-card:hover img {
    transform: scale(1.08);
}

.treatment-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 16px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.72));
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    box-sizing: border-box;
}

.treatment-card-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.treatment-card-title {
    font-family: var(--font-heading);
    font-size: clamp(13px, 1.3vw, 20px);
    font-weight: 400;
    line-height: 1.25;
    overflow-wrap: break-word;
    hyphens: auto;
}

.treatments-grid-6 .treatment-card-title {
    font-size: clamp(12px, 1.1vw, 16px);
}


/* ===== PRESS / ILS PARLENT DE NOUS ===== */
.press-section {
    background: var(--rose-bg);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.press-section .section-title {
    color: var(--white);
}

.press-section .section-text {
    color: rgba(255,255,255,0.8);
}

.press-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.press-logos span {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== CATEGORIES (Visage, Corps, Soins) ===== */
.categories-section {
    padding: 100px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 3/4;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: var(--white);
}

.category-card-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.category-card-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 12px;
    text-transform: lowercase;
}

.category-card-text {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: 16px;
    font-weight: 300;
}

.category-card-link {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    padding-bottom: 2px;
    transition: border-color 0.3s;
}

.category-card-link:hover {
    border-color: white;
}

/* ===== PAGE INTÉRIEURE ===== */
.page-hero {
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--cream);
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}

.page-hero-bg img {
    width: 100%; height: 100%; object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.page-hero-content .section-label {
    color: rgba(255,255,255,0.8);
}

.page-hero-content .section-title {
    color: var(--white);
}

.page-content {
    padding: 80px 0;
}

.page-content .content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.page-content p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--gray-700);
    margin-bottom: 24px;
}

/* ===== SERVICE PAGE ===== */
.service-detail {
    padding: 80px 0;
}

.service-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.service-image {
    border-radius: 4px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.service-meta {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--gray-200);
}

.service-meta-item {
    text-align: center;
}

.service-meta-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.service-meta-value {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--primary);
}

/* ===== CONTACT FORM ===== */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 30px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 15px;
}

.contact-detail i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-700);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--gray-200);
    border-radius: 2px;
    font-size: 15px;
    font-family: var(--font-body);
    transition: border-color 0.3s;
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-submit {
    display: inline-block;
    padding: 16px 48px;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 20px;
    filter: brightness(10);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.7;
    max-width: 300px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-links a {
    display: block;
    padding: 4px 0;
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--white);
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    opacity: 0.6;
}

/* ===== FLOATING BAR ===== */
/* ===== WHATSAPP STICKY ===== */
.whatsapp-sticky {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
}

.whatsapp-sticky-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 14px 28px;
    border-radius: 50px;
    box-shadow: 0 4px 24px rgba(37,211,102,0.45);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.25s, box-shadow 0.25s, transform 0.2s;
}

.whatsapp-sticky-btn:hover {
    background: #1ebe5d;
    box-shadow: 0 6px 30px rgba(37,211,102,0.55);
    transform: translateX(-50%) translateY(-2px);
}

.whatsapp-sticky-btn .fa-whatsapp {
    font-size: 20px;
}

/* ===== PAGES OBJECTIFS ===== */
.objectifs-hero {
    padding: 200px 0 80px;
    margin-top: 0;
    background: var(--cream);
    text-align: center;
}

.objectifs-hero .section-label { display: block; margin-bottom: 12px; }

.objectifs-list {
    list-style: none;
    margin: 24px 0 32px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.objectifs-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--gray-700);
}

.objectifs-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.objectifs-soins {
    padding: 80px 0;
}

.objectifs-soins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.objectif-soin-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.objectif-soin-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.objectif-soin-card img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.objectif-soin-card-body {
    padding: 20px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.objectif-soin-card-body h3 {
    font-size: 1.1rem;
    color: var(--primary);
}

.objectif-soin-card-body p {
    font-size: 0.9rem;
    color: var(--gray-700);
    flex: 1;
}

.objectif-soin-card-body .card-link {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    font-weight: 500;
    margin-top: 8px;
}

/* ===== PAGE SERVICE DÉTAIL ===== */
.service-section-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary);
    margin: 32px 0 12px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.service-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 8px;
}

.service-cta-question {
    background: var(--cream);
    padding: 60px 0;
    text-align: center;
}

.service-cta-question h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-cta-question p {
    margin-bottom: 28px;
    color: var(--gray-700);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s;
}

.btn-whatsapp:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
}

.btn-whatsapp .fa-whatsapp { font-size: 18px; }

/* ===== PAGE SERVICE – ARTICLE STYLISÉ ===== */
.sc-article {
    padding: 60px 0 0;
    background: var(--white);
}

.sc-container {
    max-width: 860px;
}

/* Badges prix / durée */
.sc-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.sc-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cream);
    border: 1px solid var(--gray-200);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
}

.sc-badge i { color: var(--accent); font-size: 14px; }

.sc-badge-wa {
    background: #e8f9ef;
    border-color: #b2eacc;
    color: #1a7a3c;
    text-decoration: none;
    transition: background 0.2s;
}

.sc-badge-wa:hover { background: #d0f5e3; }
.sc-badge-wa i { color: #25D366; }

/* Contenu texte formaté */
.sc-content { line-height: 1.8; }

.sc-section-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary);
    margin: 36px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--gray-200);
}

.sc-para {
    font-size: 0.97rem;
    color: var(--gray-700);
    margin: 0 0 14px;
}

.sc-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sc-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--gray-700);
    padding: 8px 12px;
    background: var(--cream);
    border-radius: 4px;
}

.sc-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 7px;
}

/* Diviseur tarif */
.sc-tarif-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 36px 0 20px;
}

.sc-tarif-divider::before,
.sc-tarif-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--accent);
    opacity: 0.4;
}

.sc-tarif-divider span {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--primary);
    white-space: nowrap;
    font-style: italic;
}

/* Grille de tarifs texte */
.sc-tarif-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
    margin-bottom: 16px;
}

.sc-tarif-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    gap: 8px;
}

.sc-tarif-label {
    font-size: 12px;
    color: var(--gray-700);
    flex: 1;
}

.sc-tarif-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

.sc-tarif-note {
    grid-column: 1 / -1;
    font-size: 12px;
    color: var(--gray-500);
    font-style: italic;
    padding: 6px 0;
}

/* Images de tarifs */
.sc-tarif-images {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-200);
}

.sc-tarif-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 28px;
    text-align: center;
}

.sc-tarif-imgs-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}

.sc-tarif-imgs-2 { grid-template-columns: repeat(2, 1fr); }
.sc-tarif-imgs-3 { grid-template-columns: repeat(3, 1fr); }
.sc-tarif-imgs-4 { grid-template-columns: repeat(2, 1fr); }

.sc-tarif-img-wrap {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.sc-tarif-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* CTA inline */
.sc-inline-cta {
    margin: 48px 0 60px;
    text-align: center;
}

/* Section liés */
.sc-related {
    background: var(--cream);
    padding: 70px 0;
}

/* ===== FORFAITS (page soins) ===== */
.soins-forfaits {
    padding: 80px 0;
    background: var(--cream);
}

.forfaits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.forfait-card {
    display: block;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.25s, box-shadow 0.25s;
    background: var(--white);
}

.forfait-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.13);
}

.forfait-card img {
    width: 100%;
    height: auto;
    display: block;
}

.forfait-card-label {
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    text-align: center;
    letter-spacing: 0.3px;
}

/* ===== GRILLE TARIFS 4 COLONNES + LIGHTBOX (page soins) ===== */
.tarifs-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tarif-thumb {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s;
    background: var(--white);
}

.tarif-thumb:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.14);
}

.tarif-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.tarif-thumb-label {
    display: block;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--primary);
    text-align: center;
    letter-spacing: 0.2px;
}

/* Lightbox */
.tarif-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}
.tarif-lightbox.open { display: flex; }

.tarif-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    z-index: 1;
}

.tarif-lightbox-body {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tarif-lightbox-body img {
    max-width: 100%;
    max-height: 82vh;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.tarif-lightbox-label {
    color: #fff;
    margin-top: 14px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

@media (max-width: 1024px) {
    .tarifs-grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .tarifs-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .tarif-thumb-label { font-size: 11px; padding: 8px 8px; }
}
@media (max-width: 480px) {
    .tarifs-grid-4 { grid-template-columns: 1fr; }
}

/* ===== AVANT/APRÈS – nouvelle galerie ===== */
.aa-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.aa-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s;
}
.aa-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.14);
}

.aa-card-img {
    position: relative;
    overflow: hidden;
}
.aa-card-img img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.aa-card:hover .aa-card-img img { transform: scale(1.04); }

.aa-card-zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0);
    transition: background 0.25s;
}
.aa-card:hover .aa-card-zoom { background: rgba(0,0,0,0.28); }

.aa-card-zoom i {
    color: #fff;
    font-size: 26px;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.25s, transform 0.25s;
}
.aa-card:hover .aa-card-zoom i { opacity: 1; transform: scale(1); }

.aa-card-footer {
    padding: 12px 14px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.aa-card-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
}
.aa-card-link {
    font-size: 11px;
    color: var(--accent);
    white-space: nowrap;
    text-decoration: none;
    letter-spacing: 0.3px;
}
.aa-card-link:hover { text-decoration: underline; }

/* Lightbox avant/après */
.aa-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}
.aa-lightbox.open { display: flex; }

.aa-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 38px;
    cursor: pointer;
    line-height: 1;
    z-index: 1;
}

.aa-lightbox-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 92vw;
    max-height: 92vh;
}
.aa-lightbox-body img {
    max-width: 100%;
    max-height: 82vh;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
    object-fit: contain;
}
.aa-lightbox-label {
    color: #fff;
    margin-top: 16px;
    font-size: 16px;
    font-weight: 500;
}

/* Responsive aa-grid */
@media (max-width: 1024px) { .aa-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  {
    .aa-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .aa-card-img img { height: 200px; }
}
@media (max-width: 480px)  { .aa-grid { grid-template-columns: 1fr; } }

/* ===== AVANT/APRÈS (ancien, conservé pour compatibilité) ===== */
.avant-apres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.avant-apres-card {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.avant-apres-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.avant-apres-card-label {
    padding: 16px 20px;
    background: var(--white);
    font-size: 13px;
    color: var(--gray-500);
    text-align: center;
}

.disclaimer-legal {
    font-size: 11px;
    color: var(--gray-500);
    text-align: center;
    margin-top: 32px;
    font-style: italic;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SOINS LIST PAGE ===== */
.services-list {
    padding: 80px 0;
}

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

.service-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}

.service-card-image {
    height: 360px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

@media (max-width: 768px) {
    .service-card-image { height: 240px; }
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-body {
    padding: 24px;
}

.service-card-body h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.service-card-body .subtitle {
    font-size: 13px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.service-card-body p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 16px;
}

.service-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.service-card-price {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--primary);
}

.service-card-link {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    color: var(--primary);
    transition: color 0.3s;
}

/* ===== AVIS CLIENT(E)S ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 26px;
}

.testimonial-rating {
    color: var(--accent);
    margin-bottom: 14px;
    font-size: 14px;
    display: flex;
    gap: 4px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 16px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.testimonial-dash {
    color: var(--accent);
    font-size: 18px;
    line-height: 1;
}

.testimonial-author strong {
    color: var(--gray-900);
    font-size: 15px;
}

.testimonial-author span {
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== ALERT MESSAGES ===== */
.alert {
    padding: 16px 24px;
    border-radius: 4px;
    margin-bottom: 24px;
    font-size: 14px;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
}

.alert-error {
    background: #ffebee;
    color: #c62828;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .header-inner { padding: 0 20px; }
    .header-navs { gap: 12px; }
    .header-logo img { height: 120px; }
    .main-nav a { padding: 18px 10px; font-size: 10px; letter-spacing: 1.5px; }
    .nav-cta a { padding: 10px 18px; }
    .sc-tarif-imgs-4 { grid-template-columns: repeat(2, 1fr); }
    .sc-tarif-imgs-3 { grid-template-columns: repeat(2, 1fr); }
    .forfaits-grid { grid-template-columns: repeat(2, 1fr); }
    .two-col { grid-template-columns: 1fr; }
    .two-col-content { padding: 60px 30px; }
    .treatments-grid { grid-template-columns: repeat(2, 1fr); }
    .treatments-grid-6 { grid-template-columns: repeat(3, 1fr); }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .service-info { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* Service article */
    .sc-article { padding: 40px 0 0; }
    .sc-badges { gap: 8px; }
    .sc-badge { font-size: 12px; padding: 8px 14px; }
    .sc-section-title { font-size: 1.1rem; }
    .sc-tarif-grid { grid-template-columns: 1fr; }
    .sc-tarif-imgs-2,
    .sc-tarif-imgs-3,
    .sc-tarif-imgs-4 { grid-template-columns: 1fr; }
    .sc-tarif-title { font-size: 1.2rem; }
    /* Forfaits */
    .forfaits-grid { grid-template-columns: 1fr; gap: 16px; }
    /* Header mobile */
    .menu-toggle { display: block; }
    .header-inner {
        min-height: 88px;
        justify-content: flex-end;
    }
    .header-logo-mobile {
        display: inline-flex;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 1002;
    }
    .header-logo-mobile img {
        height: 90px;
        width: auto;
    }
    .header-logo img {
        height: 90px;
    }
    .header-navs { display: none !important; }
    .hero { min-height: 500px; margin-top: 80px; }
    .hero-title { font-size: 2rem; }
    .section { padding: 60px 0; }
    .treatments-grid { grid-template-columns: 1fr; }
    .treatments-grid-6 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .categories-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .whatsapp-sticky { bottom: 16px; }
    .whatsapp-sticky-btn { font-size: 12px; padding: 12px 20px; }
    .services-grid { grid-template-columns: 1fr; }
    .press-logos { gap: 24px; }
    .press-logos span { font-size: 16px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    /* Objectifs – restaurer le padding mobile */
    .objectifs-hero { padding: 110px 0 60px; }
    .objectif-soin-card img { height: 360px; }
}

/* ===== SIDEBAR MOBILE (hors du header, au niveau body) ===== */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    backdrop-filter: blur(2px);
}
.mobile-overlay.open { display: block; }

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    z-index: 10001;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: -4px 0 28px rgba(0,0,0,0.15);
}
.mobile-sidebar.open { transform: translateX(0); }

.mobile-sidebar-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--gray-700);
    cursor: pointer;
    padding: 8px;
    z-index: 1;
}

.mobile-sidebar-logo {
    display: block;
    text-align: center;
    padding: 24px 20px 12px;
    border-bottom: 1px solid var(--gray-200);
}
.mobile-sidebar-logo img {
    height: 70px;
    width: auto;
    margin: 0 auto;
}

.mobile-sidebar-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}

.mobile-sidebar-links > a {
    display: block;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-900);
    border-bottom: 1px solid var(--gray-200);
    text-decoration: none;
    transition: background 0.15s;
}
.mobile-sidebar-links > a:hover { background: var(--cream); }

.mobile-group { border-bottom: 1px solid var(--gray-200); }

.mobile-group-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-900);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}
.mobile-group-toggle i {
    font-size: 11px;
    transition: transform 0.2s;
    color: var(--gray-500);
}
.mobile-group.open .mobile-group-toggle i {
    transform: rotate(180deg);
}

.mobile-group-sub {
    display: none;
    flex-direction: column;
    background: var(--cream);
    padding: 4px 0;
}
.mobile-group.open .mobile-group-sub {
    display: flex;
}
.mobile-group-sub a {
    display: block;
    padding: 11px 24px 11px 38px;
    font-size: 13px;
    color: var(--gray-700);
    text-decoration: none;
    transition: background 0.15s;
}
.mobile-group-sub a:hover { background: rgba(0,0,0,0.04); }

.mobile-sidebar-cta {
    display: block;
    margin: 12px 20px 24px;
    padding: 14px;
    text-align: center;
    background: var(--primary);
    color: var(--white) !important;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
}

/* Masquer le sidebar sur desktop */
@media (min-width: 769px) {
    .mobile-sidebar,
    .mobile-overlay { display: none !important; }
}
