/* ================= CUSTOM VARIABLES & BASE ================= */
:root {
    --primary: #003030;       /* Deep Teal */
    --primary-light: #004d4d;
    --secondary: #701010;     /* Deep Bordeaux Red */
    --secondary-light: #901b1b;
    --dark: #1f2937;
    --light: #f3f5f5;
    --border: #e5e7eb;
    --text: #374151;
    --text-muted: #6b7280;
    --white: #ffffff;
    
    /* Gradients */
    --gradient-teal: linear-gradient(135deg, #003030 0%, #005f5f 100%);
    --gradient-red: linear-gradient(135deg, #701010 0%, #a02020 100%);
    --gradient-hybrid: linear-gradient(135deg, #003030 0%, #701010 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: #f7f9f9;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    font-weight: 700;
}

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

/* ================= SPA VIEW LAYOUT ================= */
.view-pane {
    display: none;
}
.view-pane.active {
    display: block;
    animation: viewFadeIn 0.4s ease-out;
}

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

/* ================= UTILITY CLASSES ================= */
.grid {
    display: grid;
    gap: 30px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-right { text-align: right; }
.hidden { display: none !important; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    gap: 8px;
}
.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}
.btn-primary {
    background: var(--gradient-teal);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0, 48, 48, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 48, 48, 0.4);
    background: linear-gradient(135deg, #004d4d 0%, #007777 100%);
}
.btn-secondary {
    background: var(--gradient-red);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(112, 16, 16, 0.3);
}
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(112, 16, 16, 0.4);
    background: linear-gradient(135deg, #901b1b 0%, #b82c2c 100%);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}
.btn-block {
    display: flex;
    width: 100%;
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}
.glass-card:hover {
    border-color: rgba(0, 48, 48, 0.2);
    box-shadow: 0 20px 25px -5px rgba(0, 48, 48, 0.1), 0 10px 10px -5px rgba(0, 48, 48, 0.04);
}

/* Badge */
.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(112, 16, 16, 0.1);
    color: var(--secondary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(112, 16, 16, 0.2);
}

/* ================= SCREEN HEADER ================= */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}
.header-logo {
    height: 48px;
    width: auto;
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.brand-name {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
    line-height: 1;
}
.brand-sub {
    font-family: 'Outfit', sans-serif;
    font-size: 10px;
    color: var(--secondary);
    font-weight: 600;
    letter-spacing: 0.5px;
}
.main-nav {
    display: flex;
    gap: 8px;
}
.nav-btn {
    background: transparent;
    border: none;
    outline: none;
    padding: 8px 14px;
    border-radius: 6px;
    color: var(--text-muted);
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 13.5px;
    cursor: pointer;
    transition: var(--transition);
}
.nav-btn:hover {
    color: var(--primary);
    background: rgba(0, 48, 48, 0.05);
}
.nav-btn.active {
    color: var(--primary);
    background: rgba(0, 48, 48, 0.1);
}

/* ================= PREMIUM CAROUSEL ================= */
.carousel-container {
    position: relative;
    height: 480px;
    margin: 30px auto;
    max-width: 1200px;
    width: calc(100% - 40px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #001a1a 0%, #200404 100%);
}
/* Vector grid canvas overlay representing design software workspace */
.carousel-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
    pointer-events: none;
}
.carousel-track {
    display: flex;
    width: 300%; /* 3 slides */
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-slide {
    flex: 0 0 33.333%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 80px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.carousel-content {
    max-width: 550px;
    z-index: 2;
    animation: slideUp 0.8s ease-out;
}
.carousel-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}
.carousel-content h2 {
    font-size: 38px;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 15px;
}
.carousel-content p {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 25px;
}
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.05);
}
.carousel-arrow.prev { left: 20px; }
.carousel-arrow.next { right: 20px; }

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}
.indicator.active {
    background: var(--white);
    width: 25px;
    border-radius: 5px;
}

/* Slide visual elements */
.carousel-visual-web, .carousel-visual-cm, .carousel-visual-print {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    z-index: 1;
    position: relative;
}

.carousel-image-container {
    position: relative;
    width: 280px;
    height: 340px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: visible;
}
.carousel-person-img {
    width: auto;
    height: 100%;
    max-height: 340px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));
    animation: floatImage 4s ease-in-out infinite;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}
.carousel-image-container:hover .carousel-person-img {
    transform: scale(1.04) translateY(-5px);
}
.carousel-glow-circle {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(55px);
    z-index: 1;
    opacity: 0.35;
    pointer-events: none;
}
.glow-teal { background: #00f3f3; }
.glow-red { background: #ff3b30; }

/* Figma/Illustrator Live Cursors */
.figma-cursor {
    position: absolute;
    display: flex;
    flex-direction: column;
    z-index: 4;
    pointer-events: none;
    animation: floatCursor 5s ease-in-out infinite alternate;
}
.cursor-svg {
    width: 18px;
    height: 18px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.cursor-label {
    margin-left: 12px;
    margin-top: 8px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Vector Design Floating Tools */
.floating-color-palette {
    position: absolute;
    left: -45px;
    top: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 3;
    animation: floatPalette 6s ease-in-out infinite alternate;
}
.palette-title {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.5px;
}
.palette-swatches {
    display: flex;
    gap: 6px;
}
.swatch {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
}

/* Anchor point design tool */
.vector-anchor-point {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #00f3f3;
    border: 2px solid var(--white);
    box-shadow: 0 0 10px #00f3f3;
    z-index: 3;
}
.vector-handle-line {
    position: absolute;
    height: 2px;
    background: rgba(0,243,243,0.5);
    z-index: 2;
    transform-origin: left center;
}
.vector-handle-circle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--white);
    border: 1.5px solid #00f3f3;
    border-radius: 50%;
    z-index: 3;
}

/* CMYK / RGB color calibration bar */
.cmyk-bar {
    position: absolute;
    right: -40px;
    top: 50px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 3;
    animation: floatPalette 5s ease-in-out infinite alternate-reverse;
}
.cmyk-color {
    width: 32px;
    height: 12px;
    border-radius: 3px;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

/* Animations */
@keyframes floatImage {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}
@keyframes floatCursor {
    0% { transform: translate(0, 0); }
    50% { transform: translate(15px, -10px); }
    100% { transform: translate(-10px, 15px); }
}
@keyframes floatPalette {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes floatMockup {
    0% { transform: rotate(5deg) scale(1.05) translateY(0px); }
    50% { transform: rotate(5deg) scale(1.05) translateY(-10px); }
    100% { transform: rotate(5deg) scale(1.05) translateY(0px); }
}
@keyframes floatIcon {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-12px); }
}

/* ================= WELCOME / BANNERS ================= */
.welcome-section {
    padding: 60px 0;
}
.welcome-card {
    text-align: center;
    border: 1px solid var(--border);
    padding: 40px 30px;
}
.w-icon {
    font-size: 36px;
    color: var(--secondary);
    margin-bottom: 20px;
}
.welcome-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}
.welcome-card p {
    font-size: 14px;
    color: var(--text-muted);
}

.action-banners {
    padding: 30px 0 60px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.action-card {
    border-radius: 16px;
    padding: 50px 40px;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}
.action-card h3 {
    color: var(--white);
    font-size: 26px;
    margin-bottom: 10px;
}
.action-card p {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 30px;
}
.action-card .btn {
    align-self: flex-start;
}

/* ================= ADMIN SUB-NAVIGATION TABS ================= */
.admin-tabs-container {
    display: flex;
    gap: 15px;
    border-bottom: 2px solid var(--border);
    margin-top: 20px;
    margin-bottom: 20px;
    overflow-x: auto;
}
.admin-tab-btn {
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 16px;
    color: var(--text-muted);
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 14.5px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.admin-tab-btn:hover {
    color: var(--primary);
}
.admin-tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--secondary);
}
.admin-sub-pane {
    display: none;
}
.admin-sub-pane.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* ================= CRM PROSPECTS STYLING (NEW) ================= */
.crm-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}
.crm-stat-card {
    padding: 20px 25px;
    border: 1px solid var(--border);
    text-align: center;
}
.stat-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--secondary);
    margin: 6px 0;
    font-family: 'Outfit', sans-serif;
}
.stat-desc {
    font-size: 11px;
    color: var(--text-muted);
}

.crm-workspace-grid {
    display: grid;
    grid-template-columns: 0.8fr 2.2fr;
    gap: 30px;
    align-items: start;
}
.crm-form-card h3, .crm-list-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary);
}

/* Lead Status badges */
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}
.status-nouveau {
    background-color: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}
.status-contacte {
    background-color: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}
.status-offre {
    background-color: #faf5ff;
    color: #7c3aed;
    border: 1px solid #e9d5ff;
}
.status-gagne {
    background-color: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}
.status-perdu {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.crm-table td {
    vertical-align: middle;
    font-size: 12.5px;
}
.crm-actions-cell {
    display: flex;
    gap: 4px;
}
.btn-crm-action {
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.btn-crm-action i {
    font-size: 11px;
}
.btn-crm-convert {
    background-color: rgba(0, 48, 48, 0.08);
    color: var(--primary);
}
.btn-crm-convert:hover {
    background-color: var(--primary);
    color: var(--white);
}
.btn-crm-del {
    background-color: rgba(112, 16, 16, 0.08);
    color: var(--secondary);
}
.btn-crm-del:hover {
    background-color: var(--secondary);
    color: var(--white);
}

/* ================= OFFRE SPONTANÉE VUE ================= */
.corporate-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.corporate-table tr {
    border-bottom: 1px solid var(--border);
}
.corporate-table tr:last-child {
    border-bottom: none;
}
.corporate-table td {
    padding: 10px 5px;
    color: var(--text-muted);
}
.corporate-table td strong {
    color: var(--primary);
}

.service-range-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    padding: 25px;
}
.range-icon {
    font-size: 36px;
    color: var(--secondary);
    margin-bottom: 15px;
    text-align: center;
}
.service-range-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    text-align: center;
}
.range-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
    margin-top: 10px;
}
.range-table th {
    background: #eef2f2;
    padding: 8px;
    font-weight: 600;
    text-align: left;
    border-bottom: 2px solid var(--border);
    color: var(--primary);
}
.range-table td {
    padding: 8px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}
.range-table tbody tr:nth-child(even) {
    background-color: rgba(238, 242, 242, 0.4);
}

/* ================= SERVICES SECTION & TABS ================= */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 48, 48, 0.15) 50%, transparent 100%);
    margin: 20px 0 35px 0;
}
.section-header {
    margin-top: 40px;
    margin-bottom: 35px;
    text-align: center;
}
.section-header h2 {
    font-size: 32px;
    margin-bottom: 8px;
}
.accent-bar {
    width: 60px;
    height: 4px;
    background: var(--gradient-teal);
    margin: 12px auto 0 auto;
    border-radius: 2px;
}

.tabs-container {
    display: flex;
    justify-content: center;
    background: rgba(0, 48, 48, 0.04);
    padding: 6px;
    border-radius: 50px;
    margin: 10px auto 40px auto;
    border: 1px solid rgba(0, 48, 48, 0.08);
    width: max-content;
    gap: 5px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);
}
.tab-btn {
    padding: 10px 22px;
    border-radius: 40px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14.5px;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: none;
}
.tab-btn:hover {
    color: var(--primary);
}
.tab-btn.active {
    background: var(--gradient-teal);
    color: var(--white);
    box-shadow: var(--shadow-md), 0 4px 10px rgba(0, 48, 48, 0.15);
}
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* Pricing Cards */
.pricing-card {
    background: var(--white);
    border-radius: 16px;
    padding: 35px 25px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}
.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
    border-color: var(--primary);
}
.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 10px;
    background: rgba(0, 48, 48, 0.1);
    color: var(--primary);
    font-size: 10px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
}
.pricing-card.featured .card-badge {
    background: var(--secondary);
    color: var(--white);
}
.pricing-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}
.pricing-card .price {
    font-size: 34px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    margin-bottom: 15px;
    line-height: 1;
}
.pricing-card .price span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}
.card-features {
    list-style: none;
    margin-bottom: 25px;
    flex-grow: 1;
}
.card-features li {
    font-size: 13.5px;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.card-features li i {
    font-size: 15px;
}
.card-features li i.fa-circle-check { color: #10b981; }
.card-features li i.fa-circle-xmark { color: #ef4444; }

/* Print items catalog grid */
.print-item-card {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.item-icon {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 64px;
}
.item-icon svg {
    width: 60px;
    height: 60px;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
    transition: transform 0.3s ease;
}
.print-item-card:hover .item-icon svg {
    transform: scale(1.1) rotate(5deg);
}

/* Floating Goodies Assets */
.goodie-item {
    position: absolute;
    pointer-events: none;
    z-index: 3;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.35));
}
.goodie-kakemono {
    left: -70px;
    bottom: 50px;
    width: 55px;
    height: 110px;
    animation: floatKakemono 6s ease-in-out infinite alternate;
}
.goodie-tshirt {
    right: -65px;
    bottom: 90px;
    width: 75px;
    height: 75px;
    animation: floatTshirt 5s ease-in-out infinite alternate;
}
.goodie-pen {
    right: -10px;
    top: 30px;
    width: 60px;
    height: 15px;
    animation: floatPen 4s ease-in-out infinite alternate;
}
.goodie-card {
    left: -45px;
    top: 80px;
    width: 65px;
    height: 42px;
    animation: floatCardItem 5.5s ease-in-out infinite alternate;
}

@keyframes floatKakemono {
    0% { transform: translateY(0) rotate(-4deg); }
    100% { transform: translateY(-12px) rotate(4deg); }
}
@keyframes floatTshirt {
    0% { transform: translateY(0) scale(1) rotate(6deg); }
    100% { transform: translateY(-10px) scale(1.03) rotate(-6deg); }
}
@keyframes floatPen {
    0% { transform: translateY(0) rotate(-35deg); }
    100% { transform: translateY(-8px) rotate(-25deg); }
}
@keyframes floatCardItem {
    0% { transform: translateY(0) rotate(10deg); }
    100% { transform: translateY(-14px) rotate(-5deg); }
}

.print-item-card h4 {
    font-size: 15px;
    margin-bottom: 5px;
}
.unit-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 14px;
}

/* ================= CONFIGURATOR CLIENT ================= */
.config-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 45px;
    margin-top: 30px;
}
.config-controls {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-md);
}
.config-group {
    border-bottom: 1px solid var(--border);
    padding-bottom: 25px;
    margin-bottom: 25px;
}
.config-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
.group-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary);
}
.radio-selectors {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.radio-card {
    position: relative;
    cursor: pointer;
}
.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.radio-card-content {
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.radio-card input[type="radio"]:checked + .radio-card-content {
    border-color: var(--primary);
    background: rgba(0, 48, 48, 0.03);
}
.option-title {
    font-weight: 600;
    font-size: 13.5px;
}
.option-price {
    font-size: 12px;
    color: var(--secondary);
    font-weight: 700;
}
.durations-toggle select {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 14px;
    width: 100%;
    margin-top: 5px;
    outline: none;
}
.durations-toggle select:focus {
    border-color: var(--primary);
}
.print-inputs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.input-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.input-label {
    font-size: 12.5px;
    font-weight: 500;
}
.input-item input[type="number"] {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 14px;
}

/* Summary Card styling */
.summary-card {
    position: sticky;
    top: 90px;
}
.summary-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}
.summary-divider {
    height: 1px;
    background: var(--border);
    margin: 15px 0;
}
.summary-lines {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sum-line {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}
.sum-line-price {
    font-weight: 600;
}
.empty-msg {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 40px;
}
.total-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}
.total-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
}
.vat-mention {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* ================= ESPACE PRO / ADMIN GENERATOR ================= */
.admin-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 40px;
    margin-top: 10px;
}
.admin-form {
    border: 1px solid var(--border);
}
.admin-form h3 {
    font-size: 18px;
    color: var(--primary);
}
.flex-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 25px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 15px;
}
.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}
.form-group input, .form-group select {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 14px;
    font-family: inherit;
}
.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Admin editable table */
.table-container {
    overflow-x: auto;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.admin-table th {
    background: #eef2f2;
    padding: 10px;
    font-weight: 600;
    text-align: left;
    border-bottom: 2px solid var(--border);
}
.admin-table td {
    padding: 10px 5px;
    border-bottom: 1px solid var(--border);
}
.admin-table input[type="text"], .admin-table input[type="number"] {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 13px;
}
.admin-table input[type="text"]:focus, .admin-table input[type="number"]:focus {
    outline: none;
    border-color: var(--primary);
}
.btn-del {
    background: transparent;
    border: none;
    color: var(--secondary);
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    transition: var(--transition);
}
.btn-del:hover {
    color: #ef4444;
    transform: scale(1.1);
}

/* ================= CONTACT SECTION ================= */
.contact-section {
    padding: 60px 0;
}
.info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}
.info-item {
    display: flex;
    gap: 15px;
}
.info-item i {
    font-size: 20px;
    color: var(--secondary);
    margin-top: 4px;
}
.info-item h4 {
    font-size: 14px;
    margin-bottom: 2px;
}
.info-item p {
    font-size: 13px;
    color: var(--text-muted);
}
.contact-form-card form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ================= FOOTER ================= */
.main-footer {
    background: var(--primary);
    color: var(--white);
    padding: 40px 0;
    font-size: 12px;
}
.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

/* ================= PRINT STYLE RULES ================= */
.only-print {
    display: none;
}

@media print {
    /* Hide screen-specific sections */
    .no-print, .main-header, .welcome-section, .action-banners, .tab-pane, .tabs-container, .pricing-card, .configurator-section, .admin-grid, .contact-section, .main-footer, .admin-tabs-container, .crm-stats-grid, .crm-workspace-grid {
        display: none !important;
    }
    
    body {
        background-color: #ffffff;
        color: #000000;
        font-size: 10pt;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    /* Make print structures visible */
    .only-print {
        display: block !important;
    }
    
    /* Header layout */
    .print-header {
        border-bottom: 2px solid var(--primary);
        padding-bottom: 12px;
        margin-bottom: 20px;
    }
    .print-header-top {
        display: flex;
        align-items: center;
        margin-bottom: 12px;
    }
    .print-logo {
        height: 60px;
        margin-right: 20px;
    }
    .print-company-info h1 {
        font-size: 16pt;
        color: var(--primary);
        margin-bottom: 3px;
    }
    .print-company-info p {
        font-size: 8.5pt;
        color: #555555;
    }
    .print-meta {
        font-size: 7.5pt !important;
        margin-top: 3px;
    }
    .print-header-bottom {
        display: flex;
        justify-content: space-between;
        font-size: 8.5pt;
        color: #333333;
        border-top: 1px solid #eeeeee;
        padding-top: 6px;
    }
    .print-title-container {
        text-align: center;
        margin-top: 20px;
        border-top: 1px dashed var(--primary);
        border-bottom: 1px dashed var(--primary);
        padding: 10px 0;
    }
    .print-title-container h2 {
        font-size: 14pt;
        color: var(--secondary);
    }
    .print-date {
        font-size: 8.5pt;
        color: #555555;
        margin-top: 2px;
    }
    
    /* Client details */
    .print-client-details {
        margin: 15px 0;
        font-size: 9.5pt;
        padding: 10px;
        background: #f7f9f9;
        border-left: 4px solid var(--primary);
    }
    
    /* Spontaneous presentation letter */
    .print-spontaneous-letter-block {
        font-size: 9.5pt;
        line-height: 1.5;
        margin-bottom: 20px;
        color: #333333;
        text-align: justify;
    }
    
    /* Page break rule for printing */
    .page-break {
        page-break-before: always;
        clear: both;
    }
    
    /* Detailed spontaneous proposal elements */
    .print-spontaneous-details {
        font-size: 9.5pt;
        line-height: 1.6;
        color: #222222;
        text-align: justify;
    }
    .print-spontaneous-details h3 {
        font-size: 13pt;
        color: var(--primary);
        border-bottom: 2px solid var(--primary);
        padding-bottom: 4px;
        margin-top: 25px;
        margin-bottom: 15px;
        page-break-after: avoid;
    }
    .print-spontaneous-details .service-detail-block {
        margin-bottom: 20px;
        page-break-inside: avoid;
    }
    .print-spontaneous-details h4 {
        font-size: 10.5pt;
        color: var(--secondary);
        margin-bottom: 6px;
        page-break-after: avoid;
    }
    
    /* Tables */
    .print-service-summary {
        margin-bottom: 25px;
    }
    .print-service-summary h3 {
        font-size: 11pt;
        margin-bottom: 8px;
        color: var(--primary);
    }
    .print-table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 8px;
        font-size: 8.5pt;
    }
    .print-table th, .print-table td {
        border: 1px solid #cccccc;
        padding: 8px;
        text-align: left;
    }
    .print-table th {
        background-color: #003030;
        color: #ffffff;
    }
    .print-table tbody tr:nth-child(even) {
        background-color: #f7f9f9;
    }
    
    /* Terms */
    .print-terms {
        margin-top: 30px;
        font-size: 8pt;
        color: #444444;
    }
    .print-terms h3 {
        font-size: 9.5pt;
        color: var(--secondary);
        margin-bottom: 6px;
    }
    .print-terms ol {
        margin-left: 20px;
    }
    .print-terms li {
        margin-bottom: 3px;
    }
    
    /* Signatures */
    .print-signatures {
        display: flex;
        justify-content: space-between;
        margin-top: 40px;
        page-break-inside: avoid;
    }
    .sig-block {
        width: 45%;
    }
    .sig-line {
        border-bottom: 1px solid #777777;
        height: 50px;
        margin-bottom: 8px;
    }
    .sig-stamp {
        border: 2px dashed var(--primary);
        padding: 12px;
        border-radius: 6px;
        display: inline-block;
        font-size: 8pt;
        text-align: center;
        margin-top: 10px;
        color: var(--primary);
    }
    
    /* Force page settings */
    @page {
        size: A4 portrait;
        margin: 15mm;
    }
}

/* ================= RESPONSIVE MEDIA QUERIES ================= */
@media screen and (max-width: 768px) {
    /* Header & Navigation */
    .header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
    .nav-btn {
        padding: 6px 12px;
        font-size: 12.5px;
    }
    
    /* Carousel */
    .carousel-container {
        height: auto;
        min-height: 480px;
        padding-bottom: 30px;
    }
    .carousel-slide {
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
        text-align: center;
        justify-content: center;
    }
    .carousel-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .carousel-content h2 {
        font-size: 26px;
    }
    .carousel-content p {
        font-size: 13.5px;
    }
    .carousel-image-container {
        width: 220px;
        height: 240px;
    }
    .carousel-person-img {
        max-height: 240px;
    }
    .goodie-kakemono { left: -30px !important; width: 40px !important; height: 80px !important; }
    .goodie-tshirt { right: -30px !important; width: 55px !important; height: 55px !important; }
    .goodie-pen { right: 0px !important; top: 10px !important; width: 45px !important; }
    .goodie-card { left: -20px !important; top: 40px !important; width: 45px !important; }

    /* Layout Grids */
    .grid, .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    /* Configurator & Client section */
    .config-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    .radio-selectors {
        grid-template-columns: 1fr !important;
    }
    
    /* Admin Grid */
    .admin-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    .admin-tabs-container {
        flex-direction: row !important;
        flex-wrap: wrap;
        border-right: none !important;
        border-bottom: 2px solid var(--border) !important;
        padding-right: 0 !important;
        padding-bottom: 15px !important;
        margin-bottom: 15px !important;
        justify-content: center;
        gap: 8px;
    }
    .admin-tab-btn {
        width: auto !important;
        justify-content: center;
    }
    
    /* Tables & Inputs scroll overflow (UX safety) */
    .table-container, .crm-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Invoice details flex */
    .invoice-header-block {
        flex-direction: column;
        gap: 15px;
    }
}
