/*
Theme Name: Hello Elementor Child - Apex Artisan
Theme URI: https://apex-artisan.fr/
Description: Thème enfant personnalisé pour Apex Artisan basé sur Hello Elementor.
Author: NR PARTNERS
Author URI: https://nr-partners.fr/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* ================================
   APEX ARTISAN — VARIABLES THEME
================================ */

:root {
    --apex-primary: #071A2D;
    --apex-secondary: #006B68;
    --apex-accent: #FF6B2C;
    --apex-text: #1F2937;
    --apex-muted: #64748B;
    --apex-light: #F6F8FA;
    --apex-white: #FFFFFF;
    --apex-border: #E5E7EB;
    --apex-gold: #F5B638;
    --apex-success: #0EA36E;
    --apex-danger: #DC2626;

    --apex-radius-sm: 8px;
    --apex-radius-md: 14px;
    --apex-radius-lg: 24px;
    --apex-shadow-soft: 0 12px 35px rgba(7, 26, 45, 0.10);
    --apex-shadow-card: 0 18px 55px rgba(7, 26, 45, 0.14);
}

/* ================================
   BASE GENERALE
================================ */

html {
    scroll-behavior: smooth;
}

body {
    background: var(--apex-white);
    color: var(--apex-text);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: var(--apex-secondary);
    transition: all 0.25s ease;
}

a:hover {
    color: var(--apex-accent);
}

::selection {
    background: var(--apex-accent);
    color: var(--apex-white);
}

/* ================================
   BOUTONS GLOBAUX / ELEMENTOR
================================ */

button,
input[type="submit"],
.elementor-button {
    border-radius: var(--apex-radius-md);
    font-weight: 700;
    transition: all 0.25s ease;
}

.elementor-button,
.elementor-widget-button .elementor-button {
    background-color: var(--apex-accent);
    color: var(--apex-white);
    box-shadow: 0 10px 25px rgba(255, 107, 44, 0.25);
}

.elementor-button:hover,
.elementor-widget-button .elementor-button:hover {
    background-color: var(--apex-primary);
    color: var(--apex-white);
    transform: translateY(-1px);
}

/* ================================
   FORMULAIRES
================================ */

input,
textarea,
select {
    border-radius: var(--apex-radius-sm);
    border: 1px solid var(--apex-border);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--apex-secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 107, 104, 0.12);
}

/* ================================
   CLASSES UTILES POUR ELEMENTOR
================================ */

.apex-bg-primary {
    background-color: var(--apex-primary);
}

.apex-bg-secondary {
    background-color: var(--apex-secondary);
}

.apex-bg-light {
    background-color: var(--apex-light);
}

.apex-text-primary {
    color: var(--apex-primary);
}

.apex-text-secondary {
    color: var(--apex-secondary);
}

.apex-text-accent {
    color: var(--apex-accent);
}

.apex-card {
    background: var(--apex-white);
    border: 1px solid var(--apex-border);
    border-radius: var(--apex-radius-lg);
    box-shadow: var(--apex-shadow-soft);
}

.apex-card-premium {
    background: var(--apex-white);
    border-radius: var(--apex-radius-lg);
    box-shadow: var(--apex-shadow-card);
}

.apex-gradient-dark {
    background: linear-gradient(135deg, var(--apex-primary) 0%, #020617 100%);
}

.apex-gradient-cta {
    background: linear-gradient(135deg, var(--apex-accent) 0%, #F59E0B 100%);
}

/* ================================
   HEADER / FOOTER SI BESOIN
================================ */

.site-header,
.elementor-location-header {
    background: var(--apex-white);
}

.site-footer,
.elementor-location-footer {
    background: var(--apex-primary);
    color: var(--apex-white);
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 767px) {
    :root {
        --apex-radius-lg: 18px;
    }
}

/* APEX HEADER SHORTCODE START */

.apex-header-shortcode {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid rgba(7, 26, 45, 0.08);
    box-shadow: 0 8px 30px rgba(7, 26, 45, 0.06);
    position: relative;
    z-index: 999;
}

.apex-header-inner {
    width: min(1180px, 92%);
    margin: 0 auto;
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.apex-header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.apex-header-logo img {
    display: block;
    width: 160px;
    height: auto;
}

.apex-header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.apex-header-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.apex-header-menu li {
    margin: 0;
    padding: 0;
}

.apex-header-menu a {
    color: #071A2D;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.25s ease;
}

.apex-header-menu a:hover {
    color: #FF6B2C;
}

.apex-header-contact {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.apex-header-phone {
    color: #071A2D;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    padding-left: 28px;
    position: relative;
}

.apex-header-phone::before {
    content: "☎";
    position: absolute;
    left: 0;
    top: 4px;
    color: #006B68;
    font-size: 18px;
}

.apex-header-phone span {
    font-size: 16px;
    font-weight: 900;
}

.apex-header-phone small {
    font-size: 12px;
    color: #64748B;
    font-weight: 700;
    margin-top: 3px;
}

.apex-header-cta {
    background: #FF6B2C;
    color: #ffffff !important;
    padding: 15px 22px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 12px 25px rgba(255, 107, 44, 0.25);
    transition: 0.25s ease;
}

.apex-header-cta:hover {
    background: #071A2D;
    transform: translateY(-1px);
}

.apex-menu-toggle,
.apex-burger {
    display: none;
}

@media (max-width: 1024px) {
    .apex-header-inner {
        min-height: 76px;
    }

    .apex-header-logo img {
        width: 135px;
    }

    .apex-header-contact {
        display: none;
    }

    .apex-burger {
        display: flex;
        width: 42px;
        height: 42px;
        border-radius: 10px;
        border: 1px solid #E5E7EB;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        margin-left: auto;
    }

    .apex-burger span {
        width: 20px;
        height: 2px;
        background: #071A2D;
        display: block;
        border-radius: 999px;
    }

    .apex-header-nav {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: #ffffff;
        border-top: 1px solid #E5E7EB;
        box-shadow: 0 20px 40px rgba(7, 26, 45, 0.10);
        display: none;
        padding: 20px 0;
    }

    .apex-menu-toggle:checked ~ .apex-header-nav {
        display: block;
    }

    .apex-header-menu {
        width: min(1180px, 92%);
        margin: 0 auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .apex-header-menu a {
        font-size: 17px;
    }
}

/* APEX HEADER SHORTCODE END */
