/*
Theme Name: INTELLITAX LAW

*/

 *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --green-deep: #0a2e1e;
    --green-dark: #0f3d28;
    --green-mid: #155c3a;
    --green-accent: #1e8a56;
    --green-light: #d4eddf;
    --gold: #c9a84c;
    --gold-light: #f5e8c4;
    --white: #ffffff;
    --off-white: #f8f7f4;
    --gray-light: #eceae4;
    --gray-mid: #9c9890;
    --text-dark: #1a1a18;
    --text-mid: #4a4a45;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
  }
  html { scroll-behavior: smooth; }
  body { font-family: 'DM Sans', sans-serif; color: var(--text-dark); background: var(--white); overflow-x: hidden; }

  /* NAV */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%; height: 72px;
    background: rgba(10,46,30,0.97); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201,168,76,0.2);
  }
  .nav-logo {
    font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700;
    color: var(--white); letter-spacing: 0.5px; text-decoration: none; white-space: nowrap;
  }
  .nav-logo span { color: var(--gold); }
  .nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
  .nav-links > li { position: relative; }
  .nav-links > li > a {
    color: rgba(255,255,255,0.82); font-size: 14px; font-weight: 400;
    text-decoration: none; transition: color .2s; display: flex; align-items: center; gap: 5px;
    padding: 8px 0;
  }
  .nav-links > li > a:hover { color: var(--gold); }
  .nav-links > li > a .chevron {
    display: inline-block; width: 10px; height: 10px; transition: transform .2s;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg); margin-top: -3px;
  }
  .nav-links > li:hover > a .chevron { transform: rotate(-135deg); margin-top: 3px; }

  /* MEGA MENU */
.mega-menu {
  position: absolute;
  top: calc(100% + 2px);
  padding-top: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: #0d3320;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 640px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s, transform .2s, visibility .2s;
  transform: translateX(-50%) translateY(8px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
  .mega-menu::before {
    content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
    width: 12px; height: 12px; background: #0d3320;
    border-left: 1px solid rgba(201,168,76,0.2); border-top: 1px solid rgba(201,168,76,0.2);
    rotate: 45deg;
  }
  .nav-links > li:hover .mega-menu {
    opacity: 1; visibility: visible; pointer-events: all;
    transform: translateX(-50%) translateY(0);
  }
  .mega-item {
    display: flex; align-items: center; gap: 14px; padding: 14px 16px;
    border-radius: var(--radius-md); text-decoration: none;
    transition: background .2s; cursor: pointer;
  }
  .mega-item:hover { background: rgba(255,255,255,0.06); }
  .mega-icon {
    width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
    background: rgba(30,138,86,0.25); border: 1px solid rgba(30,138,86,0.3);
    display: flex; align-items: center; justify-content: center; font-size: 18px;
  }
  .mega-item:hover .mega-icon { background: rgba(201,168,76,0.15); border-color: rgba(201,168,76,0.3); }
  .mega-text-title { font-size: 14px; font-weight: 500; color: var(--white); margin-bottom: 2px; }
  .mega-text-desc { font-size: 12px; color: rgba(255,255,255,0.4); font-weight: 300; }
  .mega-divider { grid-column: span 2; height: 1px; background: rgba(255,255,255,0.07); margin: 4px 0; }
  .mega-footer { grid-column: span 2; display: flex; justify-content: space-between; align-items: center; padding-top: 8px; }
  .mega-footer-link { font-size: 12px; color: var(--gold); text-decoration: none; font-weight: 500; }

  /* HAMBURGER */
  .hamburger {
    display: none; flex-direction: column; gap: 5px; cursor: pointer;
    background: none; border: none; padding: 8px; z-index: 1001;
  }
  .hamburger span {
    display: block; width: 24px; height: 2px; background: var(--white);
    border-radius: 2px; transition: all .3s;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* MOBILE MENU */
  .mobile-menu {
    display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: rgba(10,46,30,0.98); backdrop-filter: blur(16px);
    z-index: 999; overflow-y: auto; padding: 24px 5%;
    flex-direction: column; gap: 8px;
  }
  .mobile-menu.open { display: flex; }
  .mobile-nav-item {
    display: flex; align-items: center; gap: 14px; padding: 16px 20px;
    border-radius: var(--radius-md); text-decoration: none;
    border: 1px solid rgba(255,255,255,0.07); background: rgba(255,255,255,0.03);
    transition: background .2s;
  }
  .mobile-nav-item:hover { background: rgba(255,255,255,0.07); }
  .mobile-nav-icon {
    width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
    background: rgba(30,138,86,0.25); display: flex; align-items: center; justify-content: center; font-size: 17px;
  }
  .mobile-nav-label { font-size: 15px; font-weight: 500; color: var(--white); display: block; }
  .mobile-nav-desc { font-size: 12px; color: rgba(255,255,255,0.4); font-weight: 300; }
  .mobile-section-title { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.3); font-weight: 600; padding: 16px 4px 8px; }
  .mobile-simple-link {
    display: block; padding: 14px 20px; color: rgba(255,255,255,0.75);
    font-size: 15px; text-decoration: none; border-radius: var(--radius-md);
    transition: background .2s;
  }
  .mobile-simple-link:hover { background: rgba(255,255,255,0.05); color: var(--white); }
  .mobile-cta {
    margin-top: 16px; background: var(--gold); color: var(--green-deep);
    padding: 16px; border-radius: var(--radius-md); font-size: 16px; font-weight: 600;
    cursor: pointer; border: none; width: 100%; text-align: center;
  }

  .nav-cta {
    background: var(--gold); color: var(--green-deep); padding: 10px 22px;
    border-radius: var(--radius-md); font-size: 14px; font-weight: 600;
    cursor: pointer; border: none; transition: background .2s; white-space: nowrap;
  }
  .nav-cta:hover { background: #e0bc5e; }
.form-grid p{margin: 0px !important;}
.devis-field{margin-bottom: 15px;}
.devis-field label{margin-bottom: 5px; display: inline-block; width: 100%;}
.cta-form p{margin-bottom: 0px !important;}
 @media (max-width: 680px) {
  .mfb-btn{font-size: 13px !important;}
  .mobile-float-bar{padding: 12px 10px 16px !important;}

 }
