/*
Theme Name: Astra Numerique Child
Theme URI: http://194.233.90.73
Description: Numerique-inspired visual layer on top of Astra while keeping Elementor editable.
Author: Mark Deployment
Template: astra
Version: 1.0.0
Text Domain: astra-numerique-child
*/

:root {
  --nm-color-primary: #6754E9;
  --nm-color-dark: #111111;
  --nm-color-muted: #686868;
  --nm-color-soft: #f7f7fb;
  --nm-radius: 18px;
  --nm-container: 1280px;
}

body,
button,
input,
select,
textarea {
  font-family: "Inter Tight", "Kanit", sans-serif !important;
  color: var(--nm-color-dark);
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.elementor-heading-title {
  font-family: "Syne", "Kanit", sans-serif !important;
  letter-spacing: -0.02em;
  color: var(--nm-color-dark);
}

a {
  color: var(--nm-color-dark);
}

a:hover,
a:focus {
  color: var(--nm-color-primary);
}

.ast-container,
.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: var(--nm-container) !important;
}

.main-header-bar,
.ast-primary-header-bar {
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(130%) blur(8px);
  border-bottom: 1px solid #ececf5;
}

.ast-button,
.ast-custom-button,
.wp-block-button__link,
.elementor-button,
button,
input[type="submit"] {
  border-radius: var(--nm-radius) !important;
  background: #000 !important;
  color: #fff !important;
  border: none !important;
  padding: 0.9rem 1.8rem !important;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.12);
}

.ast-button:hover,
.ast-custom-button:hover,
.wp-block-button__link:hover,
.elementor-button:hover,
button:hover,
input[type="submit"]:hover {
  background: var(--nm-color-primary) !important;
  color: #fff !important;
}

.elementor-widget-wrap > .elementor-element,
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post,
.ast-separate-container .ast-comment-list li {
  border-radius: 20px;
}

.elementor-section,
.site-content {
  position: relative;
}

.site {
  background:
    radial-gradient(circle at 15% 0%, rgba(103,84,233,0.10), transparent 35%),
    radial-gradient(circle at 85% 12%, rgba(246,207,244,0.25), transparent 42%),
    #ffffff;
}

.ast-single-post .entry-title,
.page .entry-title {
  margin-bottom: 0.4em;
}

.elementor-widget-text-editor p,
.entry-content p {
  color: var(--nm-color-muted);
}

@media (max-width: 1024px) {
  .ast-container,
  .elementor-section.elementor-section-boxed > .elementor-container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Force Astra global palette toward Numerique style */
:root {
  --ast-global-color-0: #6754E9 !important;
  --ast-global-color-1: #6754E9 !important;
  --ast-global-color-2: #111111 !important;
  --ast-global-color-3: #1f1f1f !important;
  --ast-global-color-4: #6f6f7b !important;
  --ast-global-color-5: #ffffff !important;
  --ast-global-color-6: #f7f7fb !important;
  --ast-global-color-7: #fbfbff !important;
}

body.home .site-content {
  background:
    radial-gradient(circle at 10% 0%, rgba(103,84,233,0.12), transparent 32%),
    radial-gradient(circle at 90% 16%, rgba(246,207,244,0.20), transparent 38%),
    #ffffff;
}

body.home .elementor-widget-heading h1,
body.home .elementor-widget-heading h2,
body.home .elementor-widget-heading h3 {
  letter-spacing: -0.025em;
}

body.home .elementor-button,
body.home .elementor-widget-button .elementor-button {
  border-radius: 18px !important;
  background: #111111 !important;
  border: none !important;
}

body.home .elementor-button:hover,
body.home .elementor-widget-button .elementor-button:hover {
  background: #6754E9 !important;
}
