:root {
    --service-card-height: 520px;
}

@media (max-width:1200px) {
    :root {
        --service-card-height: 500px;
    }
}

@media (max-width:720px) {
    :root {
        --service-card-height: 460px;
    }
}

:root {
    --bg: #ffffff;
    --card: #ffffff;
    --accent: #c9a27a;
    --muted: #667085;
    /* texte secondaire lisible sur fond clair */
    --glass: rgba(0, 0, 0, 0.04);
    --radius: 14px;
    --max-width: 1200px;
    --container-padding: 28px;
    color-scheme: light;
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

* {
    box-sizing: border-box
}

html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

body {
    margin: 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
    color: #1f2937;
    /* gris très foncé pour une lecture confortable */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    min-height: 100%;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    backdrop-filter: saturate(120%) blur(6px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.85));
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 40;
}

/* Mobile header transparency while scrolling */
@media (max-width: 900px) {
    .site-header {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.60), rgba(255, 255, 255, 0.48));
        backdrop-filter: saturate(120%) blur(8px);
    }

    .site-header.is-scrolled {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.68));
    }
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 2px var(--container-padding);
}

/* Make header container a positioning context for dropdown */
.site-header .container {
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.logo {
    width: 128px;
    height: 128px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #8a6a43;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    box-shadow: none;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: inherit;
}

.brand-text .name {
    font-weight: 600;
    font-family: 'Playfair Display', serif
}

.brand-text .tag {
    font-size: 13px;
    color: var(--muted);
    margin-top: 2px
}

/* Hide brand text to show only the logo */
.brand-text {
    display: none;
}

.nav a {
    color: #384152;
    text-decoration: none;
    margin-left: 18px;
    font-weight: 600;
    font-size: 14px;
}

/* header social bar removed as requested */

/* Social bar below footer */
.footer-social-bar {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(45deg, #e93196, #9414b9, #ff7403);
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
}

.footer-social-bar .fb-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(45deg, #e93196, #9414b9, #ff7403);
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
    border: none;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
    transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease, filter .18s ease;
}

.footer-social-bar .fb-icon:hover {
    transform: translateY(-2px) scale(1.04);
    opacity: .98;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .22);
    filter: brightness(1.02);
}

.footer-social-bar .fb-icon:active {
    transform: translateY(0) scale(0.98);
    filter: brightness(.98);
}

.footer-social-bar .fb-icon:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(24, 119, 242, .25), 0 8px 20px rgba(0, 0, 0, .2);
}

.footer-social-bar .fb-icon svg {
    width: 24px;
    height: 24px;
    display: block;
    overflow: visible;
    /* ensure no internal clipping */
    transform: translateY(1px);
    /* optical centering of the glyph */
}

@media (prefers-reduced-motion: reduce) {
    .footer-social-bar {
        animation: none;
    }
}

.nav .cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(45deg, #e93196, #9414b9, #ff7403);
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
    padding: 14px 24px;
    border-radius: 999px;
    margin-left: 22px;
    font-weight: 700;
    box-shadow: 0 10px 28px rgba(233, 49, 150, 0.26);
    border: none;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    will-change: transform;
}

.nav .cta:hover {
    transform: translateY(-2px) scale(1.03);
}

.nav .cta:active {
    transform: translateY(0) scale(0.98);
}

.nav .cta:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(233, 49, 150, .25), 0 12px 28px rgba(233, 49, 150, .26);
}

/* ===== Header navigation with sophisticated submenu ===== */
.nav {
    position: relative;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-block;
    padding: 8px 10px;
    border-radius: 8px;
    color: #384152;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .02em;
}

.nav-link:hover {
    background: rgba(0, 0, 0, 0.04);
}

/* Hamburger button */
.nav-toggle {
    display: none;
    position: relative;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    background: #fff;
}

.nav-toggle::before,
.nav-toggle::after,
.nav-toggle .bar {
    content: '';
    position: absolute;
    left: 50%;
    width: 22px;
    height: 2px;
    background: #384152;
    border-radius: 2px;
    transform: translateX(-50%);
    transition: transform .18s ease, opacity .18s ease, top .18s ease;
}

.nav-toggle::before {
    top: 12px;
}

.nav-toggle .bar {
    top: 19px;
}

.nav-toggle::after {
    top: 26px;
}

.nav-toggle.is-active::before {
    top: 19px;
    transform: translateX(-50%) rotate(45deg);
}

.nav-toggle.is-active .bar {
    opacity: 0;
}

.nav-toggle.is-active::after {
    top: 19px;
    transform: translateX(-50%) rotate(-45deg);
}

/* Mega menu */
.has-submenu .mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    /* start slightly offset for a soft reveal, but without creating a hover gap */
    transform: translateX(-50%) translateY(8px);
    min-width: 640px;
    max-width: min(92vw, 920px);
    background: linear-gradient(180deg, #ffffff, #fafbfc);
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 14px 16px 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    z-index: 50;
}

.has-submenu:hover .mega-menu,
.has-submenu:focus-within .mega-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Create a small invisible hover bridge so moving the mouse from trigger to panel doesn't close it */
.has-submenu::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
    /* matches the visual gap to prevent flicker */
}

.mega-header {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 16px;
    color: #1f2937;
    padding: 6px 6px 10px 6px;
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 8px 14px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-item {
    list-style: none;
}

.mega-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
    color: #2f2b29;
}

.mega-link:hover {
    background: #f6f7f9;
}

.mega-link .title {
    font-weight: 600;
}

.mega-link .desc {
    font-size: 12px;
    color: #6f6a66;
}

@media (max-width: 900px) {
    .nav-list {
        flex-wrap: wrap;
        gap: 6px;
    }

    .has-submenu .mega-menu {
        left: 0;
        transform: translateX(0) translateY(6px);
        min-width: 92vw;
    }

    .has-submenu:hover .mega-menu,
    .has-submenu:focus-within .mega-menu {
        transform: translateY(0);
    }
}

/* Hero */
.hero {
    padding: 0;
    /* image directly under header */
    position: relative;
    /* allow overlayed copy */
}

.hero-inner {
    /* Stack content so the image can sit directly under the header */
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.hero-copy h1 {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    margin: 0 0 14px 0;
    letter-spacing: 0.2px;
}

.hero-copy p {
    color: #ffffff;
    /* paragraph in white over hero image */
    max-width: 620px;
}

.hero-actions {
    margin-top: 20px;
    display: flex;
    gap: 12px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 36px;
    /* plus haut et plus large */
    border-radius: 999px;
    /* pilule */
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    /* plus grand */
    line-height: 1;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    will-change: transform;
}

.btn:hover {
    transform: translateY(-2px) scale(1.03);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(233, 49, 150, .25), 0 12px 28px rgba(233, 49, 150, .26);
}

.btn-primary {
    background: linear-gradient(45deg, #e93196, #9414b9, #ff7403);
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 28px rgba(233, 49, 150, 0.26);
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
}

.btn-outline {
    border: none;
    color: #ffffff;
    background: linear-gradient(45deg, #e93196, #9414b9, #ff7403);
    box-shadow: 0 10px 28px rgba(233, 49, 150, 0.22);
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn {
        transition: none;
    }

    .btn-primary,
    .btn-outline {
        animation: none;
    }
}

/* Hero media card (decorative) */
.media-card {
    height: 80vh;
    /* image occupies 80% of viewport height */
    border-radius: 18px;
    background:
        radial-gradient(1000px 380px at 10% 20%, rgba(201, 162, 122, 0.18), transparent 12%),
        linear-gradient(180deg, #ffffff, #f5f7fa);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Make the hero image full-bleed across the viewport width */
.hero-media {
    order: -1;
    /* place image just after the header */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Keep hero full-bleed across all breakpoints */

/* Overlay the headline, paragraph and buttons on top of the hero image */
.hero-copy {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80vh;
    /* matches image height */
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
    z-index: 2;
}

/* Slight text enhancement for readability over photos */
.hero-copy h1 {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero-copy p {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.media-card .hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 115, 0, 0.42) 0%, rgba(255, 0, 195, 0.42) 100%);
    pointer-events: none;
}

/* When showing services.html inside the hero, hide overlayed texts and overlay */
.hero.showing-services .hero-copy {
    display: none;
}

.hero.showing-services .media-overlay {
    display: none;
}

/* Wrapper for embedded services content inside the hero */
.hero-services-embed {
    width: 100%;
    height: 100%;
    overflow: auto;
    background: transparent;
}

/* Sections */
.section {
    padding: 56px 0
}

.section h2 {
    font-family: 'Playfair Display', serif;
    margin: 0 0 18px 0;
    font-size: 28px
}

/* Colorize specific section titles */
.section.about h2 {
    color: #e93196;
}

.muted {
    color: var(--muted)
}

/* Services cards */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 18px;
}

.card {
    background: var(--card);
    padding: 18px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card h3 {
    margin: 0 0 8px 0;
    font-size: 18px
}

.card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

/* About */
.section.about {
    /* Descendre le contenu (titre + stats) de 50px */
    padding-top: calc(56px + 50px);
}

.about-inner {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between
}

.about-text {
    flex: 1
}

.about-stats {
    display: flex;
    gap: 18px
}

.stat {
    position: relative;
    background: #ffffff;
    padding: 20px 20px 24px;
    border-radius: 14px;
    text-align: center;
    min-width: 120px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 14px 40px -12px rgba(42, 14, 58, .12);
    overflow: hidden;
}

/* ================= Testimonials ================= */
.testimonials {
    padding: 60px 0 70px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
}

.testimonials .t-wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.testimonials .t-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 32px;
    margin: 0 0 18px;
    letter-spacing: .2px;
    color: #1f2937;
}

.t-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 980px) {
    .t-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .t-grid {
        grid-template-columns: 1fr;
    }
}

.t-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
}

.t-card--main {
    background: linear-gradient(180deg, #fff9fd, #fff);
    border: 1.5px solid transparent;
    border-image: linear-gradient(45deg, #e93196, #9414b9, #ff7403) 1;
    box-shadow: 0 14px 34px rgba(233, 49, 150, .14);
}

.t-card--soft {
    background: #ffffff;
}

.t-text {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.6;
    color: #2a303b;
}

.t-name {
    font-weight: 600;
    color: #384152;
}

.t-dots {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
}

.t-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cfd6dd;
}

.t-dots .dot--active {
    background: linear-gradient(45deg, #e93196, #9414b9, #ff7403);
}

.stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--accent)
}

.stat-label {
    font-size: 13px;
    color: var(--muted);
    margin-top: 6px
}

/* Subtle gradient bar accent at the bottom of about stats */
.stat::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, #e93196, #9414b9, #ff7403);
    opacity: .9;
}

/* Booking form */
.booking-form {
    max-width: 820px
}

.form-row {
    display: flex;
    gap: 12px;
    margin-top: 12px
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="date"],
.form-row select {
    flex: 1;
    padding: 12px 14px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: #1f2937;
}

.form-row input:focus,
.form-row select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(201, 162, 122, 0.2);
}

.form-actions {
    align-items: center
}

.booking-msg {
    color: var(--muted);
    font-size: 14px;
    margin-left: 12px
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 22px 0;
    margin-top: 32px
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted)
}

@media (max-width:900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .cards {
        grid-template-columns: 1fr
    }

    .about-inner {
        flex-direction: column;
        align-items: flex-start
    }

    .site-header .container {
        padding: 12px var(--container-padding)
    }

    /* Make header truly sticky via fixed on mobile */
    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
    }

    /* Reserve space below the fixed header */
    body {
        padding-top: var(--header-h, 72px);
    }

    /* Mobile nav behaviour */
    .nav-toggle {
        display: inline-flex;
        position: absolute;
        top: 50%;
        right: var(--container-padding);
        transform: translateY(-50%);
        z-index: 70;
    }

    .nav {
        margin-left: auto;
        position: static;
        width: 100%;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: 0;
        background: #fff;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 12px;
        padding: 10px 8px;
        box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
        flex-direction: column;
        gap: 6px;
        z-index: 60;
        opacity: 0;
        transform: translateY(-6px);
        transition: opacity .18s ease, transform .18s ease;
    }

    .nav.is-open .nav-list {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    /* Submenu becomes inline content on mobile */
    .has-submenu .mega-menu {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        min-width: unset;
        max-width: unset;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 6px 4px 8px;
    }

    .mega-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav .cta {
        animation: none;
    }
}

/* --- Services strip (cartes avec CTA "En savoir plus") --- */
.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
    /* prevent line breaks */
}

.services-strip {
    padding: 56px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    align-items: stretch;
    /* mêmes hauteurs de piste */
}

.service-card {
    display: flex;
    flex-direction: column;
    height: var(--service-card-height);
    /* même hauteur pour toutes les cartes */
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.05);

    overflow: hidden;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
}

.service-media {
    position: relative;
    height: calc(var(--service-card-height) / 2);
    /* moitié haute dédiée à l'image */
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-body {
    height: calc(var(--service-card-height) / 2);
    /* moitié basse de la carte */
    display: flex;
    flex-direction: column;
    padding: 0;
    /* pas de padding pour garder des hauteurs exactes */
}

.service-title {
    margin: 0;
    padding: 16px 16px 8px 16px;
    font-size: 18px;
    font-family: 'Playfair Display', serif;
}

.service-desc {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    /* cohérence verticale */
    padding: 0 16px 16px 16px;
    /* padding interne au texte */
    flex: 1;
    /* pousse le bouton en bas */
}

.service-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: calc(var(--service-card-height) / 4);
    /* 50% de la moitié basse -> 1/4 de la carte */
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: .02em;
    background: linear-gradient(90deg, var(--accent), #d6b58f);
    color: #0f0f10;
    /* contraste élevé sur dégradé clair */
    box-shadow: 0 8px 26px rgba(201, 162, 122, 0.25);
}

.service-btn:hover {
    filter: brightness(0.96);
}

@media (max-width:1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card {
        height: 500px;
    }
}

@media (max-width:720px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        height: 460px;
    }
}

/* Section cartes services — reproduction fidèle du style de la capture */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap');

:root {
    --bg-beige: #fde0ef;
    /* light pink for Accueil services background */
    /* fond général de la section */
    --card-bg: #ffffff;
    /* fond du bas de carte */
    --text: #2f2b29;
    --muted: #6f6a66;
    --line: #e9e2db;
    --pill: #cec0b6;
    /* contour du bouton */
    --max: 1280px;
}

.services-strip {
    background: var(--bg-beige);
    padding: 240px 0 96px;
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    position: relative;
    overflow: hidden;
    /* contain decorative waves */
}

.services-grid {
    width: min(var(--max), 92%);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

/* Carte */
.service-card {
    display: flex;
    flex-direction: column;
}

/* Image top */
.service-media {

    overflow: hidden;
    background: #ddd;
}

.service-media img {
    width: 100%;
    height: 240px;
    /* proche du ratio visible */
    object-fit: cover;
    display: block;
}

/* Bas de carte blanc */
.service-body {
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-top: none;
    padding: 26px 22px 24px;
    text-align: center;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.service-title {
    margin: 0 0 12px 0;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: .01em;
}

/* Colorize services card titles as requested */
.services-strip .service-title {
    color: #e93196;
}

.service-desc {
    margin: 0 0 22px 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 15px;
}

/* Bouton pilule */
.service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    /* plus grand */
    border-radius: 999px;
    /* pilule */
    background: linear-gradient(45deg, #e93196, #9414b9, #ff7403);
    color: #ffffff;
    text-decoration: none;
    border: none;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .04em;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.service-btn::after {
    content: "›";
    font-size: 18px;
    line-height: 1;
    translate: 0 0.5px;
    /* aligne visuellement la flèche */
    opacity: .85;
}

.service-btn:hover {
    transform: translateY(-2px) scale(1.03);
}

.service-btn:active {
    transform: translateY(0) scale(0.98);
}

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

/* Accessibilité visuelle pour le titre masqué */
.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-media img {
        height: 220px;
    }
}

@media (max-width: 620px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-media img {
        height: 210px;
    }
}

/* --- Services strip • equal-height cards + aesthetic buttons (overrides) --- */
/* Make all cards equal height within their grid row and keep CTA nicely placed */
.services-grid {
    align-items: stretch;
}

.service-card {
    height: auto;
    display: flex;
    flex-direction: column;
}

.service-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Anchor the button at the bottom and keep a neat pill size */
.service-btn {
    height: auto;
    min-height: 44px;
    padding: 12px 22px;
    width: auto;
    align-self: center;
    margin-top: auto;
}

/* Booking primary button — remove black border/outline, keep soft focus */
.booking-form .btn-primary {
    border: none;
    /* remove default button border */
}

.booking-form .btn-primary:focus,
.booking-form .btn-primary:focus-visible {
    outline: none;
    /* remove default black focus ring */
    box-shadow: 0 0 0 4px rgba(201, 162, 122, 0.35), 0 10px 24px rgba(201, 162, 122, 0.28);
}

/* --- Services strip • keep pill design, make button hang half outside bottom --- */
/* Ensure the card can show overflowed button and provide positioning context */
.services-strip .service-card {
    position: relative;
    overflow: visible;
}

/* Reserve some space so text doesn't clash with the floating button (approx half height + spacing) */
.services-strip .service-body {
    padding-bottom: calc(var(--service-btn-clear, 28px) + 10px);
}

/* Float the pill button at the bottom center; half of its height outside the card */
.services-strip .service-btn {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
    margin-top: 0;
    /* override previous auto push */
    width: auto;
    /* keep pill natural width */
    z-index: 2;
    /* ensure it sits above borders/shadows */
    padding: 16px 56px;
    /* plus grand */
    /* double horizontal padding */
    white-space: nowrap;
    /* avoid text wrapping/overlapping */
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
    /* animation du dégradé */
    box-shadow: 0 10px 28px rgba(233, 49, 150, 0.26);
}

/* Remove white borders/outline on services cards */
.services-strip .service-card {
    border: none;
}

.services-strip .service-body {
    border: none;
    box-shadow: none;
}

/* Reduce service card height by 30% (section-scoped) */
.services-strip {
    --service-card-height: 364px;
}

@media (max-width:1200px) {
    .services-strip {
        --service-card-height: 350px;
    }
}

/* --- Services strip • make cards square, larger, with minimal horizontal gaps --- */
.services-strip .services-grid {
    grid-template-columns: repeat(4, 1fr);
    /* 4 per row on desktop */
    column-gap: 4px;
    /* doubled horizontal spacing */
    row-gap: 24px;
    /* keep vertical spacing */
    width: 100vw;
    /* full-bleed across viewport */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-inline: 8px;
    /* tiny side gutter */
}

/* Mobile: disable full-bleed grid to avoid horizontal scroll/jitter */
@media (max-width: 768px) {
    .services-strip .services-grid {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

.services-strip .service-card {
    aspect-ratio: auto;
    /* allow card to grow to fit content */
    height: auto;
    /* content-driven height */
    display: flex;
    flex-direction: column;
    margin-bottom: 32px;
    /* extra clearance for floating button */
}

.services-strip .service-media {
    flex: 0 0 auto;
    height: auto;
    min-height: 240px;
    /* reserve space so SVGs are visible */
    display: grid;
    place-items: center;
}

.services-strip .service-media img {
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform .28s ease, filter .28s ease;
}

/* Ensure SVG icons are fully visible (avoid cropping by cover) */
.services-strip .service-media img[src*=".svg"] {
    object-fit: contain;
    width: auto;
    height: 280px;
}

.services-strip .service-body {
    flex: 0 1 auto;
    height: auto;
    padding-bottom: calc(var(--service-btn-clear, 44px) + 14px);
}

/* Hover animations for services cards */
.services-strip .service-card {
    transition: transform .22s ease, box-shadow .22s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
    border-radius: 6px;
}

.services-strip .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .12);
}

.services-strip .service-card:hover .service-media img {
    transform: scale(1.06);
}

.services-strip .service-card:hover .service-btn {
    transform: translate(-50%, 40%);
    box-shadow: 0 14px 36px rgba(233, 49, 150, 0.33);
}

/* Team section avatar: original sizing, circular mask */
.team-section .avatar{
    overflow: hidden; /* ensure corners are visible */
}
.team-section .avatar img{
    border-radius: 50%; /* fully rounded without changing image size */
    width: 98%;
    height: 98%;
    object-fit: cover; /* preserve size and crop to circle */
    object-position: center 30%; /* move image down inside the circle */
    display: block;
}

/* --- Carousel services (show 4 at a time) --- */
.services-strip .services-grid {
    transition: transform .6s ease;
}

.service-card.is-hidden {
    display: none !important;
}

.services-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 28px 0 6px;
}

.s-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #d2bba8;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
}

.s-dot:hover {
    transform: scale(1.15);
}

.s-dot.s-dot--active {
    background: linear-gradient(45deg, #e93196, #9414b9, #ff7403);
    box-shadow: 0 0 0 4px rgba(233, 49, 150, .25);
}

@media (prefers-reduced-motion: reduce) {
    .services-strip .services-grid {
        transition: none;
    }

    .s-dot {
        transition: none;
    }
}

/* --- Services strip • top wave decoration anchored at section start --- */
.services-strip .services-grid {
    position: relative;
    z-index: 2;
}

.services-strip::before,
.services-strip::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    background-repeat: repeat-x;
    background-position: top center;
    background-size: 1200px 100%;
    pointer-events: none;
    z-index: 1;
}

/* Back wave (deeper) */
.services-strip::before {
    height: 220px;
    transform: translateY(-1px);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' preserveAspectRatio='none'><path d='M0,120 C240,40 480,40 720,120 C960,200 1200,200 1440,120 L1440,0 L0,0 Z' fill='%23ffffff'/></svg>");
}

/* Front wave (closer) */
.services-strip::after {
    height: 160px;
    transform: translateY(-6px);
    opacity: .82;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'><path d='M0,86 C260,26 520,26 780,86 C1040,146 1300,146 1440,86 L1440,0 L0,0 Z' fill='%23ffffff'/></svg>");
}

/* Ensure legacy fixed heights don't cap services-strip cards */
.services-strip .service-card,
.services-strip .service-media,
.services-strip .service-body {
    height: auto !important;
}

/* Responsive image heights so growth is visible on all screens */
@media (max-width: 1100px) {
    .services-strip .service-media img {
        height: 400px;
    }
}

@media (max-width: 620px) {
    .services-strip .service-media img {
        height: 340px;
        object-fit: cover;
    }
}

@media (max-width: 1100px) {
    .services-strip .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Align SVG heights with raster images to avoid layout shifts */
@media (max-width: 1100px) {
    .services-strip .service-media img[src*=".svg"] {
        height: 400px;
    }
}

@media (max-width: 620px) {
    .services-strip .service-media img[src*=".svg"] {
        height: 340px;
    }
}

@media (max-width: 620px) {
    .services-strip .services-grid {
        grid-template-columns: 1fr;
    }
}

/* If there is exactly 1 card on the last row (4-column grid), make it full width */
.services-strip .services-grid>.service-card:last-child:nth-child(4n+1) {
    grid-column: 1 / -1;
}

@media (max-width:720px) {
    .services-strip {
        --service-card-height: 322px;
    }
}

/* ===== Hyper Sophisticated Services Stripe Enhancements ===== */
.services-stripe-header {
    width: min(1080px, 92%);
    margin: 0 auto 54px;
    text-align: center;
    position: relative;
}

.svs-eyebrow {
    display: inline-block;
    padding: 6px 16px;
    font: 600 11px 'Inter';
    letter-spacing: .18em;
    text-transform: uppercase;
    background: rgba(233, 49, 150, .12);
    color: #9414b9;
    border: 1px solid rgba(233, 49, 150, .25);
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

.svs-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 6vw, 3.4rem);
    margin: 22px 0 18px;
    background: linear-gradient(45deg, #e93196, #9414b9, #ff7403);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.svs-sub {
    font-size: clamp(.95rem, 2vw, 1.15rem);
    line-height: 1.55;
    margin: 0 auto 26px;
    max-width: 760px;
    color: #55485c;
}

.svs-tablist {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.svs-tab {
    cursor: pointer;
    border: 1px solid #d8c7eb;
    background: #fff;
    color: #583a6c;
    font: 600 12px 'Inter';
    letter-spacing: .08em;
    padding: 10px 18px;
    border-radius: 999px;
    position: relative;
    transition: .35s;
}

.svs-tab[aria-selected="true"] {
    background: linear-gradient(45deg, #e93196, #9414b9, #ff7403);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 28px -6px rgba(148, 20, 185, .35);
}

.svs-tab:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(233, 49, 150, .35);
}

/* Card gradient frame + subtle glass overlay */
.services-strip[data-enhanced="true"] .service-card {
    position: relative;
    overflow: hidden;
}

.services-strip[data-enhanced="true"] .service-card {
    overflow: visible;
}

.services-strip[data-enhanced="true"] .service-btn {
    z-index: 3;
}

.services-strip[data-enhanced="true"] .service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: 10px;
    background: linear-gradient(45deg, #e93196, #9414b9, #ff7403);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: .55;
    pointer-events: none;
    transition: opacity .35s ease, transform .35s ease;
}

.services-strip[data-enhanced="true"] .service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .0), rgba(255, 255, 255, .55));
    mix-blend-mode: overlay;
    pointer-events: none;
    opacity: .0;
    transition: opacity .35s ease;
}

.services-strip[data-enhanced="true"] .service-card:hover::before {
    opacity: .9;
    transform: scale(1.02);
}

.services-strip[data-enhanced="true"] .service-card:hover::after {
    opacity: .55;
}

/* Filter hide animation */
.service-card.is-filter-hidden {
    opacity: 0;
    transform: scale(.86) translateY(14px);
    pointer-events: none;
    transition: opacity .45s cubic-bezier(.3, .7, .2, 1), transform .45s cubic-bezier(.3, .7, .2, 1);
}

.services-strip[data-enhanced="true"] .service-card {
    opacity: 1;
    transform: none;
}

.services-strip[data-enhanced="true"] .service-card.is-filter-hidden {
    opacity: 0;
    transform: scale(.86) translateY(14px);
}

.services-strip[data-enhanced="true"] .service-card {
    transition: opacity .45s cubic-bezier(.3, .7, .2, 1), transform .45s cubic-bezier(.3, .7, .2, 1), box-shadow .3s ease;
}

@media (max-width:860px) {
    .svs-title {
        font-size: clamp(2rem, 7vw, 2.6rem);
    }

    .svs-sub {
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion:reduce) {
    .service-card.is-filter-hidden {
        transition: none;
    }

    .services-strip[data-enhanced="true"] .service-card {
        transition: none;
    }
}