/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.6.1771502225
Updated: 2026-02-19 11:57:05

*/

/* =========================================================
   DEMASKED NAVBAR (GLOBAL) — Glass + Premium Glow
   Dépend des variables : --dm-violet-1/2/3, --color-text-primary
========================================================= */

.dm-header{
  position: fixed;
  top: 18px;
  left: 0; right: 0;
  z-index: 999;
  pointer-events: none;
}

.dm-header__inner{
  pointer-events: auto;
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(10, 10, 18, 0.60);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 22px 70px rgba(0,0,0,.48);
  overflow: hidden;

  transition: transform 280ms cubic-bezier(.2,.8,.2,1), opacity 220ms ease;
  transform: translate3d(0,0,0) scale(1);
}

/* ==========================================
   Navbar scroll animation (premium fade up)
========================================== */

.dm-header {
  transition: transform 400ms cubic-bezier(.16,1,.3,1),
            opacity 300ms ease;
  backdrop-filter: blur(16px);
  will-change: transform, opacity;
}

/* État caché */
.dm-header.is-hidden {
  transform: translate3d(0, calc(-100% - 28px), 0);
  opacity: 0;
}

.dm-header.is-hidden .dm-header__inner{
  transform: translate3d(0, -10px, 0) scale(.985);
  opacity: .92;
}

/* État visible (force GPU smooth) */
.dm-header.is-visible {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.dm-header.is-visible .dm-header__inner{
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
}

.dm-header__inner::before{
  content:"";
  position:absolute;
  left: 18px; right: 18px; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(123,73,255,.9), rgba(51,25,107,.75), transparent);
  opacity: .95;
}

/* Brand */
.dm-brand{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: rgba(255,255,255,.95);
  min-width: max-content;
}

/* ===========================
   Logo Navbar PNG
=========================== */

.dm-brand {
  display: flex;
  align-items: center;
}

.dm-brand__logo {
  height: 38px;
  width: auto;
  display: block;

  transition: transform 260ms cubic-bezier(.16,1,.3,1),
              filter 260ms ease;
}

/* Hover léger premium */
.dm-brand:hover .dm-brand__logo {
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
  .dm-brand__logo {
    height: 30px;
  }
}

.dm-brand__mark{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--dm-violet-1, #33196B), var(--dm-violet-2, #7B49FF));
  box-shadow: 0 14px 40px rgba(123,73,255,.22);
  position: relative;
}
.dm-brand__mark::after{
  content:"";
  position:absolute;
  inset: 1px;
  border-radius: 13px;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.20), transparent 55%);
}
.dm-brand__text{
  font-weight: 750;
  letter-spacing: 0.08em;
  font-size: 15px;
}
.dm-brand__tag{
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: rgba(255,255,255,.70);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 980px){
  .dm-brand__tag{ display:none; }
}

/* Desktop nav */
.dm-nav{
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
}
.dm-nav__link{
  text-decoration: none;
  color: rgba(255,255,255,.70);
  font-size: 13.5px;
  font-weight: 650;
  padding: 10px 12px;
  border-radius: 14px;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}
.dm-nav__link:hover{
  color: rgba(255,255,255,.94);
  background: rgba(255,255,255,.05);
  transform: translate3d(0,-1px,0);
}
a:hover{
  color: #fff;
}

/* Actions */
.dm-actions{
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons (header only) */
.dm-hbtn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 44px;
  padding: 0 18px;
  border-radius: 16px;

  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;

  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);

  transition:
    transform 180ms cubic-bezier(.2,.8,.2,1),
    background 180ms ease,
    border-color 180ms ease,
    filter 180ms ease,
    box-shadow 180ms ease;
  transform: translate3d(0,0,0);
  will-change: transform, filter;
}

.dm-hbtn::before{
  content:"";
  position:absolute;
  inset:-12px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 40% 30%, rgba(123,73,255,.35), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(51,25,107,.25), transparent 62%);
  opacity: 0;
  filter: blur(12px);
  transition: opacity 180ms ease;
  z-index: -1;
}

.dm-hbtn:hover{
  transform: translate3d(0,-1px,0);
}
.dm-hbtn:hover::before{ opacity: 1; }

.dm-hbtn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(123,73,255,.22);
  border-color: rgba(123,73,255,.35);
}

/* Ghost */
.dm-hbtn--ghost{
  background: transparent;
}

/* Téléchargement (bigger + glow modern) */
.dm-hbtn--primary{
  position: relative;
  height: 52px;
  padding: 0 26px;
  font-size: 14.5px;
  font-weight: 750;
  border-radius: 18px;

  color: #fff;
  background: linear-gradient(135deg, var(--dm-violet-1, #33196B), var(--dm-violet-2, #7B49FF));
  border: none;

  box-shadow:
    0 18px 60px rgba(123,73,255,.35),
    0 10px 30px rgba(0,0,0,.45);

  transition:
    transform 220ms cubic-bezier(.2,.8,.2,1),
    box-shadow 220ms ease,
    filter 200ms ease;
}
.dm-hbtn--primary::after{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:17px;
  pointer-events:none;
}
/* =========================================
   TELECHARGER – Clean Glass Effect
========================================= */

.dm-hbtn--primary {
  position: relative;
  overflow: hidden;

  transition:
    transform 280ms cubic-bezier(.16,1,.3,1),
    box-shadow 280ms cubic-bezier(.16,1,.3,1),
    filter 220ms ease;
}

/* Glow externe subtil */
.dm-hbtn--primary::before {
  content:"";
  position:absolute;
  inset:-20px;
  border-radius:28px;

  background: radial-gradient(
    circle,
    rgba(123,73,255,0.45) 0%,
    rgba(123,73,255,0.25) 35%,
    transparent 70%
  );

  opacity: 0;
  filter: blur(25px);
  transition: opacity 300ms ease, transform 300ms ease;
  z-index:-1;
}

/* Reflet vitrage qui traverse */
.dm-hbtn--primary span {
  position: relative;
  z-index: 2;
}

.dm-hbtn--primary::after {
  content:"";
  position:absolute;
  top:0;
  left:-120%;
  width:60%;
  height:100%;

  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255,255,255,0.12) 40%,
    rgba(255,255,255,0.28) 50%,
    rgba(255,255,255,0.12) 60%,
    transparent 100%
  );

  transform: skewX(-25deg);
  transition: left 700ms cubic-bezier(.16,1,.3,1);
  pointer-events:none;
  border-radius:18px;
}

/* Hover */
.dm-hbtn--primary:hover {
  transform: translateY(-2px) scale(1.02);

  /* ON NE TOUCHE PAS AU BACKGROUND */
  box-shadow:
    0 20px 60px rgba(123,73,255,.40),
    0 12px 30px rgba(0,0,0,.45);

}

.dm-hbtn--primary:hover::after {
  left: 140%;
}

.dm-hbtn--primary:active {
  transform: translateY(-1px) scale(0.98);
}
.dm-hbtn--primary:active{
  transform: translate3d(0,-1px,0) scale(0.98);
}

.dm-hbtn--full{ width: 100%; }

/* Burger */
.dm-burger{
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  position: relative;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.dm-burger:hover{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.16);
  transform: translate3d(0,-1px,0);
}
.dm-burger span{
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: rgba(255,255,255,.88);
  border-radius: 999px;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), opacity 160ms ease;
}
.dm-burger span:nth-child(1){ top: 16px; }
.dm-burger span:nth-child(2){ top: 22px; opacity: .9; }
.dm-burger span:nth-child(3){ top: 28px; opacity: .82; }

.dm-header.is-open .dm-burger span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.dm-header.is-open .dm-burger span:nth-child(2){ opacity: 0; }
.dm-header.is-open .dm-burger span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); opacity: .92; }

/* Mobile menu */
#dmMobileMenu[hidden]{ display:none !important; }
#dmMobileMenu{ display:none; }
.dm-header.is-open #dmMobileMenu{ display:grid; }

.dm-mobile{
  pointer-events: auto;
  width: min(1180px, calc(100% - 32px));
  margin: 10px auto 0;
  border-radius: 22px;
  background: rgba(10, 10, 18, 0.66);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 80px rgba(0,0,0,.52);
  padding: 14px;
  gap: 10px;
}
.dm-mobile__link{
  text-decoration: none;
  color: rgba(255,255,255,.86);
  padding: 14px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,0.06);
  font-weight: 650;
}
.dm-mobile__link:hover{
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,0.12);
}
.dm-mobile__cta{ margin-top: 6px; }

@media (max-width: 980px){
  .dm-nav{ display:none; }
  .dm-hbtn--ghost{ display:none; }
  .dm-burger{ display:inline-flex; }
}

@media (max-width: 980px), (pointer: coarse){
  .dm-header,
  .dm-header__inner,
  .dm-mobile{
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .dm-header{
    will-change: auto;
  }

  .dm-header__inner{
    box-shadow: 0 12px 28px rgba(0,0,0,.24);
  }

  .dm-hbtn,
  .dm-hbtn--primary{
    box-shadow: none;
  }
}
