* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Sora', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #0f172a;
    overflow-x: hidden;
    touch-action: pan-y; /* Autoriser le scroll vertical, bloquer le zoom natif */
}

/* Main app container */
#app {
    min-height: 100vh;
    will-change: transform, opacity;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-underline {
    position: absolute;
    bottom: 0.75rem;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6, #1e3a8a);
    border-radius: 3px;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    pointer-events: none;
    z-index: 10;
}

.nav-underline-mobile {
    display: none;
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6, #1e3a8a);
    border-radius: 3px;
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
    }

    .nav-underline-mobile {
        display: none !important;
    }
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    cursor: pointer;
    user-select: none;
}

.logo span:first-child {
    color: #0f172a;
}

.logo span:last-child {
    color: #1e3a8a;
    margin-left: 0.25rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #1e3a8a;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    padding: 0.5rem 0;
    min-width: 200px;
    margin-top: 0.5rem;
    list-style: none;
}

.dropdown-menu.active {
    display: block;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #475569;
}

.dropdown-menu a:hover {
    background: #eff6ff;
    color: #1e3a8a;
}

.nav-cta {
    background: #1e3a8a !important;
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-cta:hover {
    background: #1e40af !important;
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
    transform: scale(1.05);
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    margin-top: 70px;
    padding: 4rem 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.2) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    color: white;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    display: block;
    color: #93c5fd;
}

.hero p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.7;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-partners {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    align-self: stretch;
    position: relative;
    z-index: 1;
}

.hero-partners-marquee {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    position: relative;
    z-index: 1;
    width: 100%;
    align-self: stretch;
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.hero-partners-track {
    display: flex;
    align-items: center;
    width: max-content;
    will-change: transform;
}

.hero-partners-track .partner-group {
    display: flex;
    align-items: center;
    gap: 3rem;
    justify-content: center;
}

.hero-partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.hero-partner-item img {
    width: auto;
}

.hero-partner-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

a.hero-partner-name {
    text-decoration: none;
}

.hero-partner-name {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
    text-align: center;
}

.hero-partner-name:hover {
    color: #fff;
}

.partner-size-controls {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0.25rem;
}

.partner-size-controls button {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.15);
    color: white;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.partner-size-controls button:hover {
    background: rgba(255,255,255,0.3);
}

.partner-size-controls span {
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
}

.btn-primary {
    background: #3b82f6;
    color: white;
    padding: 1rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary:hover {
    background: #2563eb;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    border: 2px solid white;
    color: white;
    padding: 1rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

.btn-secondary:hover {
    background: white;
    color: #1e3a8a;
}

/* Sections génériques */
section {
    padding: 6rem 1.5rem;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #475569;
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.bg-gray {
    background: #f8fafc;
}

.bg-dark {
    background: #0f172a;
    color: white;
}

.bg-blue {
    background: #eff6ff;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
    cursor: pointer;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: transform 0.3s;
    display: block;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.service-card p {
    color: #475569;
    line-height: 1.6;
}

/* Réalisations Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    position: relative;
    height: 320px;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.project-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.4), transparent);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.project-card h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-card p {
    color: #cbd5e1;
    font-size: 0.875rem;
}

/* Form Styles */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
}

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

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
}

.radio-option:hover {
    border-color: #3b82f6;
}

.radio-option input[type="radio"] {
    width: auto;
    margin: 0;
}

.radio-option label {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
}

/* Progress Bar */
.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.progress-step {
    display: flex;
    align-items: center;
    flex: 1;
}

.progress-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all 0.3s;
}

.progress-step.active .progress-circle {
    background: #1e3a8a;
    color: white;
}

.progress-line {
    flex: 1;
    height: 4px;
    background: #e2e8f0;
    margin: 0 0.5rem;
    transition: background 0.3s;
}

.progress-step.active .progress-line {
    background: #1e3a8a;
}

.btn-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-group button {
    flex: 1;
}

.btn-outline {
    border: 2px solid #cbd5e1;
    background: transparent;
    color: #475569;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: #f8fafc;
}

/* Contact Cards */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: #1e3a8a;
    flex-shrink: 0;
}

.contact-item p:first-of-type {
    font-weight: 600;
    color: #0f172a;
}

.contact-item p:last-of-type {
    color: #475569;
}

/* Admin Dashboard */
.admin-header {
    margin-top: 100px;
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid;
}

.stat-card.blue {
    border-left-color: #1e3a8a;
}

.stat-card.green {
    border-left-color: #16a34a;
}

.stat-card.orange {
    border-left-color: #ea580c;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 0.5rem;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.admin-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.admin-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.action-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
    text-decoration: none;
    color: #0f172a;
    font-weight: 600;
}

.action-item.blue {
    background: #eff6ff;
}

.action-item.green {
    background: #f0fdf4;
}

.action-item.orange {
    background: #fff7ed;
}

.action-item:hover {
    transform: translateX(5px);
    opacity: 0.8;
}

/* Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.data-table th {
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.data-table tr:hover {
    background: #f8fafc;
}

.delete-btn {
    background: #fef2f2;
    color: #dc2626;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.delete-btn:hover {
    background: #fee2e2;
}

/* Footer */
footer {
    background: #0f172a;
    color: white;
    padding: 3rem 1.5rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

footer h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

footer h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

footer p {
    color: #94a3b8;
    line-height: 1.8;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: white;
}

.partner {
    margin-top: 1rem;
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
    color: #64748b;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Responsive - Tablet and Mobile */
@media (max-width: 900px) {
    .nav-container {
        flex-wrap: wrap;
        padding: 0.75rem 1rem;
        position: relative;
    }

    /* First row: Logo stays left */
    .logo {
        order: 1;
    }

    /* CTA button: position absolute top right, outside nav-menu flow */
    .nav-menu > li:last-child {
        position: absolute;
        top: 0.75rem;
        right: 1rem;
    }

    .nav-menu > li:last-child .nav-cta {
        padding: 0.4rem 1rem;
        font-size: 0.875rem;
    }

    /* Nav menu becomes second row */
    .nav-menu {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid #e2e8f0;
    }

    .nav-menu > li:not(:last-child) > a {
        font-size: 0.875rem;
        padding: 0.25rem 0.5rem;
    }

    /* Hide dropdown on mobile - just link to services page */
    .dropdown-menu {
        display: none !important;
    }

    /* Underline positioning for second row */
    .nav-underline {
        bottom: 0.25rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero .btn-primary,
    .hero .btn-secondary {
        width: auto;
        text-align: center;
        font-size: 0.875rem;
        padding: 0.75rem 1.25rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-partners {
        gap: 1.5rem;
        justify-content: center;
    }

    .hero-partners-marquee {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }

    .partner-size-controls {
        display: none;
    }

    section {
        padding: 3rem 1rem;
    }

    .form-container {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-menu > li:not(:last-child) > a {
        font-size: 0.75rem;
        padding: 0.25rem 0.25rem;
    }

    .nav-menu {
        gap: 0.25rem;
    }

    .nav-menu > li:last-child .nav-cta {
        padding: 0.35rem 0.75rem;
        font-size: 0.75rem;
    }
}

/* Photo Carousel */
.photo-carousel {
    position: relative;
}

.photo-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #0f172a;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.photo-carousel-nav:hover {
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.photo-carousel-prev {
    left: 1rem;
}

.photo-carousel-next {
    right: 1rem;
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

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

.lightbox-content img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 0.5rem;
}

.lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

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

.lightbox-prev {
    left: 1.5rem;
}

.lightbox-next {
    right: 1.5rem;
}

.lightbox-title {
    color: white;
    font-size: 1.125rem;
    margin-top: 1rem;
    text-align: center;
}

.lightbox-counter {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Photo upload items in admin */
.photo-upload-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
}

/* Responsive for photo carousel and lightbox */
@media (max-width: 768px) {
    .photo-carousel-nav {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }

    .photo-carousel-prev {
        left: 0.5rem;
    }

    .photo-carousel-next {
        right: 0.5rem;
    }

    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }

    .lightbox-prev {
        left: 0.5rem;
    }

    .lightbox-next {
        right: 0.5rem;
    }

    .lightbox-content img {
        max-width: 95vw;
        max-height: 75vh;
    }

    .photo-upload-item {
        flex-direction: column;
        align-items: stretch;
    }

    .photo-upload-item img {
        width: 100% !important;
        height: 120px !important;
    }
}

/* Utilities */
.hidden {
    display: none;
}

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

.mt-4 {
    margin-top: 3rem;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mode édition */
.edit-mode-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    color: white;
    padding: 0.5rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    z-index: 1001;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.edit-mode-banner button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.8125rem;
    transition: all 0.3s;
}

.edit-mode-banner button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.editable {
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 0.25rem;
}

.editable:hover {
    outline: 2px dashed #f59e0b;
    outline-offset: 4px;
    background: rgba(245, 158, 11, 0.08);
}

.edit-popup {
    position: absolute;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 10002;
    width: 340px;
    max-width: calc(100vw - 20px);
}

.edit-popup textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 0.9375rem;
    resize: vertical;
    min-height: 80px;
}

.edit-popup textarea:focus {
    outline: none;
    border-color: #f59e0b;
}

/* Admin service/contact styles */
.stat-card.purple {
    border-left-color: #7c3aed;
}

.stat-card.cyan {
    border-left-color: #0891b2;
}

.action-item.purple {
    background: #f5f3ff;
}

.action-item.cyan {
    background: #ecfeff;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
}

.detail-item input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.9375rem;
    color: #0f172a;
}

.detail-item input:focus {
    outline: none;
}

/* Admin pink color for partners */
.stat-card.pink {
    border-left-color: #e91e63;
}

.action-item.pink {
    background: #fce4ec;
}

.action-item.pink:hover {
    background: #f8bbd0;
}
