@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: optional;
}
.hero-title{font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;font-size:3.5rem;font-weight:800;line-height:1.1;color:#0f172a;opacity:1!important;transform:none!important;animation:none!important;visibility:visible!important}
.hero-text{opacity:1!important;transform:none!important;animation:none!important}
.text-gradient{color:#2563eb}
.devis-hero{padding:5rem 0 3rem;background:linear-gradient(135deg,#f8fafc 0%,#fff 100%)}
.devis-hero h1{font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;font-size:2.5rem;font-weight:800;color:#0f172a;margin-bottom:1rem;text-align:center}
.devis-hero p{font-size:1.25rem;color:#475569;text-align:center;max-width:700px;margin:0 auto}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
.site-header { contain: layout style; }
main { contain: layout; }
.hero { contain: layout style paint; }
.services, .process, .blog, .cta, .site-footer {
    contain: layout style paint;
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}
:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-primary-light: #3b82f6;
    --color-secondary: #1e293b;
    --color-slate-50: #f8fafc;
    --color-slate-100: #f1f5f9;
    --color-slate-200: #e2e8f0;
    --color-slate-300: #cbd5e1;
    --color-slate-400: #94a3b8;
    --color-slate-500: #64748b;
    --color-slate-600: #475569;
    --color-slate-700: #334155;
    --color-slate-800: #1e293b;
    --color-slate-900: #0f172a;
}
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: white;
    color: var(--color-slate-800);
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-slate-100);
    z-index: 100;
    transition: all 0.3s;
}
.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-slate-900);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 0.875rem;
}
.logo-img {
    max-height: 45px;
    width: auto;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.main-nav a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-slate-600);
    transition: color 0.2s;
    position: relative;
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--color-primary);
}
.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-primary);
    border-radius: 1px;
}
.nav-dropdown {
    position: relative;
}
.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-slate-600);
    cursor: pointer;
    transition: color 0.2s;
}
.nav-dropdown-toggle:hover {
    color: var(--color-primary);
}
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    margin-top: 0.75rem;
    z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0.5rem;
}
.nav-dropdown-menu a {
    display: block;
    padding: 0.625rem 1rem;
    font-size: 0.9375rem;
    color: var(--color-slate-700);
    border-radius: 8px;
    transition: all 0.2s;
}
.nav-dropdown-menu a:hover {
    background: var(--color-slate-50);
    color: var(--color-primary);
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}
.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}
.btn-outline:hover {
    background: var(--color-primary);
    color: white;
}
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}
.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-slate-700);
    border-radius: 2px;
    transition: all 0.3s;
}
@media (max-width: 968px) {
    .menu-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--color-slate-200);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }
    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
}
main {
    padding-top: 80px;
}
.fonts-loaded .text-gradient {
    background: linear-gradient(135deg, var(--color-primary), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
    will-change: transform, opacity;
}
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.article-body table,
.page-content table,
.content table,
main table:not(.admin-table) {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    margin: 2rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-slate-200);
}
.article-body table thead,
.page-content table thead,
.content table thead,
main table:not(.admin-table) thead {
    background: linear-gradient(135deg, var(--color-slate-700) 0%, var(--color-slate-800) 100%);
}
.article-body table th,
.page-content table th,
.content table th,
main table:not(.admin-table) th {
    padding: 1rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: white;
    text-align: center;
    border: none;
}
.article-body table th:first-child,
.page-content table th:first-child,
.content table th:first-child,
main table:not(.admin-table) th:first-child {
    text-align: left;
}
.article-body table td,
.page-content table td,
.content table td,
main table:not(.admin-table) td {
    padding: 1rem 1.25rem;
    font-size: 0.9375rem;
    color: var(--color-slate-700);
    text-align: center;
    border-bottom: 1px solid var(--color-slate-100);
    vertical-align: middle;
}
.article-body table td:first-child,
.page-content table td:first-child,
.content table td:first-child,
main table:not(.admin-table) td:first-child {
    font-weight: 700;
    color: var(--color-slate-800);
    text-align: left;
}
.article-body table tbody tr:nth-child(even),
.page-content table tbody tr:nth-child(even),
.content table tbody tr:nth-child(even),
main table:not(.admin-table) tbody tr:nth-child(even) {
    background: var(--color-slate-50);
}
.article-body table tbody tr:last-child td,
.page-content table tbody tr:last-child td,
.content table tbody tr:last-child td,
main table:not(.admin-table) tbody tr:last-child td {
    border-bottom: none;
}
.article-body table tbody tr:hover,
.page-content table tbody tr:hover,
.content table tbody tr:hover,
main table:not(.admin-table) tbody tr:hover {
    background: #eef2ff;
}
@media (max-width: 640px) {
    .article-body table,
    .page-content table,
    .content table,
    main table:not(.admin-table) {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
body {
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.site-footer {
    background: var(--color-slate-900);
    color: white;
    padding: 5rem 0 2rem;
    margin-top: 5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
}
.footer-desc {
    color: var(--color-slate-400);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}
.social-links {
    display: flex;
    gap: 1rem;
}
.social-links a {
    width: 40px;
    height: 40px;
    background: var(--color-slate-800);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-slate-400);
    transition: all 0.2s;
}
.social-links a:hover {
    background: var(--color-primary);
    color: white;
}
.site-footer .btn-outline {
    color: white;
    border-color: white;
}
.site-footer .btn-outline:hover {
    background: white;
    color: var(--color-slate-900);
}
.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.75rem;
}
.footer-links a {
    color: var(--color-slate-300);
    font-size: 0.9375rem;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: white;
}
.footer-contact p {
    color: var(--color-slate-300);
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}
.footer-contact .footer-email {
    color: var(--color-slate-300);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-contact .footer-email:hover {
    color: white;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-slate-800);
}
.footer-bottom p {
    color: var(--color-slate-500);
    font-size: 0.875rem;
}
.footer-legal {
    display: flex;
    gap: 2rem;
}
.footer-legal a {
    color: var(--color-slate-500);
    font-size: 0.875rem;
    transition: color 0.2s;
}
.footer-legal a:hover,
.footer-legal .obfuscated-link:hover {
    color: white;
}
.footer-legal .obfuscated-link {
    color: var(--color-slate-500);
    font-size: 0.875rem;
    transition: color 0.2s;
    cursor: pointer;
    text-decoration: none;
}
@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}
@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    z-index: 99;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}
@media (max-width: 640px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
    }
}
.footer-contact .btn-outline{margin-top:1rem}
.btn-cta,.btn-cta:hover{background:#1acee2}
.introuvable{padding:5rem 0;text-align:center}
.introuvable p{color:var(--color-slate-600);margin-bottom:2rem}
.champ-cache{position:absolute!important;left:-9999px!important;top:-9999px!important;height:0;width:0;overflow:hidden}
