:root {
    --primary-violet: #5e3a82;
    --primary-fuchsia: #d63384;
    --primary-grey: #737373;
    --primary-black: #000000;
    --background: #ffffff;
    --background-light: #f9f9f9;
    --text-dark: #2d2d2d;
    --text-light: #666666;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

:root :where(.is-layout-flow) > :first-child {
    margin-block-start: 0 !important;
}

/* :root :where(.is-layout-flow) > * {
    margin-block-start: 24px !important;
}

.services .is-layout-flow {
    margin-top: 24px !important;
}
.services .is-layout-flow > * {
    margin-block-start: 0 !important;
} */

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

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

.container-tight {
    max-width: 800px;
    margin: 30px auto;
    padding: 0 20px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-violet);
    text-decoration: none;
    transition: var(--transition);
}

a:not([href*="#contact"]):hover {
    color: var(--primary-fuchsia);
}

.text-violet {
    color: var(--primary-violet);
}

.text-fuchsia {
    color: var(--primary-fuchsia);
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--primary-fuchsia);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    text-align: center;
}

.btn-primary * {
    all: unset !important;
    display: inline-block !important;
    padding: 0 !important;
    background-color: transparent !important;
    color: white !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    border: none !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    text-align: center !important;
}

.btn-primary:hover {
    background-color: #c02a73;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 10px 24px;
    background-color: var(--background);
    color: var(--primary-violet);
    font-weight: 500;
    border-radius: 50px;
    border: 2px solid var(--primary-violet);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-secondary * {
    all: unset !important;
    display: inline-block !important;
    padding: 0 !important;
    background-color: transparent !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    border: none !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    text-align: center !important;
}

.btn-secondary:hover {
    background-color: var(--primary-violet);
    color: var(--background);
}

/* ===== Header & Navigation ===== */
#header {
    /* position: sticky; */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--background);
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px 0; /* Reduced padding */
}

/* nav.primary-menu {
    width: 100%;
} */

nav.primary-menu ul > :first-child {
    flex-grow: 1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    cursor: pointer;
}

.logo-img {
    height: 100px; /* Increased logo size */
    width: auto;
    display: block;
}

/* .nav-menu,
.primary-menu {
    list-style: none;
    display: flex;
    gap: 30px;
} */
.primary-menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-link, .primary-menu a:not(.custom-logo-link) {
    color: var(--text-dark) !important;
    font-weight: 500 !important;
    padding: 3px 0 !important;
    position: relative !important;
}

.primary-menu-container {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link::after, .primary-menu a:not(.custom-logo-link)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-fuchsia);
    transition: var(--transition);
}

.nav-link:hover::after, .primary-menu a:not([href*="#contact"]):not(.custom-logo-link):hover::after {
    width: 100%;
}

.nav-link:hover, .primary-menu a:not(.custom-logo-link):hover {
    color: var(--primary-fuchsia) !important;
}

.btn-contact {
    background-color: var(--primary-violet) !important;
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
    transition: var(--transition) !important;
}

.primary-menu a[href*="#contact"]:not(.custom-logo-link) {
    background-color: var(--primary-violet) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 50px !important;
    transition: var(--transition) !important;
}

.btn-contact a, .btn-contact span {
    color: white !important;
    font-weight: 500;
}

.btn-contact:hover, .primary-menu a[href*="#contact"]:not(.custom-logo-link):hover {
    background-color: var(--primary-fuchsia) !important;
}

.lang-toggle {
    background-color: var(--primary-violet);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.lang-toggle:hover {
    background-color: var(--primary-fuchsia);
    color: white;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1010;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary-violet);
    border-radius: 10px;
    transition: all 0.3s linear;
}

/* ========================================
   MOBILE MENU
   ======================================== */

@media (max-width: 992px) {

    .navbar {
        position: relative;
    }

    /* Hamburger */

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        width: 30px;
        height: 24px;

        padding: 0;
        margin: 0;

        background: transparent;
        border: none;

        cursor: pointer;

        z-index: 1010;
    }

    .mobile-menu-toggle span {
        display: block;

        width: 100%;
        height: 3px;

        background: var(--primary-violet);
        border-radius: 10px;

        transition:
            transform 0.3s ease,
            opacity 0.2s ease;
    }


    /* ========================================
       Menu
       ======================================== */

    .primary-menu {
        position: absolute;

        top: calc(100% + 10px);
        right: 0;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        width: min(320px, calc(100vw - 40px));

        padding: 20px;

        margin: 0;

        background: var(--background);

        box-shadow: var(--shadow-lg);

        list-style: none;

        gap: 10px;

        opacity: 0;
        visibility: hidden;

        transform: translateY(-10px);

        pointer-events: none;

        transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s ease;

        z-index: 1001;
    }


    /* Menu ouvert */

    .primary-menu.is-open {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);

        pointer-events: auto;
    }


    /* Items */

    .primary-menu li {
        width: 100%;
    }

    .primary-menu a {
        display: block;

        width: 100%;

        padding: 10px 0 !important;

        text-align: left;
    }


    /* Contact button */

    .primary-menu a[href*="#contact"] {
        text-align: center;
        margin-top: 5px;
    }


    /* Désactive la petite ligne hover sur mobile */

    .primary-menu a::after {
        display: none;
    }


    /* ========================================
       Hamburger → X
       ======================================== */

    .mobile-menu-toggle.is-open span:nth-child(1) {
        transform: translateY(10.5px) rotate(45deg);
    }

    .mobile-menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-10.5px) rotate(-45deg);
    }
}


/* ========================================
   DESKTOP
   ======================================== */

@media (min-width: 993px) {

    .mobile-menu-toggle {
        display: none;
    }

    .primary-menu {
        display: flex;
        align-items: center;
    }
}

/* ===== Sections & Layout ===== */
section:not(.paragraph-section) {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* ===== Hero Section ===== */
.hero {
    padding: 100px 0;
    background-color: var(--background-light);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        text-align: center;
        margin-top: 30px;
    }

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

/* ===== Derniers Projets Section (Latest Projects) ===== */
.latest-projets {
    background-color: var(--background);
}

.projets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.projet-card {
    background-color: var(--background-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.projet-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.projet-content {
    padding: 20px;
}

.projet-category {
    display: inline-block;
    background-color: var(--primary-violet);
    color: white;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.projets-cta {
    text-align: center;
}

/* ===== About Section ===== */
.about {
    background-color: var(--background-light);
    color: var(--text-dark);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}

/* ===== Services Section ===== */
.services {
    background-color: var(--background);
}

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

.service-card {
    background-color: var(--background-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    padding-bottom: 20px;
    transition: var(--transition);
}

.service-card.block-editor-block-list__block {
    margin-bottom: 40px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.service-content {
    padding: 20px;
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.service-title {
    color: var(--primary-violet);
    margin-bottom: 10px;
}

.service-description {
    font-size: 0.95rem;
    color: var(--text-light);
    min-height: 80px; /* Ensure consistent height */
}

/* ===== Portfolio & News Section ===== */
.portfolio-news {
    background-color: var(--background-light);
}

.intro {
    margin-bottom: 40px;
}

.intro-title {
    font-size: 3rem;
}

.intro-text {
    font-size: 1.1rem;
    color: var(--text-light);
}

.portfolio-tabs {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
}
.portfolio-tabs {

	display:flex !important;
	justify-content:center;
	gap:15px;
	margin-bottom:40px;

}

.tab-btn .wp-block-button__link {
    all: unset !important;
    border-radius: 0 !important;
}

.tab-btn {
    background: none;
    border: none;
    padding: 5px 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light) !important;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    border-radius:0 !important;

	background-color:transparent !important;
	color:var(--text-color) !important;
}

.tab-btn.active {
    color: var(--primary-violet) !important;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--primary-fuchsia);
    transition: var(--transition);
}

.tab-btn.active::after {
    width: 100%;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-card {
    background-color: var(--background);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    /* opacity: 0; */
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.portfolio-info {
    padding: 30px;
}

.portfolio-category {
    display: inline-block;
    background-color: var(--primary-fuchsia);
    color: white;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.portfolio-title {
    color: var(--primary-violet);
    margin-bottom: 15px;
}

.portfolio-description strong {
    color: var(--primary-violet);
}

.client-quote {
    border-left: 3px solid var(--primary-fuchsia);
    padding-left: 15px;
    margin-top: 20px;
    font-style: italic;
    color: var(--text-light);
}

.client-quote cite {
    display: block;
    margin-top: 5px;
    font-style: normal;
    font-weight: 500;
    color: var(--primary-violet);
}

/* Before/After Slider */
.before-after-slider {
    position: relative;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 400px; /* Fixed height for consistency */
    overflow: hidden;
    cursor: ew-resize;
}

.slider-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.after-image {
    clip-path: inset(0 50% 0 0); /* Initial clip */
    transition: none; /* Disable transition for clipping */
}

.slider-control {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background-color: white;
    border: 3px solid var(--primary-violet);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 5;
    transition: var(--transition);
}

.slider-button::before,
.slider-button::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 10px;
    height: 3px;
    background-color: var(--primary-violet);
    transform: translateY(-50%);
}

.slider-button::before {
    left: 5px;
}

.slider-button::after {
    right: 5px;
}

.slider-labels {
    position: absolute;
    top: 10px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
    z-index: 20;
}

.label-before, .label-after {
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--primary-violet);
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.label-before.hidden, .label-after.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Filter Buttons */
.filter-buttons {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    background-color: var(--background);
    color: var(--primary-violet);
    border: 1px solid var(--primary-violet);
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover {
    background-color: var(--primary-violet);
    color: white;
}

.filter-btn.active {
    background-color: var(--primary-fuchsia);
    border-color: var(--primary-fuchsia);
    color: white;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--background);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

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

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.news-content {
    padding: 20px;
}

.news-date {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.news-title {
    color: var(--primary-violet);
    margin-bottom: 10px;
}

.news-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.news-link {
    color: var(--primary-fuchsia);
    font-weight: 600;
}

/* ===== Contact Section ===== */
.contact {
    background-color: var(--background);
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-form-container {
    flex: 2;
}

.contact-info {
    flex: 1;
}

.contact-subtitle {
    color: var(--primary-violet);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-fuchsia);
    padding-bottom: 5px;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-fuchsia);
    outline: none;
}

.contact-details p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.contact-appointment {
    margin-top: 30px;
}

.contact-social {
    margin-top: 30px;
}

.contact-social .btn-secondary {
    border-color: var(--primary-fuchsia);
    color: var(--primary-fuchsia);
}

.contact-social .btn-secondary:hover {
    background-color: var(--primary-fuchsia);
    color: white;
}

@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* ===== Footer ===== */
.footer {
    background-color: var(--primary-violet);
    color: white;
    padding: 50px 0 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 2;
}

.footer-logo .logo-img {
    filter: brightness(0) invert(1); /* White logo for dark background */
}

.footer-tagline {
    margin-top: 15px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links, .footer-contact, .footer-social {
    flex: 1;
}

.footer-links h4, .footer-contact h4, .footer-social h4 {
    color: var(--primary-fuchsia);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-links ul, .footer-contact ul, .footer-social ul {
    list-style: none;
}

.footer-links a, .footer-contact p, .footer-social a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    display: block;
    font-size: 0.95rem;
}

.footer-links a:hover, .footer-social a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    margin-left: 10px;
}

.footer-bottom a:hover {
    color: white;
}

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

    .footer-links, .footer-contact, .footer-social {
        margin-top: 20px;
    }

    .mobile-wrap {
        flex-wrap: wrap !important;
    }
}

/* ===== Modal Styles ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 30px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: modalOpen 0.3s ease-out;
}

@keyframes modalOpen {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover,
.modal-close:focus {
    color: var(--primary-fuchsia);
    text-decoration: none;
}

.modal-title {
    color: var(--primary-violet);
    margin-top: 0;
}

.modal-subtitle {
    color: var(--primary-fuchsia);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.modal-content h4 {
    color: var(--primary-violet);
    margin-top: 20px;
    margin-bottom: 10px;
}

.modal-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.modal-content li {
    margin-bottom: 5px;
}

.modal-content .btn-primary {
    margin-top: 20px;
}

/* Contenu modal caché dans la carte */
.service-modal-content{
    display:none;
}

/* Modal globale */
.modal{
    display:none;
    position:fixed;
    inset:0;
    z-index:10000;
    background:rgba(0,0,0,.5);
    padding:40px 20px;
    overflow:auto;
}

.modal.is-open{
    display:block;
}

.modal-content{
    background:#fff;
    max-width:720px;
    margin:40px auto;
    padding:32px;
    border-radius:16px;
    position:relative;
    box-shadow:0 20px 60px rgba(0,0,0,.25);
}

.modal-close{
    position:absolute;
    top:16px;
    right:16px;
    width:40px;
    height:40px;
    border:none;
    border-radius:999px;
    background:#f3f4f6;
    font-size:28px;
    line-height:1;
    cursor:pointer;
}

.modal-close:hover{
    background:#e5e7eb;
}

.modal-title{
    margin-top:0;
    color:var(--primary-violet);
}

.modal-subtitle{
    color:var(--primary-fuchsia);
    margin-bottom:20px;
}

.projet-placeholder {

	display: flex;

	align-items: center;

	justify-content: center;

	height: 200px;

	color: #888;

	font-size: 1rem;

	text-align: center;

}

/* Menu custom */

/* HEADER */

.site-header {
    position: sticky;
    top:0;
    width:100%;
    background:white;
    z-index:1000;
    box-shadow:0 4px 6px rgba(0,0,0,.1);
    padding:10px 0;
}

.navbar {
    display:flex;
    justify-content:space-between;
    align-items:center;
}


/* LOGO */

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


/* Form formatting */
.wpforms-field-container .wpforms-field-row,
.wpforms-field-container input[type="text"],
.wpforms-field-container input[type="email"],
.wpforms-field-container input[type="tel"],
.wpforms-field-container input[type="number"],
.wpforms-field-container select,
.wpforms-field-container textarea {
    max-width: 100% !important;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.language-switcher-link {
    /* uppercase */
    text-transform: uppercase;
    margin-left: 30px;
}

.img-radius img {
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.portfolio-featured-image {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.portfolio-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}


/* === steps section === */

.how-it-works {
	background-color: var(--background-light);
}

.how-it-works-header {
	max-width: 720px;
	margin-right: auto;
	margin-left: auto;
}

.how-it-works-eyebrow {
	margin-bottom: 10px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.how-it-works-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
	gap: 30px;
	align-items: stretch;
}

.process-card {
	overflow: hidden;
	background-color: var(--background);
	border: 1px solid rgba(94, 58, 130, 0.14);
	border-radius: 18px;
	box-shadow: var(--shadow);
	transition: transform 220ms ease-out, box-shadow 220ms ease-out;
}

.process-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.process-card--management {
	background: linear-gradient(
		155deg,
		rgba(214, 51, 132, 0.08),
		var(--background) 52%
	);
}

.process-card-heading {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 30px 30px 16px;
}

.process-card-icon {
	display: grid;
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	place-items: center;
	color: #fff;
	font-size: 1.35rem;
	font-weight: 700;
	background: var(--primary-violet);
	border-radius: 50%;
}

.process-card--management .process-card-icon {
	background: var(--primary-fuchsia);
}

.process-card-kicker {
	margin: 0 0 4px;
	color: var(--primary-fuchsia);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.process-card-heading h3 {
	margin: 0;
	color: var(--primary-violet);
	font-size: 1.35rem;
	line-height: 1.2;
}

.process-steps {
	position: relative;
	margin: 0;
	padding: 4px 30px 26px;
	list-style: none;
}

.process-steps::before {
	position: absolute;
	top: 24px;
	bottom: 42px;
	left: 52px;
	width: 1px;
	background: rgba(94, 58, 130, 0.2);
	content: "";
}

.process-card--management .process-steps::before {
	background: rgba(214, 51, 132, 0.25);
}

.process-step {
	position: relative;
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 16px;
	padding: 16px 0;
}

.process-step-number {
	z-index: 1;
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	color: var(--primary-violet);
	font-size: 0.78rem;
	font-weight: 800;
	background: var(--background-light);
	border: 1px solid rgba(94, 58, 130, 0.22);
	border-radius: 50%;
}

.process-card--management .process-step-number {
	color: var(--primary-fuchsia);
	border-color: rgba(214, 51, 132, 0.3);
}

.process-step-content {
	padding-top: 2px;
}

.process-step-content h4 {
	margin: 0 0 5px;
	color: var(--text-dark);
	font-size: 1rem;
}

.process-step-content p {
	margin: 0;
	color: var(--text-light);
	font-size: 0.93rem;
	line-height: 1.6;
}

.process-step-note {
	margin-top: 8px !important;
	color: var(--primary-violet) !important;
	font-size: 0.88rem !important;
}

.process-card-signature {
	margin: 0 30px 28px;
	padding: 12px 16px;
	color: var(--primary-violet);
	font-size: 0.92rem;
	font-weight: 600;
	text-align: center;
	background: rgba(255, 255, 255, 0.7);
	border-radius: 10px;
}

.process-document-slot {
	display: inline-flex;
	flex-direction: column;
	gap: 3px;
	align-items: center;
	margin: 34px auto 0;
	padding: 13px 22px;
	color: var(--primary-violet);
	text-align: center;
	background: var(--background);
	border: 1px dashed rgba(94, 58, 130, 0.4);
	border-radius: 999px;
}

.process-document-label {
	font-size: 0.9rem;
	font-weight: 700;
}

.process-document-note {
	color: var(--text-light);
	font-size: 0.74rem;
}

@media (max-width: 900px) {
	.how-it-works-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.process-card-heading {
		gap: 12px;
		padding: 24px 20px 12px;
	}

	.process-card-icon {
		flex-basis: 40px;
		width: 40px;
		height: 40px;
		font-size: 1.15rem;
	}

	.process-card-heading h3 {
		font-size: 1.18rem;
	}

	.process-steps {
		padding: 4px 20px 20px;
	}

	.process-steps::before {
		left: 39px;
	}

	.process-step {
		grid-template-columns: 36px 1fr;
		gap: 12px;
		padding: 14px 0;
	}

	.process-step-number {
		width: 36px;
		height: 36px;
		font-size: 0.7rem;
	}

	.process-step-content p {
		font-size: 0.9rem;
	}

	.process-card-signature {
		margin-right: 20px;
		margin-left: 20px;
	}

	.process-document-slot {
		width: 100%;
		box-sizing: border-box;
		border-radius: 16px;
	}
}

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

	.process-card:hover {
		transform: none;
	}
}

/* PDF document */

.process-document-link {
	display: inline-flex;
	flex-direction: column;
	gap: 3px;
	align-items: center;
	color: inherit;
	text-align: center;
	text-decoration: none;
}

.process-document-link:hover {
	color: inherit;
}

.process-document-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-top: 10px;
}

.process-document-slot:has(.process-document-link) {
	padding-bottom: 18px;
}

/* ===== About Section ===== */

.about {
	background-color: var(--background-light);
}

.about-content {
	max-width: 960px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	align-items: center;
	gap: 60px;
}

.about-image {
	position: relative;
	width: 260px;
	height: 330px;
	overflow: hidden;
	border-radius: 10px;
	background-color: var(--background);
	box-shadow: var(--shadow-lg);
}

.about-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.about-copy {
	min-width: 0;
	text-align: left;
}

.about-copy .section-title {
	margin-top: 0;
	margin-bottom: 25px;
	text-align: left;
}

.about-text {
	margin-bottom: 0;
	font-size: 1.1rem;
	line-height: 1.7;
}

/* =========================================
   Gutenberg editor
========================================= */

.about-image-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 15px;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	background-color: var(--background);
}

.about-image-placeholder-icon {
	font-size: 2rem;
	color: var(--primary-violet);
}

.about-image-actions {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: 8px;
	padding: 10px;
	background: rgba(255, 255, 255, 0.92);
}

.about-image-actions .components-button {
	font-size: 0.75rem;
}

/* =========================================
   Responsive
========================================= */

@media (max-width: 768px) {
	.about-content {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.about-image {
		width: min(260px, 80vw);
		height: min(330px, 102vw);
		margin: 0 auto;
	}

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

	.about-copy .section-title {
		text-align: left;
	}
}


/* =========================================
   Paragraph styles
========================================= */

/* =========================================
   Paragraph / Legal Page
========================================= */

.paragraph-page {
	padding: 80px 0 100px;
}

.paragraph-container {
	max-width: 800px;
}

/* .paragraph-header {
	margin-bottom: 40px;
} */

.paragraph-header .section-title {
	margin-bottom: 30px;
}

.paragraph-last-updated {
	margin-bottom: 20px;
	color: var(--text-light);
	font-style: italic;
}

.paragraph-section {
	margin-bottom: 40px;
}

.paragraph-section h2 {
	margin-bottom: 15px;
	color: var(--primary-violet);
	font-size: 1.5rem;
	line-height: 1.3;
}

.paragraph-section h3 {
	margin-top: 15px;
	margin-bottom: 8px;
	color: var(--text-dark);
	font-size: 1.1rem;
	line-height: 1.4;
}

.paragraph-section p {
	margin-bottom: 15px;
}

.paragraph-section > p:last-of-type {
	margin-bottom: 0;
}

/* =========================================
   Highlight
========================================= */

.paragraph-highlight {
	margin-top: 30px;
	padding: 20px;
	background-color: var(--background-light);
	border-left: 4px solid var(--primary-fuchsia);
	border-radius: 8px;
}

.paragraph-highlight p {
	margin-bottom: 8px;
}

.paragraph-highlight p:last-child {
	margin-bottom: 0;
}

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

/* =========================================
   Subsections
========================================= */

.paragraph-subsections {
	margin-top: 15px;
}

.paragraph-subsection {
	margin-bottom: 20px;
}

.paragraph-subsection:last-child {
	margin-bottom: 0;
}

/* =========================================
   Editor controls
========================================= */

.paragraph-item,
.paragraph-subsection {
	position: relative;
}

.paragraph-item > .components-button,
.paragraph-subsection > .components-button {
	margin-bottom: 10px;
	font-size: 0.75rem;
}

.paragraph-section > .components-button {
	margin-top: 10px;
	margin-right: 8px;
	font-size: 0.8rem;
}

.paragraph-highlight-editor {
	margin-top: 20px;
}

.paragraph-highlight-editor > .components-button {
	margin-top: 8px;
	font-size: 0.8rem;
}

.paragraph-section-actions {
	margin-top: 25px;
	padding-top: 15px;
	border-top: 1px solid rgba(94, 58, 130, 0.12);
}

.paragraph-section-actions .components-button {
	font-size: 0.8rem;
}

.paragraph-add-section {
	display: flex;
	justify-content: center;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid rgba(94, 58, 130, 0.15);
}

/* =========================================
   Back button
========================================= */

.paragraph-back {
	margin-top: 50px;
	text-align: center;
}

/* =========================================
   Responsive
========================================= */

@media (max-width: 600px) {

	.paragraph-page {
		padding: 40px 0 70px;
	}

	.paragraph-header .section-title {
		margin-bottom: 20px;
	}

	.paragraph-section {
		margin-bottom: 32px;
	}

	.paragraph-section h2 {
		font-size: 1.3rem;
	}

	.paragraph-highlight {
		padding: 16px;
	}

}

.footer-bottom li {
    list-style: none !important;
}