/* ============================================================
   SHEO TECHNOLOGY — style.css
   © 2026 Sheo Technology — Chafik MOHAMED
   ============================================================ */

/* ----- FONTS ----- */
@font-face {
    font-family: 'DM Sans';
    src: url('fonts/DMSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DM Sans';
    src: url('fonts/DMSans-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'DM Sans';
    src: url('fonts/DMSans-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DM Sans';
    src: url('fonts/DMSans-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ----- CSS VARIABLES ----- */
:root {
    --bg:           #001830;
    --primary:      #004080;
    --secondary:    #0060A0;
    --accent:       #5BB8F5;
    --light:        #C0E0F0;
    --white:        #FFFFFF;
    --card-bg:      rgba(0, 40, 80, 0.65);
    --card-border:  rgba(91, 184, 245, 0.18);
    --text:         #FFFFFF;
    --text-muted:   #C0E0F0;
    --text-dim:     rgba(192, 224, 240, 0.6);
    --font:         'DM Sans', Helvetica, Arial, sans-serif;
    --nav-h:        72px;
    --max-w:        1200px;
    --radius:       8px;
    --radius-lg:    16px;
    --radius-xl:    24px;
    --ease:         cubic-bezier(0.4, 0, 0.2, 1);
    --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow:       0 4px 24px rgba(0, 0, 0, 0.45);
    --shadow-accent:0 8px 40px rgba(91, 184, 245, 0.18);
    --glow:         0 0 24px rgba(91, 184, 245, 0.35);
}

/* ----- RESET ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--white); }
ul, ol { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: var(--font); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

/* ----- LAYOUT ----- */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    line-height: 1.25;
}
.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 680px;
    line-height: 1.7;
}
.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin-left: auto; margin-right: auto; }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ----- NAVIGATION ----- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000; height: var(--nav-h);
    background: rgba(0, 24, 48, 0.93);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(91, 184, 245, 0.13);
    transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
    background: rgba(0, 20, 40, 0.98);
    box-shadow: var(--shadow);
}
.nav-container {
    display: flex; align-items: center;
    justify-content: space-between;
    height: 100%; max-width: var(--max-w);
    margin: 0 auto; padding: 0 1.5rem;
    gap: 1rem;
}
.nav-logo {
    display: flex; align-items: center;
    gap: 0.625rem; text-decoration: none; flex-shrink: 0;
}
.nav-logo img { height: 38px; width: auto; }
.nav-logo-text {
    font-size: 1.1875rem; font-weight: 700;
    color: var(--white); letter-spacing: -0.01em;
    white-space: nowrap;
}
.nav-logo-text span { color: var(--accent); }
.nav-menu {
    display: flex; align-items: center;
    gap: 0.125rem; list-style: none;
}
.nav-menu a {
    display: block; padding: 0.5rem 0.8125rem;
    color: var(--light); font-weight: 500;
    font-size: 0.9375rem; border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
}
.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
    background: rgba(91, 184, 245, 0.1);
}
.nav-cta a {
    background: var(--accent) !important;
    color: var(--bg) !important;
    font-weight: 700 !important;
    padding: 0.5rem 1.125rem !important;
    border-radius: var(--radius) !important;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
}
.nav-cta a:hover {
    background: var(--white) !important;
    color: var(--primary) !important;
    transform: translateY(-1px);
    box-shadow: var(--glow);
}
.nav-hamburger {
    display: none; flex-direction: column;
    justify-content: center; align-items: center;
    gap: 5px; width: 44px; height: 44px;
    cursor: pointer; border-radius: var(--radius);
    transition: background var(--transition); flex-shrink: 0;
}
.nav-hamburger:hover { background: rgba(91, 184, 245, 0.1); }
.nav-hamburger span {
    display: block; width: 24px; height: 2px;
    background: var(--white); border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
    transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- BUTTONS ----- */
.btn {
    display: inline-flex; align-items: center;
    justify-content: center; gap: 0.5rem;
    padding: 0.75rem 1.75rem; font-family: var(--font);
    font-size: 1rem; font-weight: 700;
    border-radius: var(--radius); border: 2px solid transparent;
    cursor: pointer; transition: all var(--transition);
    text-decoration: none; white-space: nowrap; line-height: 1;
}
.btn-primary {
    background: var(--accent);
    color: var(--bg); border-color: var(--accent);
}
.btn-primary:hover {
    background: var(--white); color: var(--primary);
    border-color: var(--white);
    transform: translateY(-2px); box-shadow: var(--glow);
}
.btn-outline {
    background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
    background: var(--white); color: var(--primary);
    border-color: var(--white); transform: translateY(-2px);
}
.btn-secondary {
    background: rgba(0,64,128,0.5); color: var(--white);
    border-color: rgba(91,184,245,0.35);
}
.btn-secondary:hover {
    background: var(--primary); border-color: var(--accent);
    transform: translateY(-2px);
}
.btn:disabled {
    opacity: 0.6; cursor: not-allowed; transform: none !important;
}
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.125rem; }

/* ----- HERO (HOME) ----- */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    padding: calc(var(--nav-h) + 4rem) 0 5rem;
    overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 15% 55%, rgba(0, 64, 128, 0.5) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 20%, rgba(91, 184, 245, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 90%, rgba(0, 96, 160, 0.2) 0%, transparent 50%);
    pointer-events: none;
}
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(91, 184, 245, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(91, 184, 245, 0.035) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 820px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(91, 184, 245, 0.12);
    border: 1px solid rgba(91, 184, 245, 0.28);
    color: var(--accent); padding: 0.375rem 1rem;
    border-radius: 100px; font-size: 0.875rem; font-weight: 500;
    margin-bottom: 1.75rem;
}
.hero-title {
    font-size: clamp(2rem, 5.5vw, 3.75rem);
    font-weight: 700; line-height: 1.18;
    margin-bottom: 1.5rem; color: var(--white);
}
.hero-title .highlight { color: var(--accent); }
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted); margin-bottom: 2.5rem;
    max-width: 640px; line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ----- HERO (INNER PAGES) ----- */
.hero-page {
    position: relative; min-height: 38vh;
    display: flex; align-items: center;
    padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem;
    overflow: hidden;
}
.hero-page::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 25% 60%, rgba(0, 64, 128, 0.35) 0%, transparent 55%);
    pointer-events: none;
}
.hero-page-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(91, 184, 245, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(91, 184, 245, 0.025) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}
.hero-page-content { position: relative; z-index: 1; }
.hero-page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700; margin-bottom: 0.875rem; line-height: 1.2;
}
.hero-page-subtitle {
    font-size: 1.0625rem; color: var(--text-muted);
    max-width: 620px; line-height: 1.7;
}
.breadcrumb {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.875rem; color: var(--text-muted);
    margin-bottom: 1rem;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb-sep { color: var(--text-dim); }

/* ----- CARDS ----- */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg); padding: 2rem;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-accent);
    border-color: rgba(91, 184, 245, 0.38);
}
.card-icon {
    width: 52px; height: 52px;
    background: rgba(91, 184, 245, 0.13);
    border-radius: var(--radius);
    display: flex; align-items: center;
    justify-content: center; margin-bottom: 1.25rem;
    color: var(--accent); flex-shrink: 0;
}
.card-icon svg { width: 26px; height: 26px; }
.card-title {
    font-size: 1.1875rem; font-weight: 700;
    margin-bottom: 0.75rem; color: var(--white);
}
.card-text { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.7; }
.cards-grid { display: grid; gap: 1.5rem; }
.cards-grid-2 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.cards-grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.cards-grid-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.cards-grid-5 { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }

/* Service cards */
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg); padding: 2.25rem;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    display: flex; flex-direction: column; gap: 1.25rem;
    text-decoration: none; color: inherit;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-accent);
    border-color: rgba(91, 184, 245, 0.4);
    color: inherit;
}
.service-card-icon {
    width: 58px; height: 58px;
    background: linear-gradient(135deg, rgba(0,64,128,0.8), rgba(91,184,245,0.2));
    border: 1px solid rgba(91, 184, 245, 0.25);
    border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
}
.service-card-icon svg { width: 28px; height: 28px; }
.service-card-title { font-size: 1.25rem; font-weight: 700; color: var(--white); }
.service-card-desc { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.7; flex: 1; }
.service-card-list { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; }
.service-card-list li {
    display: flex; align-items: center; gap: 0.625rem;
    font-size: 0.875rem; color: var(--light);
}
.service-card-list li svg { color: var(--accent); flex-shrink: 0; }
.service-card-link {
    display: inline-flex; align-items: center; gap: 0.375rem;
    color: var(--accent); font-size: 0.875rem; font-weight: 600;
    margin-top: auto; padding-top: 1rem;
    border-top: 1px solid var(--card-border);
    transition: gap var(--transition);
}
.service-card:hover .service-card-link { gap: 0.625rem; }

/* Formation cards */
.formation-card {
    display: flex; flex-direction: column; gap: 0.875rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg); padding: 1.625rem;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative; overflow: hidden;
}
.formation-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    opacity: 0; transition: opacity var(--transition);
}
.formation-card:hover {
    transform: translateY(-3px); box-shadow: var(--shadow-accent);
    border-color: rgba(91, 184, 245, 0.35);
}
.formation-card:hover::before { opacity: 1; }
.formation-card-head {
    display: flex; justify-content: space-between;
    align-items: flex-start; gap: 0.75rem;
}
.formation-card-title {
    font-size: 1rem; font-weight: 700;
    color: var(--white); flex: 1; line-height: 1.4;
}
.formation-card-price {
    font-size: 1.25rem; font-weight: 700; color: var(--accent);
    white-space: nowrap; flex-shrink: 0;
}
.formation-card-price .ht { font-size: 0.7rem; color: var(--text-muted); font-weight: 400; }
.formation-card-meta {
    display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.meta-chip {
    display: inline-flex; align-items: center; gap: 0.375rem;
    background: rgba(0, 64, 128, 0.4);
    border: 1px solid rgba(91, 184, 245, 0.15);
    padding: 0.25rem 0.625rem;
    border-radius: 100px; font-size: 0.75rem; color: var(--light);
}
.meta-chip svg { width: 12px; height: 12px; color: var(--accent); }
.formation-card-coaching {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.8rem; color: var(--accent);
    background: rgba(91, 184, 245, 0.08);
    border: 1px solid rgba(91, 184, 245, 0.18);
    border-radius: var(--radius); padding: 0.375rem 0.75rem;
}
.formation-card-coaching svg { flex-shrink: 0; }
.formation-card-footer {
    margin-top: auto; padding-top: 0.875rem;
    border-top: 1px solid var(--card-border);
    display: flex; justify-content: flex-end;
}

/* ----- BADGES ----- */
.badge {
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding: 0.25rem 0.75rem; border-radius: 100px;
    font-size: 0.6875rem; font-weight: 700;
    letter-spacing: 0.04em; text-transform: uppercase;
}
.badge-accent {
    background: rgba(91, 184, 245, 0.12);
    color: var(--accent); border: 1px solid rgba(91, 184, 245, 0.28);
}
.badge-urgent {
    background: rgba(255, 90, 40, 0.13);
    color: #FF6032; border: 1px solid rgba(255, 90, 40, 0.32);
    animation: pulse-badge 2.2s ease-in-out infinite;
}
.badge-available {
    background: rgba(40, 200, 90, 0.12);
    color: #28C85A; border: 1px solid rgba(40, 200, 90, 0.3);
}
.badge-dot::before {
    content: ''; display: inline-block;
    width: 6px; height: 6px; border-radius: 50%;
    background: currentColor; flex-shrink: 0;
}
@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 90, 40, 0.25); }
    50% { box-shadow: 0 0 0 5px rgba(255, 90, 40, 0); }
}

/* ----- STATS ----- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1.25rem; text-align: center;
}
.stat-item {
    padding: 2rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    transition: transform var(--transition), border-color var(--transition);
}
.stat-item:hover {
    transform: translateY(-3px);
    border-color: rgba(91, 184, 245, 0.3);
}
.stat-number {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700; color: var(--accent);
    line-height: 1; margin-bottom: 0.5rem;
}
.stat-label {
    font-size: 0.875rem; color: var(--text-muted); font-weight: 500; line-height: 1.4;
}

/* ----- SESSION PROMO ----- */
.session-promo {
    background: linear-gradient(135deg, rgba(0,64,128,0.55), rgba(91,184,245,0.08));
    border: 1px solid rgba(91, 184, 245, 0.28);
    border-radius: var(--radius-xl); padding: 2.5rem;
    display: flex; flex-wrap: wrap;
    justify-content: space-between;
    align-items: center; gap: 2rem;
}
.session-promo-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.875rem; }
.session-promo-title { font-size: 1.625rem; font-weight: 700; margin-bottom: 0.5rem; }
.session-promo-details {
    display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 0.875rem;
}
.session-detail {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.9375rem; color: var(--light);
}
.session-detail svg { color: var(--accent); flex-shrink: 0; width: 16px; height: 16px; }
.session-promo-cta { flex-shrink: 0; }

/* ----- PECB SECTION ----- */
.pecb-section {
    padding: 3rem 0;
    background: rgba(0, 32, 64, 0.45);
    border-top: 1px solid rgba(91, 184, 245, 0.15);
    border-bottom: 1px solid rgba(91, 184, 245, 0.15);
}
.pecb-inner {
    display: flex; flex-wrap: wrap;
    align-items: center; gap: 2.5rem;
    justify-content: space-between;
}
.pecb-logo-block {
    display: flex; align-items: center; gap: 1.25rem;
    background: rgba(91, 184, 245, 0.08);
    border: 2px solid rgba(91, 184, 245, 0.25);
    border-radius: var(--radius-xl); padding: 1.25rem 2rem;
}
.pecb-logo-text {
    font-size: 2.25rem; font-weight: 700;
    color: var(--accent); letter-spacing: 0.06em;
}
.pecb-info h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; }
.pecb-info p { font-size: 0.9375rem; color: var(--text-muted); max-width: 420px; line-height: 1.6; }
.pecb-benefits { display: flex; flex-direction: column; gap: 0.625rem; }
.pecb-benefit {
    display: flex; align-items: center; gap: 0.625rem;
    font-size: 0.9375rem; color: var(--light);
}
.pecb-benefit svg { color: var(--accent); flex-shrink: 0; }

/* ----- TABLE ----- */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border);
}
.data-table {
    width: 100%; border-collapse: collapse; font-size: 0.9375rem;
}
.data-table thead { background: rgba(0, 64, 128, 0.55); }
.data-table th {
    padding: 1rem 1.25rem; text-align: left;
    font-weight: 700; color: var(--accent); white-space: nowrap;
    border-bottom: 1px solid var(--card-border);
}
.data-table tbody tr {
    border-bottom: 1px solid rgba(91, 184, 245, 0.09);
    transition: background var(--transition);
}
.data-table tbody tr:last-child { border-bottom: none; }
.data-table tbody tr:hover { background: rgba(91, 184, 245, 0.04); }
.data-table td {
    padding: 0.875rem 1.25rem; color: var(--text-muted); vertical-align: middle;
}
.data-table td:first-child { color: var(--white); font-weight: 500; }
.data-table td.td-price { color: var(--accent); font-weight: 700; white-space: nowrap; }

/* ----- FILTER BAR ----- */
.filter-bar {
    display: flex; flex-wrap: wrap; gap: 1rem;
    margin-bottom: 1.75rem; align-items: center;
}
.filter-bar label {
    font-size: 0.875rem; font-weight: 600;
    color: var(--text-muted); white-space: nowrap;
}
.filter-select {
    appearance: none; -webkit-appearance: none;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border); color: var(--white);
    padding: 0.6rem 2.5rem 0.6rem 1rem;
    border-radius: var(--radius); font-family: var(--font);
    font-size: 0.9375rem; cursor: pointer;
    transition: border-color var(--transition);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235BB8F5' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}
.filter-select:hover, .filter-select:focus {
    border-color: var(--accent); outline: none;
}
.filter-select option { background: #001830; color: var(--white); }
.filter-reset {
    background: transparent; border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-muted); padding: 0.5rem 1rem;
    border-radius: var(--radius); font-size: 0.875rem;
    cursor: pointer; transition: all var(--transition); font-family: var(--font);
}
.filter-reset:hover { border-color: var(--accent); color: var(--accent); }
.no-results {
    text-align: center; padding: 3rem 1rem;
    color: var(--text-muted); font-size: 1rem;
    display: none;
}

/* ----- FORMS ----- */
.form-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl); padding: 2.5rem;
}
.form-group { margin-bottom: 1.5rem; }
.form-label {
    display: block; font-size: 0.9375rem; font-weight: 500;
    color: var(--light); margin-bottom: 0.5rem;
}
.form-label .req { color: var(--accent); margin-left: 0.2rem; }
.form-control {
    width: 100%;
    background: rgba(0, 20, 45, 0.85);
    border: 1px solid rgba(91, 184, 245, 0.22);
    color: var(--white); padding: 0.75rem 1rem;
    border-radius: var(--radius); font-family: var(--font);
    font-size: 1rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none; -webkit-appearance: none;
}
.form-control:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(91, 184, 245, 0.14);
}
.form-control::placeholder { color: rgba(192, 224, 240, 0.35); }
.form-control.has-error {
    border-color: #FF4444;
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.12);
}
select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235BB8F5' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}
select.form-control option { background: #001830; color: var(--white); }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-error {
    display: none; color: #FF6464;
    font-size: 0.8125rem; margin-top: 0.375rem;
}
.form-error.show { display: block; }
.form-radio-group { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.form-radio {
    display: flex; align-items: center; gap: 0.5rem;
    cursor: pointer; color: var(--text-muted); font-size: 0.9375rem;
    transition: color var(--transition);
}
.form-radio input[type="radio"] {
    width: 18px; height: 18px;
    accent-color: var(--accent); cursor: pointer;
}
.form-radio:hover { color: var(--white); }
.form-check {
    display: flex; align-items: flex-start;
    gap: 0.75rem; cursor: pointer;
}
.form-check input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: var(--accent); cursor: pointer;
    flex-shrink: 0; margin-top: 0.15rem;
}
.form-check-label {
    font-size: 0.875rem; color: var(--text-muted); line-height: 1.6;
}
.form-check-label a { color: var(--accent); text-decoration: underline; }
.honeypot { display: none !important; visibility: hidden !important; position: absolute !important; }
.form-notice {
    background: rgba(91, 184, 245, 0.07);
    border: 1px solid rgba(91, 184, 245, 0.2);
    border-radius: var(--radius); padding: 1rem 1.25rem;
    color: var(--light); font-size: 0.9375rem;
    margin-bottom: 2rem;
    display: flex; gap: 0.75rem; align-items: flex-start;
    line-height: 1.55;
}
.form-notice svg { color: var(--accent); flex-shrink: 0; margin-top: 0.125rem; }
.form-rgpd {
    background: rgba(0, 40, 80, 0.45);
    border: 1px solid rgba(91, 184, 245, 0.13);
    border-radius: var(--radius); padding: 1.125rem 1.25rem;
    font-size: 0.8125rem; color: var(--text-dim);
    line-height: 1.65; margin-top: 1.75rem;
}
.form-rgpd strong { color: var(--light); }
.form-rgpd a { color: var(--accent); text-decoration: underline; }
.char-counter {
    text-align: right; font-size: 0.75rem;
    color: var(--text-dim); margin-top: 0.25rem;
}
.char-counter.warn { color: #FF6432; }
.form-success {
    display: none; text-align: center; padding: 3.5rem 1.5rem;
}
.form-success.show { display: block; }
.success-icon {
    width: 76px; height: 76px;
    background: rgba(40, 200, 90, 0.13);
    border: 2px solid rgba(40, 200, 90, 0.3);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem; color: #28C85A;
}
.success-icon svg { width: 36px; height: 36px; }
.form-success h3 { font-size: 1.625rem; margin-bottom: 0.875rem; }
.form-success p { color: var(--text-muted); font-size: 1rem; max-width: 480px; margin: 0 auto; line-height: 1.7; }
.form-global-error {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    color: #FF8080; padding: 0.875rem 1.125rem;
    border-radius: var(--radius); font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

/* ----- FAQ ----- */
.faq-list { display: flex; flex-direction: column; gap: 0.875rem; }
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg); overflow: hidden;
}
.faq-question {
    width: 100%; display: flex; justify-content: space-between;
    align-items: center; padding: 1.25rem 1.5rem;
    font-size: 1rem; font-weight: 600; color: var(--white);
    text-align: left; background: none; border: none;
    cursor: pointer; gap: 1rem; transition: background var(--transition);
    font-family: var(--font);
}
.faq-question:hover { background: rgba(91, 184, 245, 0.05); }
.faq-icon { flex-shrink: 0; color: var(--accent); transition: transform var(--transition); }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease; padding: 0 1.5rem;
}
.faq-item.open .faq-answer { max-height: 600px; padding-bottom: 1.5rem; }
.faq-answer p { color: var(--text-muted); line-height: 1.75; }
.faq-answer p + p { margin-top: 0.75rem; }

/* ----- DOMAIN SECTION ----- */
.domain-section { margin-bottom: 3.5rem; }
.domain-header {
    display: flex; align-items: center; gap: 0.875rem;
    margin-bottom: 1.625rem; padding-bottom: 0.875rem;
    border-bottom: 2px solid rgba(91, 184, 245, 0.25);
}
.domain-icon {
    width: 44px; height: 44px;
    background: rgba(91, 184, 245, 0.12);
    border-radius: var(--radius); display: flex;
    align-items: center; justify-content: center; color: var(--accent);
    flex-shrink: 0;
}
.domain-icon svg { width: 22px; height: 22px; }
.domain-title { font-size: 1.375rem; font-weight: 700; color: var(--white); }
.domain-desc { font-size: 0.875rem; color: var(--text-muted); margin-top: 0.125rem; }

/* ----- CONTACT ----- */
.contact-layout { display: grid; grid-template-columns: 340px 1fr; gap: 3rem; align-items: start; }
.contact-info-card {
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: var(--radius-xl); padding: 2rem;
    position: sticky; top: calc(var(--nav-h) + 1.5rem);
}
.contact-info-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem; }
.contact-info-item {
    display: flex; align-items: flex-start; gap: 0.875rem;
    padding: 1rem 0; border-bottom: 1px solid var(--card-border);
}
.contact-info-item:last-of-type { border-bottom: none; }
.cii-icon {
    width: 38px; height: 38px;
    background: rgba(91, 184, 245, 0.1);
    border-radius: var(--radius); display: flex;
    align-items: center; justify-content: center;
    color: var(--accent); flex-shrink: 0;
}
.cii-icon svg { width: 18px; height: 18px; }
.cii-label {
    font-size: 0.75rem; font-weight: 700;
    color: var(--text-muted); text-transform: uppercase;
    letter-spacing: 0.06em; margin-bottom: 0.25rem;
}
.cii-value { color: var(--white); font-size: 0.9375rem; line-height: 1.5; }
.cii-value a { color: var(--white); }
.cii-value a:hover { color: var(--accent); }
.contact-linkedin {
    display: inline-flex; align-items: center; gap: 0.625rem;
    margin-top: 1.5rem; padding: 0.75rem 1.25rem;
    background: rgba(10, 102, 194, 0.15);
    border: 1px solid rgba(10, 102, 194, 0.35);
    border-radius: var(--radius); color: #4FC3F7;
    font-weight: 500; font-size: 0.875rem;
    transition: background var(--transition), color var(--transition);
    width: 100%;
}
.contact-linkedin:hover { background: rgba(10, 102, 194, 0.35); color: var(--white); }
.contact-linkedin svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ----- ABOUT PAGE ----- */
.about-layout { display: grid; grid-template-columns: 300px 1fr; gap: 4rem; align-items: start; }
.about-sidebar { position: sticky; top: calc(var(--nav-h) + 2rem); }
.about-avatar {
    width: 100%; max-width: 280px; aspect-ratio: 1;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--primary) 0%, rgba(91,184,245,0.3) 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 4.5rem; font-weight: 700; color: var(--accent);
    margin-bottom: 1.5rem;
    border: 2px solid rgba(91, 184, 245, 0.2);
    letter-spacing: -0.02em;
}
.about-name { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.25rem; }
.about-role { color: var(--accent); font-weight: 500; margin-bottom: 0.5rem; font-size: 1rem; }
.about-location { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 1.5rem; }
.about-content h2 {
    font-size: 1.5rem; font-weight: 700;
    margin-bottom: 1rem; color: var(--white);
    padding-bottom: 0.625rem;
    border-bottom: 2px solid rgba(91, 184, 245, 0.2);
}
.about-content h2:not(:first-child) { margin-top: 2.5rem; }
.about-content p { color: var(--text-muted); line-height: 1.75; margin-bottom: 1rem; font-size: 1rem; }
.about-content p:last-child { margin-bottom: 0; }
.skills-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.skill-tag {
    background: rgba(91, 184, 245, 0.09);
    border: 1px solid rgba(91, 184, 245, 0.22);
    color: var(--light); padding: 0.375rem 0.875rem;
    border-radius: 100px; font-size: 0.8125rem; font-weight: 500;
    transition: all var(--transition); cursor: default;
}
.skill-tag:hover { background: rgba(91, 184, 245, 0.2); color: var(--white); }
.cert-list { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1rem; }
.cert-item {
    display: flex; align-items: center; gap: 0.875rem;
    padding: 0.875rem 1.25rem;
    background: rgba(0, 64, 128, 0.3);
    border: 1px solid var(--card-border);
    border-radius: var(--radius); color: var(--light); font-size: 0.9375rem;
}
.cert-item svg { color: var(--accent); flex-shrink: 0; }
.territory-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem; margin-top: 1rem;
}
.territory-card {
    background: rgba(0, 64, 128, 0.25);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg); padding: 1.25rem;
    text-align: center;
}
.territory-name { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.territory-desc { font-size: 0.8125rem; color: var(--text-muted); }

/* ----- LEGAL PAGES ----- */
.legal-wrap { max-width: 860px; margin: 0 auto; }
.legal-wrap h2 {
    font-size: 1.4rem; font-weight: 700; color: var(--white);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid rgba(91, 184, 245, 0.18);
}
.legal-wrap h2:first-child { margin-top: 0; }
.legal-wrap h3 { font-size: 1.125rem; font-weight: 600; color: var(--light); margin: 1.5rem 0 0.75rem; }
.legal-wrap p { color: var(--text-muted); margin-bottom: 0.875rem; line-height: 1.75; }
.legal-wrap ul { list-style: disc; padding-left: 1.5rem; color: var(--text-muted); margin-bottom: 1rem; }
.legal-wrap ul li { margin-bottom: 0.5rem; line-height: 1.6; }
.legal-wrap a { color: var(--accent); text-decoration: underline; }
.legal-wrap strong { color: var(--white); }
.legal-table-wrap { overflow-x: auto; margin: 1.5rem 0; border-radius: var(--radius); border: 1px solid var(--card-border); }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.legal-table th {
    background: rgba(0, 64, 128, 0.4); padding: 0.875rem 1rem;
    text-align: left; color: var(--accent); font-weight: 700;
    border-bottom: 1px solid var(--card-border);
}
.legal-table td {
    padding: 0.875rem 1rem; color: var(--text-muted);
    border-bottom: 1px solid rgba(91, 184, 245, 0.07); vertical-align: top;
}
.legal-table tr:last-child td { border-bottom: none; }
.legal-table tr:nth-child(even) td { background: rgba(0, 32, 64, 0.25); }

/* ----- FOOTER ----- */
.site-footer {
    background: rgba(0, 12, 28, 0.97);
    border-top: 1px solid rgba(91, 184, 245, 0.13);
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr;
    gap: 3rem; padding-bottom: 3rem;
    border-bottom: 1px solid rgba(91, 184, 245, 0.1);
    margin-bottom: 2rem;
}
.footer-brand-logo {
    display: flex; align-items: center; gap: 0.625rem;
    margin-bottom: 0.875rem; text-decoration: none;
}
.footer-brand-logo img { height: 38px; width: auto; }
.footer-brand-name {
    font-size: 1.1875rem; font-weight: 700; color: var(--white);
}
.footer-slogan { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.65; margin-bottom: 1.5rem; }
.footer-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(91, 184, 245, 0.09);
    border: 1px solid rgba(91, 184, 245, 0.22);
    color: var(--accent); padding: 0.375rem 0.875rem;
    border-radius: var(--radius); font-size: 0.8125rem; font-weight: 600;
    margin-bottom: 0.75rem;
}
.footer-nda { font-size: 0.8125rem; color: var(--text-dim); line-height: 1.6; }
.footer-col h3 {
    font-size: 0.8125rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.07em; color: var(--light); margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col ul li a {
    color: var(--text-muted); font-size: 0.9375rem;
    transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-col address { font-style: normal; }
.footer-col address p, .footer-col address a {
    color: var(--text-muted); font-size: 0.9375rem; line-height: 1.55;
}
.footer-col address a:hover { color: var(--accent); }
.footer-linkedin {
    display: inline-flex; align-items: center; gap: 0.5rem;
    margin-top: 1.25rem; color: var(--text-muted);
    font-size: 0.875rem; transition: color var(--transition);
}
.footer-linkedin:hover { color: var(--accent); }
.footer-bottom {
    display: flex; flex-wrap: wrap;
    justify-content: space-between;
    align-items: center; gap: 1rem;
}
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal a {
    color: var(--text-muted); font-size: 0.875rem;
    transition: color var(--transition);
}
.footer-legal a:hover { color: var(--accent); }
.footer-copyright { font-size: 0.8125rem; color: var(--text-dim); }

/* ----- COOKIE BANNER ----- */
.cookie-banner {
    position: fixed; bottom: 1.5rem; left: 50%;
    transform: translateX(-50%); z-index: 9999;
    background: rgba(0, 28, 56, 0.97);
    border: 1px solid rgba(91, 184, 245, 0.28);
    border-radius: var(--radius-lg); box-shadow: var(--shadow);
    padding: 1.25rem 1.5rem; max-width: 720px;
    width: calc(100% - 2rem);
    display: flex; flex-wrap: wrap; gap: 1rem;
    align-items: center; justify-content: space-between;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.cookie-banner.hidden {
    opacity: 0; transform: translateX(-50%) translateY(1.5rem);
    pointer-events: none;
}
.cookie-text {
    flex: 1; min-width: 200px;
    font-size: 0.875rem; color: var(--text-muted); line-height: 1.55;
}
.cookie-text strong { color: var(--white); }
.cookie-text a { color: var(--accent); text-decoration: underline; }
.cookie-btns { display: flex; gap: 0.625rem; flex-wrap: wrap; align-items: center; }
.cookie-btn {
    padding: 0.5rem 1.125rem; border-radius: var(--radius);
    font-size: 0.875rem; font-weight: 600;
    cursor: pointer; font-family: var(--font);
    border: 1px solid transparent; transition: all var(--transition);
}
.cookie-btn-accept {
    background: var(--accent); color: var(--bg); border-color: var(--accent);
}
.cookie-btn-accept:hover { background: var(--white); border-color: var(--white); color: var(--primary); }
.cookie-btn-refuse {
    background: transparent; color: var(--white); border-color: rgba(255,255,255,0.3);
}
.cookie-btn-refuse:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }
.cookie-btn-more {
    background: transparent; color: var(--text-muted);
    border-color: transparent; font-size: 0.8125rem;
    text-decoration: underline; padding: 0.5rem 0.375rem;
}
.cookie-btn-more:hover { color: var(--accent); }

/* ----- SCROLL ANIMATIONS ----- */
.fade-in {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fd-1 { transition-delay: 0.08s; }
.fd-2 { transition-delay: 0.16s; }
.fd-3 { transition-delay: 0.24s; }
.fd-4 { transition-delay: 0.32s; }
.fd-5 { transition-delay: 0.40s; }
.fd-6 { transition-delay: 0.48s; }

/* ----- DIVIDER ----- */
.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(91, 184, 245, 0.28), transparent);
    margin: 0;
}

/* ----- MISC UTILITIES ----- */
.mb-0 { margin-bottom: 0 !important; }
.mt-lg { margin-top: 2rem; }
.alert-info {
    background: rgba(91, 184, 245, 0.07);
    border: 1px solid rgba(91, 184, 245, 0.2);
    color: var(--light); padding: 1rem 1.25rem;
    border-radius: var(--radius); font-size: 0.9375rem;
    display: flex; align-items: flex-start; gap: 0.75rem; line-height: 1.55;
}
.alert-info svg { color: var(--accent); flex-shrink: 0; margin-top: 0.1rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .contact-layout { grid-template-columns: 1fr; }
    .contact-info-card { position: static; }
    .about-layout { grid-template-columns: 1fr; }
    .about-sidebar { position: static; }
    .about-avatar { max-width: 200px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: span 2; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed; top: var(--nav-h);
        left: 0; right: 0;
        background: rgba(0, 18, 38, 0.98);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        flex-direction: column; align-items: stretch;
        padding: 1rem 1.25rem 2rem; gap: 0.125rem;
        border-bottom: 1px solid rgba(91, 184, 245, 0.18);
        transform: translateY(-105%); opacity: 0;
        pointer-events: none;
        transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
        z-index: 998;
    }
    .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .nav-menu a { padding: 0.875rem 1rem; font-size: 1.0625rem; }
    .nav-cta { margin-top: 0.5rem; }
    .nav-cta a { text-align: center; padding: 0.875rem !important; width: 100%; display: block; }
    .nav-hamburger { display: flex; }

    .hero { min-height: 85vh; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-actions { flex-direction: column; }

    .form-row { grid-template-columns: 1fr; gap: 0; }
    .form-row .form-group { margin-bottom: 1.5rem; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > :first-child { grid-column: span 1; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-legal { justify-content: center; }

    .session-promo { flex-direction: column; }
    .session-promo-cta .btn { width: 100%; justify-content: center; }

    .stats-grid { grid-template-columns: 1fr 1fr; }
    .pecb-inner { flex-direction: column; }
    .pecb-logo-block { width: 100%; justify-content: center; }

    .contact-layout { gap: 2rem; }
    .about-layout { gap: 2rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .section { padding: 3rem 0; }
    .form-wrapper { padding: 1.5rem; }
    .card { padding: 1.5rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 0.875rem; }
    .stat-item { padding: 1.5rem 0.75rem; }
    .hero-title { font-size: 1.875rem; }
    .hero-page-title { font-size: 1.875rem; }
    .data-table { font-size: 0.8125rem; }
    .data-table th, .data-table td { padding: 0.75rem 0.875rem; }
    .cookie-banner { bottom: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; width: 100%; left: 0; transform: none; }
    .cookie-banner.hidden { transform: translateY(100%); opacity: 0; }
    .formation-card { padding: 1.25rem; }
    .service-card { padding: 1.5rem; }
}
