/*
Theme Name: Hello Elementor Child
Theme URI: https://adikto33.fr
Description: Theme enfant Hello Elementor - Replica Adikto33
Author: Adikto33
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --adikto-primary: #23CE6B;
  --adikto-primary-hover: #1F9E55;
  --adikto-secondary: #23323A;
  --adikto-dark: #1D1E20;
  --adikto-footer: #18181A;
  --adikto-bg-header: #E8F3F1;
  --adikto-bg-alt: #F2F3F6;
  --adikto-text: #1d1e20;
  --adikto-text-grey: #56585e;
  --adikto-text-muted: #727586;
  --e-global-color-primary: #23CE6B;
  --e-global-color-secondary: #23323A;
  --e-global-color-text: #1d1e20;
  --e-global-color-accent: #1F9E55;
}

body, h1, h2, h3, h4, h5, h6, p, a, li, input, textarea, button, .elementor *, .adikto-top-bar, .adikto-nav {
  font-family: 'DM Sans', sans-serif !important;
}

/* ===== TOP BAR ===== */
.adikto-top-bar {
  background-color: #23323A;
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.adikto-top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
}
.adikto-top-bar-left { display: flex; align-items: center; gap: 24px; }
.adikto-top-bar-link {
  color: #23CE6B !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 500;
  transition: opacity 0.2s;
}
.adikto-top-bar-link:hover { opacity: 0.8; color: #23CE6B !important; }
.adikto-top-bar-right { display: flex; align-items: center; gap: 8px; }
.adikto-flag-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  opacity: 0.8;
  transition: opacity 0.2s;
  line-height: 1;
}
.adikto-flag-link:hover { opacity: 1; }
.adikto-flag-link img { display: block; border-radius: 2px; }

/* ===== HEADER ===== */
.adikto-header { background-color: #E8F3F1; }
.adikto-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
}
.adikto-logo { flex-shrink: 0; }
.adikto-logo img { height: 42px; width: auto; }

/* Navigation */
.adikto-nav { display: flex; align-items: center; gap: 4px; }
.adikto-nav a, .adikto-nav .menu-item a {
  color: #1d1e20 !important;
  text-decoration: none !important;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  display: block;
}
.adikto-nav a:hover {
  background: rgba(35, 206, 107, 0.08);
  color: #23CE6B !important;
}

/* Sous-menus */
.adikto-nav .menu-item-has-children { position: relative; }
.adikto-nav .menu-item-has-children > a::after {
  content: " ▾";
  font-size: 10px;
  margin-left: 2px;
}
.adikto-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  border-radius: 10px;
  padding: 8px 0;
  z-index: 9999;
  list-style: none;
  margin: 4px 0 0;
}
.adikto-nav .menu-item-has-children:hover > .sub-menu,
.adikto-nav .menu-item-has-children.focus > .sub-menu { display: block; }
.adikto-nav .sub-menu .menu-item { display: block; width: 100%; }
.adikto-nav .sub-menu a {
  padding: 10px 20px;
  font-size: 14px;
  color: #1d1e20 !important;
  white-space: nowrap;
  background: transparent;
}
.adikto-nav .sub-menu a:hover {
  background: #E8F3F1 !important;
  color: #23CE6B !important;
}

/* Bouton RDV */
.adikto-rdv-btn {
  background-color: #23CE6B !important;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 999px;
  padding: 10px 24px !important;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s;
  white-space: nowrap;
}
.adikto-rdv-btn:hover { background-color: #1F9E55 !important; color: #fff !important; }

/* Elementor overrides */
.elementor-button {
  border-radius: 999px !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
}
.elementor-button:hover { transform: translateY(-1px); }

/* Responsive */
@media (max-width: 768px) {
  .adikto-header-inner { flex-wrap: wrap; gap: 10px; }
  .adikto-nav { order: 3; width: 100%; flex-wrap: wrap; }
  .adikto-nav a { font-size: 14px; padding: 6px 10px; }
  .adikto-top-bar-link { font-size: 12px; }
}
@media (max-width: 480px) {
  .adikto-top-bar-inner { padding: 6px 12px; }
  .adikto-header-inner { padding: 6px 12px; }
}