/* ============================================
   DEEPLOYER TEMPLATE — THEME CSS
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Reset SVG scopé — protège nos icônes des styles globaux agressifs */
.dt-header svg,
.dt-mobile-menu svg,
.dt-mobile-phone svg,
.dt-mobile-toggle svg,
.dt-scroll-top svg,
.dt-footer svg:not(.dt-footer-separator svg) {
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 2 !important;
    transition: none !important;
}

body {
    font-family: var(--dt-body-font);
    font-size: 16px;
    line-height: var(--dt-body-line-height, 1.6);
    color: var(--dt-text);
    background: var(--dt-bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--dt-heading-font);
    font-weight: 700;
    line-height: 1.3;
    color: var(--dt-secondary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a { color: var(--dt-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--dt-secondary); }

img { max-width: 100%; height: auto; display: block; }

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

/* ============================================
   TOPBAR
   ============================================ */
.dt-topbar {
    padding: 8px 54px;
    font-size: 13px;
    line-height: 1.4;
}
.dt-topbar-inner {
    width: 100%;
}
.dt-topbar a { color: inherit; text-decoration: underline; }
.dt-topbar a:hover { opacity: .8; }

/* ============================================
   HEADER
   ============================================ */
.dt-header {
    background: var(--dt-header-bg);
    color: var(--dt-header-text);
    position: relative;
    z-index: 1000;
    transition: all .3s ease;
    overflow: visible;
}

/* Backdrop blur */
.dt-header-blur {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.dt-header-inner {
    width: 100%;
    padding: 10px 40px;
    padding-top: var(--dt-header-padding-top, 0px);
    display: flex;
    align-items: center;
    min-height: 70px;
    position: relative;
    z-index: 1001;
}
.dt-header-scrolled .dt-header-inner {
    padding-top: 5px;
    padding-bottom: 5px;
}

/* Logo */
.dt-logo a { display: inline-flex; align-items: center; }
.dt-logo img { max-height: var(--dt-logo-height, 50px); width: auto; }
.dt-logo img[src$=".svg"] { height: var(--dt-logo-height, 50px); width: auto; }
.dt-logo-wrap { display: flex; flex-direction: column; align-items: flex-start; }
.dt-logo, .dt-logo-wrap { position: relative; z-index: 1000; }
.dt-logo-sticky img { width: auto; }
.dt-site-tagline { font-size: 11px; margin: 2px 0 0; opacity: .7; line-height: 1.2; color: var(--dt-header-text); }
.dt-site-title {
    font-family: var(--dt-heading-font);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dt-header-text);
    text-decoration: none;
}

/* Nav */
.dt-nav { display: flex; align-items: center; }
.dt-menu { list-style: none; display: flex; gap: 0; margin: 0; padding: 0; }
.dt-menu li { position: relative; }
.dt-menu li a {
    display: block;
    padding: 24px 16px;
    color: var(--dt-header-text);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: color .2s;
    white-space: nowrap;
}
.dt-menu li a:hover,
.dt-menu li.current-menu-item > a { color: var(--dt-primary); }

/* Sous-menu */
.dt-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 8px 0;
    list-style: none;
    z-index: 100;
}
.dt-menu li:hover > .sub-menu { display: block; }
.dt-menu .sub-menu li a {
    padding: 10px 20px;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
    color: #374151;
}
.dt-menu .sub-menu li a:hover { color: var(--dt-primary); background: #f9fafb; }

/* --- V1 : Logo gauche, menu + CTA droite --- */
.dt-header-v1 .dt-header-inner { justify-content: space-between; }
.dt-header-v1 .dt-header-left { display: flex; align-items: center; }
.dt-header-v1 .dt-header-right { display: flex; align-items: center; gap: 8px; }

/* --- V2 : Menu gauche, logo centré --- */
.dt-header-v2 .dt-header-inner { justify-content: space-between; }
.dt-header-v2 .dt-header-left { display: flex; align-items: center; }
.dt-header-v2 .dt-header-center { position: absolute; left: 50%; transform: translateX(-50%); }
.dt-header-v2 .dt-header-right { display: flex; align-items: center; gap: 8px; }

/* --- V3 : Logo gauche, menu centré, CTA droite --- */
.dt-header-v3 .dt-header-inner { justify-content: space-between; }
.dt-header-v3 .dt-header-left { flex-shrink: 0; }
.dt-header-v3 .dt-header-center { flex: 1; display: flex; justify-content: center; }
.dt-header-v3 .dt-header-right { flex-shrink: 0; }

/* --- V4 : Logo centré, menu dessous --- */
.dt-header-v4 .dt-header-inner { flex-direction: column; padding-top: 16px; }
.dt-header-v4 .dt-header-center { margin-bottom: 8px; }
.dt-header-v4 .dt-header-nav-center { display: flex; align-items: center; gap: 16px; }

/* --- Sticky --- */
.dt-header-sticky {
    position: sticky;
    top: 0;
    will-change: transform;
}

/* WP Admin bar : décaler le header et les éléments fixed */
.admin-bar .dt-header-sticky {
    top: 32px;
}
.admin-bar .dt-mobile-menu {
    top: 32px;
    height: calc(100vh - 32px);
}
.admin-bar .dt-mobile-menu-lateral {
    top: 32px;
    height: calc(100vh - 32px);
}
@media (max-width: 782px) {
    .admin-bar .dt-header-sticky {
        top: 46px;
    }
    .admin-bar .dt-mobile-menu,
    .admin-bar .dt-mobile-menu-lateral {
        top: 46px;
        height: calc(100vh - 46px);
    }
}
.dt-header-scrolled {
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

/* --- Header separator --- */
.dt-header-sep {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    line-height: 0;
    pointer-events: none;
    transform: translateY(calc(100% - 1px));
    color: transparent;
}
.dt-header-sep svg {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: bottom;
    
}
.dt-header-sep.dt-sep-flip svg {
    transform: scaleX(-1);
}
.dt-header-sep-sticky { display: none; }
.dt-header-scrolled .dt-header-sep-initial { display: none; }
.dt-header-scrolled .dt-header-sep-sticky { display: block; }

/* --- Transparent --- */
.dt-header-transparent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
}
.dt-header-transparent .dt-topbar {
    background: transparent;
}
.dt-header-transparent .dt-menu li a,
.dt-header-transparent .dt-site-title,
.dt-header-transparent .dt-site-tagline { color: #fff; }
.dt-header-transparent.dt-header-scrolled {
    position: fixed;
    background: var(--dt-header-bg);
    transition: background 0.3s ease;
}
.dt-header-transparent.dt-header-scrolled .dt-topbar {
    background: var(--dt-topbar-bg, var(--dt-header-bg));
}
.dt-header-transparent.dt-header-scrolled .dt-menu li a,
.dt-header-transparent.dt-header-scrolled .dt-site-title,
.dt-header-transparent.dt-header-scrolled .dt-site-tagline { color: var(--dt-header-text); }

/* --- CTA Buttons --- */
.dt-header-cta { display: flex; align-items: center; gap: 8px; }

.dt-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: var(--dt-cta-radius, 6px);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: all .2s;
    text-decoration: none;
    cursor: pointer;
}

.dt-cta-filled {
    background: var(--dt-primary);
    color: #fff;
    border: 2px solid var(--dt-primary);
}
.dt-cta-filled:hover { background: var(--dt-secondary); border-color: var(--dt-secondary); color: #fff; }

.dt-cta-outline {
    background: transparent;
    color: var(--dt-primary);
    border: 2px solid var(--dt-primary);
}
.dt-cta-outline:hover { background: var(--dt-primary); color: #fff; }

.dt-cta-text {
    background: transparent;
    color: var(--dt-primary);
    border: 2px solid transparent;
    padding: 8px 12px;
}
.dt-cta-text:hover { color: var(--dt-secondary); }

/* Pulse animation */
@keyframes dt-pulse-shadow {
    0%   { box-shadow: 0 0 0 0 var(--dt-pulse-color, rgba(124,124,124,0.6)); }
    50%  { box-shadow: 0 0 30px -2px var(--dt-pulse-color, rgba(124,124,124,0.6)); }
    100% { box-shadow: 0 0 0 0 var(--dt-pulse-color, rgba(124,124,124,0.6)); }
}
.dt-cta-pulse {
    animation: dt-pulse-shadow 2s ease-in-out infinite;
}

/* ============================================
   PRELOADER
   ============================================ */
#dt-preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .4s, visibility .4s;
}
#dt-preloader.dt-preloader-hide {
    opacity: 0;
    visibility: hidden;
}
.dt-preloader-spinner {
    width: 44px;
    height: 44px;
    border: 4px solid;
    border-top-color: transparent !important;
    border-radius: 50%;
    animation: dt-spin .8s linear infinite;
}
@keyframes dt-spin { to { transform: rotate(360deg); } }

/* ============================================
   SCROLL TO TOP
   ============================================ */
.dt-scroll-top {
    position: fixed;
    bottom: 20px;
    z-index: 9999;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .3s, visibility .3s, transform .3s;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.dt-scroll-top.dt-scroll-top-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dt-scroll-top:hover { opacity: .85; }

/* ============================================
   SIDEBAR LAYOUT
   ============================================ */
.dt-layout-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}
.dt-sidebar-left {
    grid-template-columns: 300px 1fr;
}
.dt-sidebar-left .dt-sidebar { order: -1; }
.dt-sidebar {
    position: sticky;
    top: 100px;
}
@media (max-width: 768px) {
    .dt-layout-sidebar {
        grid-template-columns: 1fr;
    }
    .dt-sidebar-left .dt-sidebar { order: 0; }
}

/* ============================================
   404
   ============================================ */
.dt-404 {
    padding: 80px 20px;
}
.dt-404-inner {
    text-align: center;
}
.dt-404-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 0 auto 30px;
    display: block;
}
.dt-404-title {
    font-size: 72px;
    font-family: var(--dt-heading-font);
    font-weight: 800;
    color: var(--dt-primary);
    margin: 0 0 16px;
    line-height: 1;
}
.dt-404-text {
    font-size: 18px;
    color: var(--dt-text);
    margin: 0 0 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.dt-404-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--dt-primary);
    color: #fff;
    border-radius: var(--dt-cta-radius);
    text-decoration: none;
    font-weight: 600;
    transition: opacity .2s;
}
.dt-404-btn:hover { opacity: .85; }

/* --- Mobile toggle --- */
.dt-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dt-header-text);
    padding: 8px;
    align-items: center;
    gap: 6px;
}
.dt-mobile-toggle-label {
    font-size: 14px;
    font-weight: 600;
    font-family: var(--dt-body-font);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.dt-mobile-toggle-left { order: -1; }
.dt-mobile-toggle-right { order: 99; }
.dt-mobile-toggle-close { display: none; }
.dt-mobile-toggle[aria-expanded="true"] .dt-mobile-toggle-open { display: none; }
.dt-mobile-toggle[aria-expanded="true"] .dt-mobile-toggle-close { display: block; }

/* --- Mobile menu --- */
.dt-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dt-mobile-menu-bg, #ffffff);
    z-index: 10001;
    overflow-y: auto;
    padding: 80px 24px 24px;
}
.dt-mobile-menu.active { display: block; }

/* Croix de fermeture intégrée au menu */
.dt-mobile-menu-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dt-mobile-menu-text, #1e293b);
    padding: 8px;
    padding-left: 0px;
    z-index: 2;
    line-height: 1;
}
.dt-mobile-menu-close svg {
    width: 28px;
    height: 28px;
}
.dt-mobile-menu-close:hover,
.dt-mobile-menu-close:focus {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--dt-mobile-menu-text, #1e293b) !important;
    box-shadow: none !important;
    opacity: 0.7;
}

/* Menu mobile latéral */
.dt-mobile-menu-lateral {
    top: 0;
    right: auto;
    width: var(--dt-mobile-menu-width, 300px);
    transform: translateX(-100%);
    transition: transform .35s cubic-bezier(.22,.68,0,1.1);
    display: block;
    pointer-events: none;
}
.dt-mobile-menu-lateral.active {
    transform: translateX(0);
    pointer-events: auto;
}

/* Overlay fond sombre (pour menu latéral) */
.dt-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    opacity: 0;
    transition: opacity .3s ease;
}
.dt-mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* Accordéon sous-menus mobile */
.dt-submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none !important;
    border: none !important;
    cursor: pointer;
    color: var(--dt-mobile-menu-text, #1e293b);
    padding: 10px 12px;
    margin: 0;
    opacity: 0.5;
    transition: transform .25s ease, opacity .2s;
    flex-shrink: 0;
}
.dt-submenu-toggle:hover,
.dt-submenu-toggle:focus {
    background: none !important;
    background-color: transparent !important;
    color: var(--dt-mobile-menu-text, #1e293b) !important;
    box-shadow: none !important;
    opacity: 0.8;
}
.dt-submenu-toggle.dt-submenu-open {
    transform: rotate(180deg);
    opacity: 0.8;
}
.dt-mobile-nav .sub-menu {
    padding-left: 16px;
    border-left: 2px solid var(--dt-mobile-menu-border, rgba(128,128,128,0.15));
    margin-left: 8px;
}

.dt-mobile-nav { list-style: none; padding: 0; margin: 0; }
.dt-mobile-nav li { border-bottom: 1px solid var(--dt-mobile-menu-border, rgba(128,128,128,0.15)); }
.dt-mobile-nav li a {
    display: block;
    padding: 14px 0;
    color: var(--dt-mobile-menu-text, #1e293b);
    font-size: 15px;
    font-weight: 500;
}
.dt-mobile-nav .sub-menu { list-style: none; padding-left: 20px; }
.dt-mobile-nav .sub-menu li a { font-size: 14px; font-weight: 400; color: var(--dt-mobile-menu-text, #64748b); opacity: 0.7; }

.dt-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}
.dt-mobile-cta .dt-cta-btn { justify-content: center; }

/* ============================================
   HERO
   ============================================ */
.dt-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.dt-hero-valign-top { align-items: flex-start; }
.dt-hero-valign-center { align-items: center; }
.dt-hero-valign-bottom { align-items: flex-end; }

.dt-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.dt-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Ken Burns */
.dt-hero-bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.dt-hero-kenburns-in .dt-hero-bg-layer {
    animation: dt-kb-in var(--dt-kb-speed, 20s) ease-out forwards;
}
.dt-hero-kenburns-out .dt-hero-bg-layer {
    transform: scale(var(--dt-kb-scale, 1.3));
    animation: dt-kb-out var(--dt-kb-speed, 20s) ease-out forwards;
}
@keyframes dt-kb-in {
    from { transform: scale(1); }
    to { transform: scale(var(--dt-kb-scale, 1.3)); }
}
@keyframes dt-kb-out {
    from { transform: scale(var(--dt-kb-scale, 1.3)); }
    to { transform: scale(1); }
}

.dt-hero-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
}
.dt-hero-separator svg {
    display: block;
    width: 100%;
    height: auto;

}
.dt-hero-separator.dt-sep-flip svg {
    transform: scaleX(-1);
}

.dt-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 1400px;
    padding: 40px 20px;
}

/* Image décorative hero */
.dt-hero-deco {
    line-height: 0;
}
.dt-hero-deco img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}
.dt-hero-deco-behind {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    line-height: 0;
}
.dt-hero-deco-behind img {
    max-width: none;
    height: auto;
    display: block;
}

.dt-hero-title-wrap,
.dt-hero-subtitle-wrap { width: 100%; }

.dt-hero-title {
    margin: 0;
    line-height: 1.15;
}

.dt-hero-subtitle {
    margin: 0;
    line-height: 1.6;
}

.dt-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

.dt-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    white-space: nowrap;
    transition: transform .2s;
}
.dt-hero-badge:hover { transform: translateY(-2px); }

.dt-hero-cta-wrap {
    display: flex;
    width: 100%;
    gap: 10px;
}

.dt-hero-cta {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    text-decoration: none;
    transition: opacity .2s, transform .2s;
}
.dt-hero-cta:hover { opacity: .9; transform: translateY(-2px); }

/* Hero responsive — géré dans les media queries globales */

/* ============================================
   PAGE HERO
   ============================================ */
.dt-page-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dt-page-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.dt-page-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.dt-page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 130px 20px 40px;
}

.dt-page-hero-content.dt-page-hero-content-left {
    text-align: left;
    width: 100%;
    padding: 130px 20px 40px;
    display: flex;
    align-items: flex-end;
}

.dt-page-hero-content-left .dt-container {
    width: 100%;
    max-width: var(--dt-container-width, 1400px);
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.dt-page-hero-title {
    margin: 0 0 12px;
    font-family: var(--dt-heading-font);
    font-weight: 700;
    line-height: 1.2;
}

.dt-page-hero-breadcrumb {
    font-size: 14px;
    line-height: 1.6;
}
.dt-page-hero-breadcrumb a {
    color: inherit;
    opacity: .75;
    text-decoration: none;
    transition: opacity .2s;
}
.dt-page-hero-breadcrumb a:hover { opacity: 1; }
.dt-bc-sep { margin: 0 6px; opacity: .5; }
.dt-bc-current { opacity: 1; }

@media (max-width: 768px) {
    .dt-page-hero-title { font-size: clamp(24px, 6vw, 32px) !important; }
}

/* ============================================
   CONTENT
   ============================================ */
.dt-content { min-height: 50vh; }

.dt-page-content { padding: 40px 0; }

/* Gutenberg full/wide */
.dt-fullwidth .dt-page-content,
.dt-fullwidth .entry-content { padding: 0; }

.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100vw; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); width: 100vw; }

/* Elementor override */
.elementor-page .dt-page-content { padding: 0; }

/* Posts */
.dt-post { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid #e5e7eb; }
.dt-post-thumb { margin-bottom: 16px; border-radius: 8px; overflow: hidden; }
.dt-post-title { margin-bottom: 8px; }
.dt-post-title a { color: var(--dt-secondary); }
.dt-post-title a:hover { color: var(--dt-primary); }
.dt-post-meta { font-size: 13px; color: #94a3b8; margin-bottom: 12px; }
.dt-post-meta span { margin-left: 12px; }

/* Single layout */
.dt-single-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding: 40px 0; }
.dt-post-single .dt-post-title { margin: 20px 0 8px; }
.dt-post-body { margin-top: 24px; }

.dt-sidebar .dt-widget { margin-bottom: 24px; padding: 20px; background: #f8fafc; border-radius: 8px; }
.dt-widget-title { font-size: 15px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--dt-primary); }

/* 404 */
.dt-404 { text-align: center; padding: 80px 20px; }
.dt-404 h1 { font-size: 6rem; color: var(--dt-primary); margin-bottom: 16px; }
.dt-404 p { font-size: 18px; color: #64748b; margin-bottom: 24px; }

/* Pagination */
.dt-pagination { margin: 40px 0; text-align: center; }
.dt-pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.dt-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 8px;
    background: #f1f5f9; color: var(--dt-secondary); font-weight: 500;
}
.dt-pagination .page-numbers.current { background: var(--dt-primary); color: #fff; }

/* ============================================
   FOOTER
   ============================================ */
.dt-footer { padding: 60px 20px 40px; background-size: cover; background-position: center; background-repeat: no-repeat; position: relative; overflow: visible; }

.dt-footer-separator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
    pointer-events: none;
    transform: rotate(180deg) translateY(0);
}
.dt-footer-separator svg {
    display: block;
    width: 100%;
    height: auto;

}
.dt-footer-separator.dt-sep-flip svg {
    transform: scaleX(-1);
}

.dt-footer .dt-container {
    max-width: 1360px;
    background: var(--dt-footer-container-bg, rgba(255,255,255,0.09));
    padding: 90px;
    border-radius: var(--dt-footer-container-radius, 0px);
    position: relative;
}

/* Footer logo à cheval */
.dt-footer-logo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}
.dt-footer-logo img {
    max-height: 80px;
    width: auto;
    border-radius: 100px;
}

.dt-footer-grid {
    display: grid;
    gap: 32px;
}
.dt-footer-cols-2 { grid-template-columns: repeat(2, 1fr); }
.dt-footer-cols-3 { grid-template-columns: repeat(3, 1fr); }
.dt-footer-cols-4 { grid-template-columns: repeat(4, 1fr); }

.dt-footer .dt-widget-title {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.2);
    margin-bottom: 16px;
    padding-bottom: 12px;
}

.dt-footer .dt-widget { margin-bottom: 0; padding: 0; background: transparent; border-radius: 0; }
.dt-footer a { color: inherit; }
.dt-footer a:hover { color: #fff; }
.dt-footer ul { list-style: none; padding: 0; }
.dt-footer ul li { padding: 4px 0; }

/* Copyright */
.dt-copyright { padding: 16px 0; font-size: 13px; }
.dt-copyright .dt-container { padding: 0; max-width: 1400px; padding-left: 20px !important; padding-right: 20px !important; }
.dt-copyright-inner { display: flex; justify-content: space-between; align-items: center; max-width: 100%; padding-left: 54px; padding-right: 54px; }
.dt-copyright a { color: var(--dt-copyright-link-color, #94a3b8); }
.dt-copyright a:hover { opacity: .8; }
.dt-copyright-left { display: block; }
.dt-copyright-right { display: flex; align-items: center; gap: 16px; }

/* Social icons */
.dt-social-icons { display: flex; align-items: center; gap: 12px; }
.dt-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--dt-copyright-link-color, #94a3b8);
    transition: opacity .2s, transform .2s;
}
.dt-social-icon:hover { opacity: .7; transform: translateY(-2px); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1400px) {
    .dt-menu li a { padding: 24px 12px; font-size: 13px; }
    .dt-logo img { max-height: calc(var(--dt-logo-height, 50px) * 0.85); }
    .dt-cta-btn { font-size: 13px; padding: 8px 16px; }
}

@media (max-width: 1200px) {
    .dt-menu li a { padding: 20px 8px; font-size: 12px; letter-spacing: 0.3px; }
    .dt-logo img { max-height: calc(var(--dt-logo-height, 50px) * 0.7); }
    .dt-cta-btn { font-size: 12px; padding: 7px 12px; }
    .dt-header-cta { gap: 4px; }
    .dt-header-inner { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 992px) {
    /* Overflow-x prevention */
    body { overflow-x: hidden; }

    .dt-topbar { text-align: center !important; }

    .dt-nav,
    .dt-header-cta,
    .dt-header-nav-center { display: none; }

    .dt-mobile-toggle { display: flex; }

    .dt-header-inner {
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px !important;
        min-height: 60px;
    }
    .dt-header-v2 .dt-header-inner { flex-direction: row; padding: 50px 16px !important; }
    .dt-header-scrolled .dt-header-inner { padding: 10px 16px !important; }

    .dt-single-layout { grid-template-columns: 1fr; }

    .dt-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .dt-footer .dt-container { padding: 70px !important; }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h2::after { width: 40px !important; }

    /* Hero titre/sous-titre mobile */
    .dt-hero-content { max-width: 100%; padding: 30px 20px; }
    .dt-hero-title { font-size: clamp(26px, 7vw, 40px) !important; }
    .dt-hero-subtitle { font-size: clamp(15px, 3.5vw, 20px) !important; }

    /* Hero CTA — stack vertical, pleine largeur */
    .dt-hero-cta-wrap {
        flex-direction: column;
        gap: 12px;
    }
    .dt-hero-cta {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 12px 24px;
    }

    /* Hero bulles — garder alignement desktop (gauche) */
    .dt-hero-badges {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .dt-hero-badge {
        white-space: nowrap;
        font-size: 12px;
        padding: 6px 14px;
    }

    /* Breadcrumb responsive */
    .dt-page-hero-breadcrumb {
        font-size: 12px;
        display: flex;
        flex-wrap: wrap;
    }

    /* Alignfull — prevent overflow */
    .alignfull {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    /* Footer logo à cheval — réduire */
    .dt-footer-logo img {
        max-height: 60px;
    }

    /* Séparateurs SVG — réduire la hauteur */
    .dt-hero-separator svg,
    .dt-footer-separator svg {
        max-height: 40px;
    }

    /* Container — padding latéral suffisant */
    .dt-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Scroll to top — réduire sur mobile */
    .dt-scroll-top {
        width: 38px;
        height: 38px;
        bottom: 16px;
    }

    /* Bouton téléphone mobile */
    .dt-mobile-phone {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: var(--dt-mobile-phone-bg, transparent);
        border-width: var(--dt-mobile-phone-border-width, 2px);
        border-style: solid;
        border-color: var(--dt-mobile-phone-border-color, #ffffff);
        color: var(--dt-mobile-phone-color, #ffffff);
        text-decoration: none;
        flex-shrink: 0;
    }
    .dt-mobile-phone:hover,
    .dt-mobile-phone:focus {
        opacity: 1;
        background: var(--dt-mobile-phone-bg, transparent);
        color: var(--dt-mobile-phone-color, #ffffff);
    }
    .dt-mobile-phone svg {
        width: 18px !important;
        height: 18px !important;
        fill: none !important;
        stroke: currentColor !important;
        stroke-width: 2 !important;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
}

@media (min-width: 993px) {
    .dt-mobile-phone { display: none !important; }
}

@media (max-width: 600px) {
    .dt-footer-grid { grid-template-columns: 1fr; }
    .dt-footer .dt-container { padding: 70px !important; }
    .dt-copyright-inner { flex-direction: column; gap: 8px; text-align: center; }

    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.3rem; }

    .dt-hero-title { font-size: clamp(30px, 6vw, 30px) !important; }
    .dt-hero-subtitle { font-size: clamp(18px, 3vw, 18px) !important; }

    /* Hero badges encore plus petits */
    .dt-hero-badge {
        font-size: 11px;
        padding: 5px 12px;
    }

    /* Séparateurs encore plus petits */
    .dt-hero-separator svg,
    .dt-footer-separator svg {
        max-height: 25px;
    }

    /* Footer logo encore plus petit */
    .dt-footer-logo img {
        max-height: 45px;
    }

    /* Copyright padding réduit */
    .dt-copyright-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Footer widgets espacement réduit */
    .dt-footer-grid {
        gap: 24px;
    }

    /* Scroll-to-top encore plus petit */
    .dt-scroll-top {
        width: 34px;
        height: 34px;
        bottom: 12px;
    }
}

/* Très petits écrans (320px) */
@media (max-width: 360px) {
    /* Logo + téléphone : éviter chevauchement */
    .dt-logo img {
        max-height: 35px !important;
    }
    .dt-mobile-phone {
        width: 36px;
        height: 36px;
    }
    .dt-mobile-phone svg {
        width: 16px !important;
        height: 16px !important;
    }
    .dt-header-inner {
        gap: 8px;
    }
}

/* Fix sous-pixel gap separateurs */
.dt-header-sep,
.dt-hero-separator,
.dt-footer-separator { overflow: hidden; }
.dt-header-sep svg,
.dt-hero-separator svg,
.dt-footer-separator svg { margin-bottom: -1px; }
