/* ==========================================================================
   ADM ENGINEERING SARL (±∞ ADME) - Official Design System & CSS
   Aesthetics: Premium Industrial Dark Theme, Glassmorphism, Mobile-First Touch Friendly
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-darker: #0b0e14;
    --bg-dark: #121722;
    --bg-card: #182030;
    --bg-card-hover: #1f2b42;
    --bg-light-dark: #242f46;

    /* Accent Colors - Official Royal Blue & Cyan */
    --accent-blue: #3a67d8;
    --accent-cyan: #00e5ff;
    --accent-gold: #ffaa00;
    --accent-orange: #ff6d00;

    /* Status Colors */
    --color-success: #00e676;
    --color-error: #ff5252;

    /* Text Colors */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-dark: #0f172a;

    /* Borders & Shadows */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(58, 103, 216, 0.4);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px rgba(58, 103, 216, 0.35);

    /* Fonts & Radii */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-darker);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* Ambient Glow Light Spheres */
.ambient-light {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.12;
}

.ambient-light.light-1 {
    top: 10%;
    left: -200px;
    background: var(--accent-blue);
}

.ambient-light.light-2 {
    top: 50%;
    right: -200px;
    background: var(--accent-cyan);
}

/* Selection */
::selection {
    background: var(--accent-blue);
    color: #fff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.section-padding {
    padding: 90px 0;
}

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

.text-cyan { color: var(--accent-cyan) !important; }
.text-gold { color: var(--accent-gold) !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }

/* Section Header Styles */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.section-header.text-left {
    text-align: left;
    margin-left: 0;
}

.sub-title {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 12px;
    position: relative;
    padding-left: 16px;
}

.sub-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-cyan);
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.underline {
    position: relative;
    color: var(--accent-blue);
    display: inline-block;
}

.underline::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), transparent);
    border-radius: 2px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    touch-action: manipulation;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), #1e45a8);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover, .btn-primary:active {
    background: linear-gradient(135deg, #4d7bf3, var(--accent-blue));
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(58, 103, 216, 0.5);
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.btn-outline:hover, .btn-outline:active {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(0, 229, 255, 0.05);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.site-header.scrolled {
    background-color: rgba(11, 14, 20, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.top-bar {
    background-color: rgba(18, 23, 34, 0.9);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    gap: 24px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-item i {
    color: var(--accent-cyan);
}

.info-item a:hover {
    color: var(--accent-cyan);
}

.top-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-link {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.social-link:hover {
    background: var(--accent-blue);
    color: #fff;
}

.badge-status {
    background: rgba(0, 230, 118, 0.1);
    color: var(--color-success);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(0, 230, 118, 0.2);
}

.badge-status i {
    font-size: 0.5rem;
}

/* Navbar */
.navbar {
    padding: 14px 0;
    transition: var(--transition);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo-img {
    height: 48px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: #ffffff;
    padding: 3px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.brand-logo:hover .brand-logo-img {
    transform: scale(1.03);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.drawer-logo-img {
    height: 38px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-blue), #1e45a8);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    box-shadow: 0 0 15px rgba(58, 103, 216, 0.4);
}

.symbol-math {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: -1px;
    color: #fff;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--accent-cyan);
    white-space: nowrap;
}

.brand-sub {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    font-weight: 700;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    padding: 8px 0;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-cyan);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
}

/* Dropdown */
.nav-item.dropdown {
    position: relative;
}

.nav-arrow {
    font-size: 0.75rem;
    margin-left: 4px;
    transition: var(--transition);
}

.dropdown:hover .nav-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 270px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 0;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.dropdown-menu a i {
    color: var(--accent-cyan);
    width: 16px;
}

.dropdown-menu a:hover {
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent-cyan);
    padding-left: 22px;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.search-trigger-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.search-trigger-btn:hover {
    background: var(--accent-blue);
    color: #fff;
    box-shadow: 0 0 12px var(--accent-blue);
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.hamburger-btn span {
    width: 26px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: var(--bg-card);
    z-index: 1100;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
}

.mobile-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.drawer-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--accent-cyan);
}

.close-drawer-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
}

.mobile-nav-list {
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 6px 0;
    display: block;
}

.mobile-nav-link:hover {
    color: var(--accent-cyan);
}

.drawer-footer {
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.drawer-footer p {
    margin-bottom: 8px;
}

.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Search Modal */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 14, 20, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
    padding: 30px;
    width: 90%;
    max-width: 580px;
    position: relative;
    box-shadow: var(--shadow-glow);
}

.close-search-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.3rem;
    cursor: pointer;
}

.search-form-group {
    display: flex;
    gap: 10px;
    margin: 20px 0 16px 0;
}

.search-form-group input {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 0.95rem;
}

.search-suggestions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.suggestion-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.suggestion-chip:hover {
    background: var(--accent-blue);
    color: #fff;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 180px 0 90px 0;
    background-image: url('assets/hero_industrial.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11, 14, 20, 0.85) 0%, rgba(11, 14, 20, 0.96) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 940px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(58, 103, 216, 0.15);
    border: 1px solid var(--border-accent);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 20px;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 229, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 70px;
    flex-wrap: wrap;
}

/* KPI Stats Grid */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: rgba(24, 32, 48, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 14px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
    opacity: 0;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(24, 32, 48, 0.95);
    border-color: var(--border-accent);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    font-size: 1.6rem;
    color: var(--accent-cyan);
    margin-bottom: 10px;
}

.stat-number {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
}

.stat-plus {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-cyan);
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 4px;
    font-weight: 600;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.lead-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.about-text-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.sectors-breakdown {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 24px 0;
}

.sectors-breakdown h4 {
    font-size: 0.95rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.sector-progress-group {
    margin-bottom: 14px;
}

.sector-progress-group:last-child {
    margin-bottom: 0;
}

.sector-label-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.sector-pct {
    color: var(--accent-cyan);
    font-weight: 700;
}

.progress-bar-bg {
    width: 100%;
    height: 7px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
    border-radius: 4px;
}

.about-cta-box {
    display: flex;
    gap: 14px;
    background: rgba(58, 103, 216, 0.08);
    border-left: 4px solid var(--accent-blue);
    padding: 18px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.quote-icon {
    font-size: 1.4rem;
    color: var(--accent-cyan);
}

.quote-text {
    font-style: italic;
    color: var(--text-primary) !important;
    margin-bottom: 0 !important;
}

.about-image-wrapper {
    position: relative;
}

.about-image-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.about-img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    transition: var(--transition);
}

.about-image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(18, 23, 34, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.about-image-badge i {
    font-size: 1.8rem;
    color: var(--accent-cyan);
}

.about-image-badge strong {
    display: block;
    color: #fff;
    font-size: 0.95rem;
}

.about-image-badge span {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Services & Tabs Section
   ========================================================================== */
.services-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

.services-tabs-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn i {
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
    background: linear-gradient(135deg, var(--bg-card-hover), var(--bg-light-dark));
    color: #fff;
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-sm);
}

.tab-btn:hover i, .tab-btn.active i {
    color: var(--accent-cyan);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-lg);
}

.panel-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: rgba(58, 103, 216, 0.25);
    display: block;
    line-height: 1;
    margin-bottom: 6px;
}

.panel-text h3 {
    font-size: 1.6rem;
    margin-bottom: 14px;
}

.panel-lead {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.feature-checklist {
    margin-bottom: 24px;
}

.feature-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.feature-checklist i {
    color: var(--accent-cyan);
}

.panel-img-box {
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 100%;
    min-height: 260px;
}

.panel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Estimator Calculator Widget
   ========================================================================== */
.estimator-box {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-dark));
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-glow);
}

.estimator-header h3 {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.estimator-header p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.estimator-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
}

.control-group {
    margin-bottom: 20px;
}

.control-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.chip-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.chip-btn {
    padding: 8px 14px;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    touch-action: manipulation;
}

.chip-btn:hover, .chip-btn.active {
    background: var(--accent-blue);
    color: #fff;
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(58, 103, 216, 0.4);
}

.estimator-result-card {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.res-badge {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent-cyan);
    margin-bottom: 14px;
    text-transform: uppercase;
}

.res-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 12px;
}

.res-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.res-item strong {
    font-size: 1.05rem;
}

/* ==========================================================================
   Values Section (Trois Cartes PDF ADME)
   ========================================================================== */
.values-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 34px 24px;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
}

.card-number {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
    position: absolute;
    top: 10px;
    right: 18px;
    line-height: 1;
    pointer-events: none;
    transition: var(--transition);
}

.value-card:hover .card-number {
    color: rgba(0, 229, 255, 0.15);
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-cyan);
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.card-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Devis Section
   ========================================================================== */
.devis-card-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.devis-info h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.devis-info p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 30px;
}

.contact-quick-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quick-item {
    display: flex;
    gap: 14px;
    align-items: center;
}

.quick-item .icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent-cyan);
}

.quick-item strong {
    display: block;
    color: #fff;
    font-size: 0.92rem;
}

.quick-item span {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* Devis Form Box */
.devis-form-box {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-lg);
}

.devis-form-box h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    text-align: center;
    color: var(--text-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(58, 103, 216, 0.3);
}

.form-group select option {
    background: var(--bg-card);
    color: #fff;
}

.error-msg {
    color: var(--color-error);
    font-size: 0.75rem;
    margin-top: 4px;
    display: none;
}

.form-group.has-error input, .form-group.has-error select, .form-group.has-error textarea {
    border-color: var(--color-error);
}

.form-group.has-error .error-msg {
    display: block;
}

.form-success-alert {
    margin-top: 16px;
    padding: 14px;
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.3);
    border-radius: var(--radius-sm);
    color: var(--color-success);
    font-size: 0.88rem;
    display: none;
    align-items: center;
    gap: 10px;
}

.form-success-alert.active {
    display: flex;
}

.form-error-alert {
    margin-top: 16px;
    padding: 14px;
    background: rgba(255, 82, 82, 0.1);
    border: 1px solid rgba(255, 82, 82, 0.3);
    border-radius: var(--radius-sm);
    color: var(--color-error);
    font-size: 0.88rem;
    display: none;
    align-items: center;
    gap: 10px;
}

.form-error-alert.active {
    display: flex;
}

/* File Upload Zone & File List */
.file-upload-group {
    margin-bottom: 20px;
}

.file-dropzone {
    position: relative;
    border: 2px dashed rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-md);
    background: rgba(24, 32, 48, 0.5);
    padding: 22px 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
}

.file-dropzone:hover,
.file-dropzone.dragover {
    border-color: var(--accent-cyan);
    background: rgba(0, 229, 255, 0.06);
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.15);
}

.file-dropzone .file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 5;
}

.dropzone-content {
    pointer-events: none;
}

.dropzone-icon {
    font-size: 1.8rem;
    color: var(--accent-cyan);
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

.file-dropzone:hover .dropzone-icon {
    transform: translateY(-2px);
}

.dropzone-text {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.dropzone-text strong {
    color: var(--accent-cyan);
}

.dropzone-hint {
    display: block;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

@keyframes fadeInFile {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #182030;
    border: 1px solid rgba(0, 229, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.88rem;
    transition: var(--transition);
    animation: fadeInFile 0.2s ease-out;
}

.file-item:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
}

.file-item-info {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.file-item-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.file-item-name {
    color: var(--text-primary);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
}

.file-item-size {
    color: var(--text-muted);
    font-size: 0.76rem;
    flex-shrink: 0;
}

.file-item-remove {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    padding: 4px 8px;
    border-radius: 4px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-item-remove:hover {
    color: var(--color-error);
    background: rgba(255, 82, 82, 0.12);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-accent);
}

.c-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent-cyan);
    margin: 0 auto 16px auto;
}

.contact-card h4 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.contact-link {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding-top: 70px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 50px;
}

.footer-about {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin: 16px 0;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.footer-socials a:hover {
    background: var(--accent-blue);
    color: #fff;
}

.footer-col h4 {
    font-size: 1.05rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 26px;
    height: 2px;
    background: var(--accent-cyan);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a i {
    font-size: 0.68rem;
    color: var(--accent-cyan);
}

.footer-links a:hover {
    color: var(--accent-cyan);
    padding-left: 4px;
}

.footer-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.f-badge {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.f-badge i {
    color: var(--accent-cyan);
}

.footer-bottom {
    background: #080a0e;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-legal a:hover {
    color: var(--accent-cyan);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-blue);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-glow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 900;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    background: var(--accent-cyan);
    color: #000;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .nav-menu, .nav-cta {
        display: none;
    }
    .hamburger-btn {
        display: flex;
    }
    .hero-title {
        font-size: 2.6rem;
    }
    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid, .devis-card-wrapper, .estimator-grid {
        grid-template-columns: 1fr;
    }
    .services-wrapper {
        grid-template-columns: 1fr;
    }
    .panel-grid {
        grid-template-columns: 1fr;
    }
    .values-cards-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    .section-padding {
        padding: 60px 0;
    }
    .hero-section {
        padding-top: 130px;
        min-height: auto;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .hero-stats-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .estimator-box {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    .hero-title {
        font-size: 1.7rem;
    }
    .btn {
        width: 100%;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .panel-grid, .devis-form-box, .search-modal-content {
        padding: 20px;
    }
}

/* Red / PDF Button Style */
.btn-pdf {
    background: linear-gradient(135deg, #e53935 0%, #d32f2f 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.35);
}

.btn-pdf:hover {
    background: linear-gradient(135deg, #f44336 0%, #e53935 100%);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.5);
    transform: translateY(-2px);
    color: #ffffff;
}

/* FAQ Accordion Styling */
.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--border-accent);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    gap: 15px;
}

.faq-icon {
    color: var(--accent-cyan);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
    padding: 0 24px;
    background: rgba(0, 0, 0, 0.15);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 20px 24px;
    transition: max-height 0.35s ease-in-out;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.6;
}

/* Realisations Section Styling */
.realisations-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow-lg);
}

.realisation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.realisation-img-container {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    border: 2px solid var(--border-accent);
}

.realisation-featured-img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.realisation-img-container:hover .realisation-featured-img {
    transform: scale(1.02);
}

.realisation-img-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(11, 14, 20, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.realisation-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.realisation-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 25px 0;
}

.r-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent-blue);
}

.r-icon {
    font-size: 1.4rem;
    color: var(--accent-cyan);
    margin-top: 2px;
}

.r-feature-item strong {
    color: var(--text-primary);
    display: block;
    font-size: 1rem;
}

.r-feature-item p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-top: 2px;
}

@media (max-width: 992px) {
    .realisation-grid {
        grid-template-columns: 1fr;
    }
}


